| Create WEB-INF/lib based on path-structure | Create WEB-INF/lib based on path-structure 2007-07-10 - By Prashant Reddy
On Tue, 2007-07-10 at 14:06 +0800, 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> > > How can I referencing "base.path" directly in <war> task or it's > nested <lib> element?
WAR task specifies in the documentation that :
"The nested lib element specifies a FileSet. All files included in this fileset will end up in the WEB-INF/lib directory of the war file."
So try : <lib refid="base.path">
Actually if you are using modern IDE (like IDEA) to edit your build.xml typing "<lib" should fire-up all possible options to auto-complete.
Hope this helps.
> > > > > 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) > > > > > > --
-Prashant
Don't upload, just share : www.dekoh.com
--------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
|
|
 |