Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsGeneric Server - exploded war in an exploded ear
https://www.eclipse.org/forums/index.php/mv/msg/154806/487689/#msg_487689
I'd like to publish an ear to an application installed by an external installer. I created a Generic Server and configured an antpublisher.
Unfortunately, when the ant script is called, the ear project already contains the zipped war (in .metadata\.plugins\org.eclipse.wst.server.core\tmp1\TestEarP roject).
I thought the war would be packaged (in the ear) also using the ant script. But despite the fact I also defined a facet for web projects, my ant script don't get called unless I deploy a war instead of an ear..
Here is my question: is there a way get control on how the war is packaged in the ear using ant. (I found a few threads about defining a new ServerType or ModuleType, which seams to be a lot of work). In the end, I will also need to get control of how the jar are packaged (some project are split is several jars).