[m-rev.] for post-commit review: generate batch file launchers for the java grade on Windows

Peter Wang novalazy at gmail.com
Tue Jan 4 13:55:28 AEDT 2011


On 2011-01-04, Julien Fischer <juliensf at csse.unimelb.edu.au> wrote:
> +
> +    list.foldl(io.write_string(Stream), [
> +        "@echo off\n",
> +        "rem Automatically generated by the Mercury compiler.\n",
> +        "setlocal\n",
> +        "set DIR=$~dp0\n",

Should that be %~dp0?

> @@ -909,6 +964,12 @@
>          " -s init stop -extra ""$@""\n"
>      ], !IO).
> 
> +:- pred write_erlang_batch_file(globals::in, module_name::in,
> +    io.text_output_stream::in, io::di, io::uo) is det.
> +
> +write_erlang_batch_file(_Globals, _MainModuleName, _Stream, _, _) :-
> +    sorry($pred, "Batch file lanuchers NYI for Erlang graade.").

launchers

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