logo       

Re: Re[2]: Xerces 1 use in XMLC: msg#00024

java.enhydra.xmlc

Subject: Re: Re[2]: Xerces 1 use in XMLC

On Thursday 24 October 2002 17:57, Enrico Brunetta wrote:
> Hello Richard,
>
> I tested on linux with jdk 1.4.1 and jikes 1.5.1 . Everything works
> fine.

Great.

> When I try without jikes (I ran 'ant clean', then moved away the jikes
> binary and typed 'ant tests') I get:

[ ... error message deleted ... ]

You did a bit too much there - its's not necessary to recompile everything to
test with jikes or javac. It's enough to simply tell the test suite which
compiler it should use for compiling the XMLc generated classes :-)

You can specify this explicitly by setting the "test.javac" property for the
xmlc/modules/xmlc/build.xml script (either on the command line, or in
xmlc/modules/xmlc/build.properties if you want to make it permanent). Legal
values for "test.javac" are the same as for the "-javac" option to XMLC.

If "test.javac" is not set, the "tests" target in the build script
automatically figures out if jikes is on the path and uses either jikes (if
it is available) or javac.

> I think something is hardcoded in the tests to look for jikes to compile
> them... and since jikes is not there the build fails before it gets to
> run them....

I'll look into it, but normally the scripts should honor the "build.compiler"
settings....

Bye,

Richard
--
Richard Kunze

[ t]ivano Software, Bahnhofstr. 18, 63263 Neu-Isenburg
Tel.: +49 6102 80 99 07 - 0, Fax.: +49 6102 80 99 07 - 1
http://www.tivano.de, kunze@xxxxxxxxx


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise