|Re: How do you add Web project to EAR [message #729870 is a reply to message #729704]
||Tue, 27 September 2011 03:28
| Wolfgang Knauf
Registered: July 2009
Am 26.09.2011 21:44, schrieb gwo58ns:|
> I'm working in Eclipse Galileo trying to create an EAR file being
> deployed to WebSphere. I have an existing Dynamic Web Project I want to
> add to the EAR. How would you do that?
if the EAR project is also newly created, this should be easy: in step 2
of creating the EAR (titled "Configure enterprise application
settings"), you can choose dependencies to existing modules. If you
check your Dynamic Web Projcet here, it should work.
If both EAR and WAR project already exist, it might become a bit more
complicated. Best create an EAR project with Dynamic Web Project and
copy the relevant snippets of the config files to the config files of
You will need to modify:
-the ".project" file (reference to WAR project)
-".settings/org.eclipse.wst.common.component" (element "dependent-module").
-and finally "org.eclipse.wst.common.project.facet.core.xml"
Hope this works
Powered by FUDForum
. Page generated in 0.01691 seconds