Since you're using Linux, try a symbolic link (ln -s /usr/share/java/ant.jar $ANT_HOME/lib/ant.jar )?

-- Mark C. Allman
-- Allman Professional Consulting, Inc.
--, 617-947-4263

BusinessMsg -- the secure, managed, 100% J2EE Enterprise IM plug-in solution.

On Thu, 2005-10-27 at 18:46 +0800, Manuel Mall wrote:
I am having trouble automating an error free build of the javadocs 
target in our build.xml. The problem is that I am using a RPM install 
for ant (obviously I am talking Linux here). This places the ant.jar 
file not into ${ant.home}/lib but into /usr/share/java. This means the 
<pathelement location="${env.ANT_HOME}/lib/ant.jar"/> line in build.xml 
will not find the ant.jar file.

Obviously ant.jar will be in the classpath as we are running ant at the 
time. Any ideas how to get the ant.jar location from the ant invocation 
classpath into the pathelement above?



Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to