ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: Create WEB-INF/lib based on path-structure
Date Tue, 10 Jul 2007 12:27:45 GMT
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@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message