A couple things.
- Use the "location" attribute for the task so it will do path
resolution and path character conversion for you.
- Review the docs for , it drops the last path element, which is
why your "pwd" variable was set one level up. I don't think this is what
you want. For this same re
n the future.
Thanks,
Donald Holliday
-Original Message-
From: Matt Benson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 3:07 PM
To: Ant Users List
Subject: Re: Don't how ant interacts with directories
Q/A:
1. The value of the "basedir" attribute of
Q/A:
1. The value of the "basedir" attribute of
was
D:\Local\AntExps\directoryExp\build. The value of
${user.dir} was
D:\Local\AntExps\directoryExp\build. So how can the
value of ${pwd} be
D:\Local\AntExps\directoryExp which is one level up
from the directory
where
I ran ant?
A: You have
I am having difficulty getting ant 1.5.1 to look in the correct directories
for source and put classes and jars in the right place.
I work in a large IT shop and this is the latest version of ant that we
have, so please don't tell me to upgrade to 1.6.2. I would take months. I
suspect this is