[kaffe] problems with kaffe-1.1.2 + ant-1.5.4

Juan Antonio Martinez jantonio@dit.upm.es
Fri Oct 31 02:10:02 2003


--=-VtN76Ffh6+fs/I2piQPy
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable

El jue, 30-10-2003 a las 18:45, Dalibor Topic escribi=F3:
> Hola Juan,

[...]

> BTW, you can also use build.compiler=3Dkjc to load kjc in the same VM=20
> where ant is running, if you expect performance gains from that.

Thanks: build.compiler=3Dkjc works fine

[...]

> You should give us the invocation line of kjc, too.=20
> Probably ant messes up an option for kjc, and doesn't=20
> use the proper option to call it.=20
> That's an issue that using build.compiler=3Dkjc should solve.

By echoing call to javac I obtain:
.............................

 [javac] javac called as:
/opt/usr/java/kaffe-1.1.2/bin/javac -d
/home/jantonio/public_html/work/test/build -classpath
/home/jantonio/public_html/work/test/build:/opt/usr/java/junit3.8.1/junit.j=
ar:/opt/usr/java/junit3.8.1/junit/tests/runner/test.jar:/home/jantonio:/hom=
e/jantonio/public_html/work/test:/opt/usr/java/apache-ant-1.5.4/lib/xml-api=
s.jar:/opt/usr/java/apache-ant-1.5.4/lib/xercesImpl.jar:/opt/usr/java/apach=
e-ant-1.5.4/lib/optional.jar:/opt/usr/java/apache-ant-1.5.4/lib/ant.jar:/ -=
sourcepath /home/jantonio/public_html/work/test/src -g:none -verbose /home/=
jantonio/public_html/work/test/src/test/Alumno.java /home/jantonio/public_h=
tml/work/test/src/test/Cuenta.java
 [javac] Kjc: invalid option -- :
=20
BUILD FAILED
file:/home/jantonio/public_html/work/test/build.xml:33: Compile failed;
see the
compiler error output for details.

...................

This is correct, so I suspect that something fails when forking=20
ant to a new process to call the compiler. I'll try to investigate
deeper, Anyway I solved my problem :-)

Thanks a lot

--=20
Juan Antonio Martinez <jantonio@dit.upm.es>
Dpto Ingenieria Telematica

--=-VtN76Ffh6+fs/I2piQPy
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada
	digitalmente

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQA/ojPH91t204u+Bn4RAlp+AJ4k40/O0qEWVoAHJd0LXmQ5/en/4QCdG+Yi
hQboPr5gffS6tu7v6jWe7ZE=
=kNlA
-----END PGP SIGNATURE-----

--=-VtN76Ffh6+fs/I2piQPy--