Gotta be a simple thing - I'm just not hitting the right verbage to find a relevant entry in the archives:

I've got a build.properties in the same directory as build.xml:
<property name="mail.jar" value="/home/jblow/java/javamail/javamail-1.3/mail.jar"/>
<property name="activation.jar" value="/home/jblow/java/javamail/jaf-1.0.2/activation.jar"/>
<property name="mysql-jdbc.jar" value="/home/jblow/java//mysql-jdbc/com.mysql.jdbc-3.0.jar"/>
<property name="catalina.home" value="/home/jblow/tomcat5"/>


I've got the default TC5 ant build.xml which I've modified a bit, but it still does the following prior to using any properties:
<property file="build.properties"/>
<property file="${user.home}/build.properties"/>


And the first 3 properties are used within the build.xml correctly. If I do an echo on ${catalina.home} it just responds "${catalina.home}" - unset. If I add:
<property name="catalina.home" value="/home/jblow/tomcat5"/>
to the build.xml file itself the echo reports /home/jblow/tomcat5 and success.


Thanks in advance,
   JW

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to