ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Moore, Kent" <Kent.Mo...@fnis.com>
Subject RE: Help with war task
Date Thu, 04 Jun 2009 13:03:11 GMT
Setup different lib dir definitions in the war task and collect the
references from where ever they happen to be:


            <lib dir="${lib.dir}">
                <patternset refid="dependent.libraries"/>
            </lib>
            <lib dir="${other.lib.dir}">
                <patternset refid="other.libraries"/>
            </lib>
            <lib dir=".">
                <include name="foo.jar"/>
            </lib>


The combined set of references from the three folders will end up in the
war file's WEB-INF/lib directory.


SKent
x8014

-----Original Message-----
From: Chris Green [mailto:chris.green100@googlemail.com] 
Sent: Thursday, June 04, 2009 8:39 AM
To: Ant Users List
Subject: Re: Help with war task

Treat as two seperate tasks

1. Merging jar's into one directory

2. Create war file

On Thu, Jun 4, 2009 at 1:35 PM, Yellen Seram
<Yellen.Seram@headstrong.com>wrote:

> Hi all,
>
> I'm trying to create a war file using the ant war task.
> The problem is that I am not aware as to how I can link multiple
folder
> locations to the lib dir inside war.
> Like for example, I have some jars in one folder and some other jars
in
> some another folder and I want to put the jars from these two
locations
> inside the lib dir of WEB-INF when the war is created.
>
> I'd really appreciate some help :)
>
> Thanks and regards,
> Yellen Seram
>
> ***The information transmitted is intended only for the person or
entity to
> which it is addressed and may contain confidential and/or privileged
> material. Any review,retransmission,dissemination or other use of, or
taking
> of any action in reliance upon, this information by persons or
entities
> other than the intended recipient is prohibited. If you received this
in
> error, please contact the sender and delete the material from any
> computer.***
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>


-- 
Regards
Chris Green
E-Mail : Chris.green100@gmail.com
Mob : 07779 157247

_____________

The information contained in this message is proprietary and/or confidential. If you are not
the 
intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, 
distribute or use the message in any manner; and (iii) notify the sender immediately. In addition,

please be aware that any message addressed to our domain is subject to archiving and review
by 
persons other than the intended recipient. Thank you.
_____________

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message