Java Mailing List Archive

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

Apache Ant Archive

» Ant Users List
» Ant Developers List
Create WEB-INF/lib based on path-structure

Create WEB-INF/lib based on path-structure

2007-07-10       - By hezjing
Reply:     1     2     3     4     5     6     7     8     9  

Hi Prashant

Thanks for the WAR task description.

If I have a path-like structure called "base.path",

 <path id="base.path">
 <fileset dir="lib">
 <include name="**/*.jar"/>
 </fileset>
 </path>

How can I referencing "base.path" directly in <war> task or it's
nested <lib> element?




On 7/10/07, Prashant Reddy <prashant@(protected)> wrote:
> Take a look at 'war' task at :
> http://ant.apache.org/manual/CoreTasks/war.html
>
> Examples given in this page should address your concern.
>
> On Tue, 2007-07-10 at 10:21 +0800, hezjing wrote:
> > Hi
> >
> > I have a path structure containing a list of JARs, saved at the shared
> > repository.
> >
> > How can I inlucde these JARs into WEB-INF/lib when creating a WAR
> > file, without copying the JARs into local project directory?
> >
> >
> --
>
> -Prashant
>
> Don't upload, just share : www.dekoh.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>


--

Hez

---------------------------------------------------------------------
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.