ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Atluri, Vamsi NYC" <>
Subject RE: ANT Capability
Date Thu, 28 Feb 2002 22:26:29 GMT

You are the greatest - 

I dont think Ant needa drive letters - It assumes the OS so a variable
defined as \var1 would resolve to d:\var1

and a variable defined as var1(no backslash) would take up the value of the
current directory eg. d:\vamsi\var1 

please correct me if i am wrong

In anycase

Thank you, You rock

-----Original Message-----
From: Diane Holt []
Sent: Thursday, February 28, 2002 4:05 PM
To: Ant Users List
Subject: RE: ANT Capability

--- "Atluri, Vamsi                NYC" <> wrote:
> Ive tried the following and yet - I am not getting the correct results
> <property name="cfnSrc" value="\cfn\core\citco\java\com" />
> <property name="buildCfn" value="\build\cfn" />
> <property name="JList" value="d:\scripts\cfn" />

Those first two property values look wrong -- where's the drive letter?
Also, get rid of the "com" element -- the 'srcdir' value for <javac>
should point -up to- but not including the path where your package
hierarchy begins.

The <javac> task simply didn't find any files that matched, and the above
bad values are most likely why. However, if your bean.txt file lists file
names relative to your 'srcdir' having included the "com" directory
element, then you're going to have to edit it to prepend the file names
with com/, once you fix "cfnSrc", so they're pointing to the right place.
In other words, if your bean.txt file currently has something like:


it should be:


(Side note: Note that I always foreslashes, since they're far easier for
me to type and make things easier for me to read -- Ant will change them
to backslashes for you when you're running the build on a Windows box.)



Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!

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

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

View raw message