|
patches are obsolete.
if anybody cares about committing these please let me know and I will produce updated patches >: if there is a chance to see something committed I can these enhancement to the M2 eclipse plugin as well Ok, another try...
this is an updated patch, working with the final (0.7) release of eclipse WTP. Docs have been updated as well. This makes the eclipse plugin automatically generate a .wtpmodules file if the multiproject type is "war", adding all the eclipse dependencies as wtp modules. This makes any webapp project ready to be run with a server inside eclipse (J2EE perspective, dynamic web projects -> run on server). If anybody wants to try/use this feature can add a reference to an unofficial plugin build (1.10-UNOFFICIAL-3) which is available in a maven repository at http://magnolia.sourceforge.net/repository Can you make this optional? I.e. generate .wtpmodules only with an excplicit maven.eclipse.support.wtp=true for war types.
Hint: Other people are using JBoss-IDE or MyEclipse ... and this syntax leaves room to support other extensions also. Does this also take care of copying the libraries that are marked with "<war.bundle>true</war.bundle>" to the lib folder of a wtp war project? This is required for deployment to work.
Do you plan on adding support for WTP EAR and EJB projects?
> Does this also take care of copying the libraries that are marked with "<war.bundle>true</war.bundle>" to the lib folder of a wtp war project? This is required for deployment to work.
yes, jars are added to wtpmodules as "var" dependencies and are copied directly from the local maven repo by eclipse during builds. > Do you plan on adding support for WTP EAR and EJB projects? Fabrizio, thank you for your unofficial build! The generated .wtpmodule works great for me. The .classpath file does not have the required server integration but I generated that myself.
Committed to svn for version 1.10.
This adds complete support for web projects, ears and ejbs will come (please open a separate Jira issue if you are interested in a feature related to wtp that is not actually covered by the plugin). about this: server integration can be added using the existing "conclasspath" property, e.g. using: maven.eclipse.conclasspath=org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache Tomcat v5.5,org.eclipse.jst.j2ee.internal.web.container/${pom.artifactId} |
|||||||||||||||||||||||||||||||||||||||||||||||
MPECLIPSE-63MPECLIPSE-78MPECLIPSE-79MPECLIPSE-80contains updated docs and new plugins tests (sorry for the unique file but it's difficult to create separate patches)