[ http://jira.codehaus.org/browse/MECLIPSE-47?page=comments#action_54754 ]
Alfie Kirkpatrick commented on MECLIPSE-47: ------------------------------------------- Just a quick note. When I originally found these differences between the maven eclipse plugin and WTP 1.0 I wrote a little maven plugin myself called eclipse-util to fix the issues. This has goals copy-local and convert-wtp. A couple of things I noticed: - The format of .wtpmodules and .component did not appear to be exactly the same. I wrote a little XSL to convert from one to the other - I did not want the dependent jars in my src tree, so I copied them to target/WEB-INF/lib and added the following line to .component during the conversion: <wb-resource deploy-path="/WEB-INF/lib" source-path="/target/WEB-INF/lib"/> Drop me a note if you'd like the Mojo/XSL but they were pretty trivial... Also, when will the plugin supporting wtpversion="1.0" be available on ibiblio? Regards, Alfie. > Planning support for wtp 1.0 > ---------------------------- > > Key: MECLIPSE-47 > URL: http://jira.codehaus.org/browse/MECLIPSE-47 > Project: Maven 2.x Eclipse Plugin > Type: Bug > Versions: 2.0 > Reporter: fabrizio giustina > Priority: Minor > Attachments: MECLIPSE-47.patch > > > while approaching the 1.0 release WTP changed completely the project > descriptors for modules. > The eclipse plugin should let users choose the version of WTP and generate > different files (wtp will anyway automatically migrate 0.7 projects starting > from M9, according to eclipse plans) > Changes tracked for wtp 1.0 (partially working in current WTP builds): > - ".wtpmodules" is renamed to ".component" and moved to the .settings folder > - the .wtpmodules format is unchanged, except for the module type which is > not there anymore (should be verified in M9) > - a new .settings/org.eclipse.wst.common.project.facet.core.prefs file is > written (property file) with server/module type information (server is now > specified in containerClasspath, need to be fixed) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
