You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Jonathan Wilson <jn...@dallas.photronics.com> on 2004/10/20 21:26:02 UTC

Property is set in build.properties(along with others) but catalina.home isn't set within main script

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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org