I wouldn't do this. What kind of jars are you dealing with? If the
jars are used by Ant to run tasks, then put them in ANT_HOME/lib. If
they belong to your project and only required to build your project, I
would recommend putting them in a 'lib' directory under your project
directory. You could put them in C:\jars, but that might cause some
confusion later on if you're building different projects with
conflicting libraries in C:\jars.
Calvin
On 18 Jul 2001 13:52:26 +0100, Chuck Amadi wrote:
> Hi, I am currently working thru ant's and from a few articles and
example they
> lay claim to create & deploying all jar's to C:\jar .
>
> Thus within the -<target name="init"> the property name- value would
be
> "C:\jars"/>
> Is this the correct procedure as i will be downloading the auxillary
jars and i
> want to no do i deploy to by ant/lib dir with the ant.jar , parser.jar
&
> jaxp.jar. Or as long as i add them to my classpath ie
>
>
> set TOMCAT_HOME=C:\jakarta-tomcat-3.2.2
> set ANT_HOME=C:\ant
> set classpath=%ANT_HOME%\lib\ant.jar
> set ANT_HOME=C:\jars ----------------------// will this locate all my
jars
> set PATH=%PATH%;%ANT_HOME%\bin
> set JAVA_HOME=C:\JDK1.3
> Pls advise Cheers Chuck
>
> "Hampton, Paul" wrote:
>
> > Chuck,
> > The error that you mentioned was on line 35 of your build
file, for
> > some reason though word is corrupting the xml & all I get on line 35
is
> > Error! Hyperlink reference not valid. <target name="init"> which I
assume
> > has been added by word as it attempts to interpret the xml as html.
Could
> > you open your build.xml up in notepad & copy+paste the entire thing
into an
> > email to me? - hopefully I'll be able to spot your problem...
> >
> > Paul
> >
> > > -----Original Message-----
> > > From: Chuck Amadi [SMTP:[EMAIL PROTECTED]]
> > > Sent: Monday, July 16, 2001 10:39 AM
> > > To: Hampton, Paul
> > > Subject: Ant Problem - Copy of Build.xml File
> > >
> > >
> > > Cheers 4 taking a peek.
> > > --
> > > 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.
> > > << File: buildxml.doc >>
> >
> > This private and confidential e-mail has been sent to you by Egg.
> > The Egg group of companies comprises Prudential Banking plc
> > (registered no. 2999842), Egg Financial Products Ltd (registered
> > no. 3319027) and Egg Investments Ltd (registered no. 3403963) which
> > carries out investment business on behalf of Egg and is regulated
> > by the Personal Investment Authority. All members of the Egg group
> > are registered in England and Wales. Registered offices: 142
> > Holborn Bars, London EC1N 2NH
> >
> > If you are not the intended recipient of this e-mail and have
> > received it in error, please notify the sender by replying with
> > 'received in error' as the subject and then delete it from your
> > mailbox.
>
> --
> 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.
>