I'm new to ant and I have to wrap my web project in war file and I'm using ant My project is structured like that:
myproject
--images
--css
--js
and in the war file the final structure is like:
myproject
--css
--images
--js
--META-INF
--WEB-INF
I'd like to change the final structure (to put everything from the project directory in "public" folder) BUT only in the war file, and I'd like to be like that:
myproject
--public
-----css
-----images
-----js
--META-INF
--WEB-INF
I have try using copy task and move task but with no success... What should i do in order to accomplish this?