You're almost there. What does the line in your build script say that looks
like...
<project name="myproject" default="build" basedir="..">
The basedir should be relative to the location from which you are typing the
ant command, and generally speaking other paths in the build script are
relative to the basedir. So line 19 of your file should be rewritten to be
relative to C:\ant.
Also, it probably makes more sense to store the buildfile with your source
and execute ant from a source directory, e.g. ...\netbeans\Development\....,
which is convenient to do as %ANT_HOME%\bin is in your path.
Ant is awfully cool. Have fun.
Matthew Osborn
-----Original Message-----
From: Chuck Amadi [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 13, 2001 5:26 AM
To: [EMAIL PROTECTED]
Subject: Ant problem - but getting closer any suggestions on snippet
Hi , getting closer i cd to
C:\>cd:\ant
C:\ant>ant
Buildfile: buildfile.xml
Build FAILED
C:\ant\build.xml:19: The file or path you specified
(..\..\..\nbuild\netbeans)
is invalid realative to C:\ant
Total time : 1 second
Getting Closer :^}.
set ANT_HOME=C:\ant
set classpath=%ANT_HOME%\lib\ant.jar
set PATH=%PATH%;%ANT_HOME%\bin
set JAVA_HOME=C:\JDK1.3
Cheers Chuck
--
The views expressed by the sender of this message don't
necessarily represent those of Brecon Beacons National Park
Authority. This message is intended for the addressee(s) only
and is sent in confidence; if you receive it in error, please can you
let us know (at [EMAIL PROTECTED]) and then destroy all copies.
Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn
adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog.
Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion
yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn
mewn camgymeriad, a fyddech gystal � rhoi gwybod i
ni (yn [EMAIL PROTECTED]) ac yna dil�wch bob copi.
Note: The information contained in this message may be privileged and
confidential and protected from disclosure. If the reader of this message
is not the intended recipient, or an employee or agent responsible for
delivering this message to the intended recipient, you are hereby notified
that any dissemination, distribution or copying of this communication is
strictly prohibited. If you have received this communication in error,
please notify us immediately by replying to the message and deleting it from
your computer. Thank you. Harbor Capital Advisors, One SeaGate. Toledo,
OH-43666. Tel: 419-247-1940.