[m-rev.] for review: ssdebug grade changes

Peter Wang novalazy at gmail.com
Fri May 14 17:04:52 AEST 2010


On 2010-05-14, Peter Wang <novalazy at gmail.com> wrote:
> +    % NOTE: changes here may require changes to get_mercury_std_libs.
> +get_mercury_std_libs_for_java(Globals, !:StdLibs) :-
> +    !:StdLibs = [],
> +    globals.lookup_maybe_string_option(Globals,
> +        mercury_standard_library_directory, MaybeStdlibDir),
> +    (
> +        MaybeStdlibDir = yes(StdLibDir),
> +        grade_directory_component(Globals, GradeDir),
> +        % Source-to-source debugging libraries.
> +        globals.lookup_bool_option(Globals, source_to_source_debug,
> +            SourceDebug),
> +        (
> +            SourceDebug = yes,
> +            list.cons(StdLibDir/"lib"/GradeDir/"mer_ssdb.jar", !StdLibs),
> +            list.cons(StdLibDir/"lib"/GradeDir/"mer_mdbcomp.jar", !StdLibs)
> +        ;

mer_browser.jar is required as well.

Peter
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list