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 Steve Loughran
Reply:     1     2     3     4     5     6     7     8     9  

hezjing wrote:
> 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>
>


you should know that app servers will only add WEB-INF/lib/*.jar to
their path, not **/*.jar.

I normally just copy everything I need to a single directory; you can
use the <flatten> mapper to flatten directories in the process.

--
Steve Loughran                  http://www.1060.org/blogxter/publish/5
Author: Ant in Action           http://antbook.org/

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