ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "West, Mike" <>
Subject <property> problem with ANT 1.5 on Windows 2000
Date Fri, 19 Jul 2002 19:12:08 GMT
Fairly new to ANT and I have the following line in my build.xml file:
<property name="src"

Note that I'm pointing to a network drive I've assigned z: to.

My target looks like:
<target name="compile"><javac destdir="." srcdir="$(src)"/></target>

I run ant from a directory (C:\myprojdir) on my C: drive I get:
file:c:/myprojdir/build.xml:5: srcdir "C:\myprojdir\$(src)" does not exist!

Changing my target to say srcdir="/$(src)" gets almost the same thing:
file:c:/myprojdir/build.xml:5: srcdir "C:\$(src)" does not exist!

So I'm getting either my c:\ or my project directory prepended. However
hardcoding the z: location in the target srcdir parameter works just fine.

Any help here? Thanks.

Mike West

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

View raw message