ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Reilly" <peter.kitt.rei...@gmail.com>
Subject Re: regarding path id
Date Wed, 08 Aug 2007 08:17:16 GMT
On 8/8/07, Anil Kumar pippalapalli <apippalapalli@gmail.com> wrote:
> hi mani,
>
> you can do this,
> <pathelement location="${resc}/**/*.jar"/>
This will not work.
The ** and * are for patterns - line includes="" and the <include> element.
The location attribute is a file name/path and not a pattern.

Peter

> this will take care of all jars in that folder and subfolders....
>
> anil.
>
>
> On 8/8/07, Manivannan Palanichamy <manivannan.palanichamy@gmail.com> wrote:
> >
> > Hi,
> > Actually, I add the jar files in classpath using the following way.
> >   <path id="sab.classpath">
> >      <pathelement location="${resc}/mysql-connector-java-3.1.12-bin.jar"/>
> >      <pathelement location="${resc}/activation.jar"/>
> >      <pathelement location="${resc}/imap.jar"/>
> >   </path>
> >
> > It looks bit tedious, since every jar file should be listed in the
> > pathelement tag. Instead of doing this, is there anyway to specify a
> > directory, containing all jar files?
> >
> > --
> > Manivannan.Palanichamy (@) Oracle.com
> > http://mani.gw.googlepages.com/index.html
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message