Hi,
I have a path like the following:
and I want to add in there some logic like this:
if ${env.BOB_HOME} exists do the stuff below
Thanks, Jason
-
To unsubscribe, e-mail
Try setting your classpath to nothing
set classpath=
Unless you have certain necessary classpath entries.
I had this problem when quicktime created a classpath entry to a file
that did not exist. Make sure that if the classpath is set in the system
control panel all entries exist.
-Philip
-Or
It's a little bit convoluted, but the below works...
Can or a Path reference. --DD
P:\org_apache\antx>C:\pro\ant1.5.1\bin\ant -f copy-delete-path-script.xml
clean
Buildfile: copy-delete-path-script.xml
clean:
[delete] Deleting directory P:\org_apache\antx\CopyDeletePath
BUI
A thousand thanks.
Commented out everything in my classpath except for "." then started adding
things back in one by one, running ant with each new classpath, until I
found the guilty party (an unrelated jar--the classpath entry for this item
did not reflect the jar's updated package structure).
Thanks very much. Exactly what I needed!!!
Marshall
Marshall Jones - Software Engineer
AT&T LABS - Custom and Web Services Development
[EMAIL PROTECTED]
(813)878-5683
-
On Mon, 24 Mar 2003, Tom Murphy <[EMAIL PROTECTED]> wrote:
> My project doesn't use any zip files,
jar files are zip-files.
> and the error seems to occur while Ant is "setting up"
It looks as if a jar on your CLASSPATH was corrupt.
> I'm not sure what file it's trying to open.
I'm not famili
Hi Dominique,
> From: Dominique Devienne
>
> I'm afraid not directly At least I can't think of one. In your
> situation, I'd write a
Using Java 1.3.1 on AIX 5.2, I get a ZipException during the build process.
Normally I'd think it's a path/classpath problem, but here the rest of the
build completes successfully. Running Ant with the -debug flag, the
exception occurs after the lines
Apache Ant version 1.5.1 compiled on