| Create WEB-INF/lib based on path-structure | Create WEB-INF/lib based on path-structure 2007-07-10 - By Steve Loughran
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)
|
|
 |