ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "R. K." <>
Subject Re: Compiling with jdk1.2.2 (Linux)
Date Thu, 22 Jun 2000 10:44:54 GMT
Is the simple answer to this that ant will
only compile under JDK1.1.8 and not under JDK1.2.2?

That would explain why cites,
which is obsoleted in 1.2.2.

Any expert here?


----Original Message Follows----
From: Dennis Gray <>
Subject: Re: Compiling with jdk1.2.2 (Linux)
Date: Thu, 22 Jun 2000 20:50:20 +1000

Thanks, Peter. I tried all of your suggestions but no luck.

 > Very odd problem. Not sure exactly what the problem is but heres a few
 > things to try
 > * make sure you have write permission to directory and all files

This is exactly the same source that compiled okay on the Solaris box. 
changed except the JDK version.

 > * make sure you move $HOME/.antrc while bootstrapping (just in case you 
 > odd settings there)

This never got created. I suppose it turns up once the compile is successful
but I never got that far.

 > * make sure you run script from the base ant directory


 > * make sure you include the required parser files in your classpath
 > (xerces.jar)

Where is this supposed to be? I don't find it anywhere on my system.

 > * make sure you never changed build.xml

Never touched it.

 > Sorry if these sound simplistic but I can't think of anything that would
 > cause this errors :P

The difference I do find is the lack of the file in the 
Someone suggested that I configure the ant build to use jdk1.2.2 but I don't
see where to do that. I did compile on the Solaris box with 1.1.8, I 
believe. I
can confirm that tomorrow but I know we are not running Java2 on that 

Thanks for your help.


Get Your Private, Free E-mail from MSN Hotmail at

View raw message