Launching ant with gij

Arnaud Vandyck arnaud.vandyck@ulg.ac.be
Wed Mar 17 00:04:00 GMT 2004


Hi!

I'm having troubles with launching ant with gij. Did someone already do
it?

I got this:

arnaud@oz:~/prj/antgcj$ gij --classpath /usr/share/java/ant-1.5.jar\
 org.apache.tools.ant.Main -Dant.home=/usr/share/ant1.5
Buildfile: build.xml

BUILD FAILED
Unable to load default ProjectHelper due to java.lang.VerifyError:
 verification failed at PC 262 in 
 org.apache.tools.ant.helper.ProjectHelperImpl:parse(
 (Lorg.apache.tools.ant.Project;Ljava.lang.Object;)V):
 incompatible type on stack

Total time: 1 second

and with ant-1.6:

arnaud@oz:~/prj/antgcj$ gij --classpath /usr/share/java/ant-1.6.jar:\
 /usr/share/ant1.6/lib/ant-launcher.jar:/usr/share/java/jaxp-1.2.jar \
 org.apache.tools.ant.launch.Launcher -Dant.home=/usr/share/ant1.6
Unable to locate tools.jar. Expected to find it in /usr/local/lib/tools.jar
Buildfile: build.xml

BUILD FAILED
Unable to load default ProjectHelper due to java.lang.VerifyError:
 verification failed at PC 284 in
 org.apache.tools.ant.helper.ProjectHelper2:parse(
 (Lorg.apache.tools.ant.Project;Ljava.lang.Object;
  Lorg.apache.tools.ant.helper.ProjectHelper2$RootHandler;)V):
 incompatible type on stack

Total time: 0 seconds

Thanks for any pointer,

-- 
~/.signature not found

... but hey, this is Linux, isn't it meant to do infinite loops in 5
seconds?
		-- Jonathan Oxer in the apt-cacher ChangeLog



More information about the Java mailing list