You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Laurence Mastrorillo <ma...@medias.cnes.fr> on 2003/01/14 15:53:04 UTC

Re: Copying .properties files into to classes directory using the war task

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:   <ma...@jakarta.apache.org>
> > For additional commands, e-mail: <ma...@jakarta.apache.org>
> >
>
> --
> +++ 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:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>