--- "Webb, James" <[EMAIL PROTECTED]> wrote:
> In my testing I have tried to use multiple properties from the file
> in these tasks to rule out the possibility of a parsing error
> or something like that in one of the name/value pairs.
> Anyway, none of the properties from the file are set
> when I try to use them within a task.

Can you try this simple test:

File test.properties:
weblogic.webapp.name=myapp

File test.xml:
<?xml version="1.0"?>
<project name="test" default="showprop" basedir=".">
  <target name="showprop">
    <property file="test.properties"/>
    <echo message="weblogic.webapp.name = ${weblogic.webapp.name}"/>
  </target>
</project>

[BINKY:dianeh]: ant -f test.xml
Buildfile: test.xml

showprop:
     [echo] weblogic.webapp.name = myapp

BUILD SUCCESSFUL
Total time: 0 seconds

Diane

=====
([EMAIL PROTECTED])



__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

Reply via email to