ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Milind Nirgun" <>
Subject RE: Need help with javadoc task
Date Wed, 24 Jul 2002 16:51:15 GMT
> from superclasses).  My problems seem to be (1) that
> ${JAVA_HOME} seems to disappear from the environment
> once in Ant.  ${java.home} is no good, because it
> contains the equivalent of ${JAVA_HOME}/jre . 

Use ${env.JAVA_HOME}. Make sure you have set 
<property environment="env" /> before you do this.

> even if ${JAVA_HOME} were not being removed from the
> environment, on Windows it contains a colon which will
> not work with sourcepath.  

Use the <pathconvert> task to do anything with paths.

Hope that solves your problem.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message