From: Doni Pracner Date: Sat, 15 Feb 2014 15:00:33 +0000 (+0100) Subject: ant - updates to use the jar for the MJ compiler. The compiler.class.dir can still... X-Git-Tag: v0.1.5a~2 X-Git-Url: https://svarog.pmf.uns.ac.rs/gitweb/?a=commitdiff_plain;h=5de2ecbf1f577332acba6313d8afeec1cec822f8;p=mjc2wsl.git ant - updates to use the jar for the MJ compiler. The compiler.class.dir can still be used to override it --- diff --git a/build.xml b/build.xml index 7fb3ee4..eaeef45 100644 --- a/build.xml +++ b/build.xml @@ -20,6 +20,7 @@ + @@ -123,12 +124,12 @@ - + - + @@ -140,12 +141,12 @@ - + - + @@ -159,7 +160,7 @@ - + diff --git a/docs/running-ant.txt b/docs/running-ant.txt index 03c399d..2380404 100644 --- a/docs/running-ant.txt +++ b/docs/running-ant.txt @@ -4,7 +4,7 @@ Running the ant tasks This project supplies an ant build file. When used without parameters it will -- build the main tool, mjc2wsl, as well as the MicroJava compiler +- build the main tool, mjc2wsl - compile all the given MicroJava samples in a temp folder - translated these to WSL - run a transformation script for all of these files @@ -42,7 +42,10 @@ mjc2wsl - runs the tool on all obj files in "samples.temp.dir" MicroJava tasks --------------- -These tasks use "compiler.class.dir" +These tasks use "compiler.class.jar" to get the classes, +but will also look first into "compiler.class.dir" if there +is any override. + mj-decode - decode the bytecode given in "filename" into operation names and parameteres (uses