Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
regarding path id

regarding path id

2007-08-07       - By Matt Benson
Reply:     1     2     3     4     5     6  


--- Manivannan Palanichamy
<manivannan.palanichamy@(protected)> 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?
>

Indeed, and you will learn all about it at
http://ant.apache.org/manual/using.html#path .

-Matt

> --
> Manivannan.Palanichamy (@) Oracle.com
> http://mani.gw.googlepages.com/index.html
>



     
_______________________________________________________________________________
_____
Yahoo! oneSearch: Finally, mobile search
that gives answers, not web links.
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.