Piotr Slonicz Messages: 13 Registered: August 2011 Location: Munich
Junior Member
Hello all,
I have installed Eclipse Indigo und setup it with RAP 1.4 and WAR Product plugin. An WAR export wizzard works fine, but I would like to know how can I create a .war file without it, i.e. how can I build a complete application WAR outside eclipse (for example in .bat or .sh)?
The war product just put the files at the correct location w.r.t to the war file. The files generated by the war product contains contents which you will hardly change.So you can just create the war file through maven and copying the files at the correct location.
Piotr Slonicz Messages: 13 Registered: August 2011 Location: Munich
Junior Member
My idea was to build an application using the WAR plugin, because it looses already all dependencies and packs all together in one file. I thought, using one command and WAR plugin Api I could obtain a war file automaticlly (in stead of coping all files). It is esspecially important in a project consisting many Bundles, I guess.
Thanks for replies, I try to make it using build engine (maven/ant). Is it recommended to use maven in stead of ant or it has no metter?