This is the way I do it :
<war .....
<zipfileset dir="currentdir_of_your_file" includes="your_file.properties"
prefix="WEB-INF/classes"/>
.....
</war>

Laurence

"Markus M. May" a écrit :

> Hello,
> I don't think, that you can use the WAR Task to copy a file. But what about
> the copy task? It is implemented without any restrictions to the underlying
> OS, so that you can use it on Windows as well as on Linux and other OSes.
>
> Greets
>
> Markus
> > Hello,
> >
> > I am using the war task to create the war file for my struts application.
> > I
> > would like to copy a .property file into the WEB-INF/classes directory.
> > Is
> > there a way to do this using the war task?  If not, any other suggestions?
> >
> > Regards,
> >
> > Joshua White
> >
> >
> > This communication, including attachments, is for the exclusive use of
> > addressee and may contain proprietary, confidential or privileged
> > information. If you are not the intended recipient, any use, copying,
> > disclosure, dissemination or distribution is strictly prohibited. If
> > you are not the intended recipient, please notify the sender
> > immediately by return email and delete this communication and destroy all
> > copies.
> >
> >
> > --
> > To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> >
>
> --
> +++ GMX - Mail, Messaging & more  http://www.gmx.net +++
> NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to