From 5de2ecbf1f577332acba6313d8afeec1cec822f8 Mon Sep 17 00:00:00 2001 From: Doni Pracner Date: Sat, 15 Feb 2014 16:00:33 +0100 Subject: [PATCH] ant - updates to use the jar for the MJ compiler. The compiler.class.dir can still be used to override it --- build.xml | 11 ++++++----- docs/running-ant.txt | 7 +++++-- 2 files changed, 11 insertions(+), 7 deletions(-) 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 -- 2.17.1