You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "fabrizio giustina (JIRA)" <ji...@codehaus.org> on 2005/03/11 11:41:18 UTC

[jira] Created: (MPECLIPSE-80) Generate .wtpmodules files

Generate .wtpmodules files
--------------------------

         Key: MPECLIPSE-80
         URL: http://jira.codehaus.org/browse/MPECLIPSE-80
     Project: maven-eclipse-plugin
        Type: New Feature
    Reporter: fabrizio giustina
     Fix For: 1.10


Generates a .wtpmodules file for eclipse wtp when the org.eclipse.wst.common.modulecore.ModuleCoreNature is set, see http://www.eclipse.org/webtools/jst/components/j2ee/scenarios/MavenEclipseIntegration.html

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MPECLIPSE-80) Generate .wtpmodules files

Posted by "fabrizio giustina (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPECLIPSE-80?page=all ]
     
fabrizio giustina closed MPECLIPSE-80:
--------------------------------------

     Assign To: fabrizio giustina
    Resolution: Fixed

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:
> The .classpath file does not have the required server integration but I generated that myself.

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}


> Generate .wtpmodules files
> --------------------------
>
>          Key: MPECLIPSE-80
>          URL: http://jira.codehaus.org/browse/MPECLIPSE-80
>      Project: maven-eclipse-plugin
>         Type: New Feature
>     Reporter: fabrizio giustina
>     Assignee: fabrizio giustina
>      Fix For: 1.10
>  Attachments: MPECLIPSE-63-78-79-80.diff, MPECLIPSE-wtpmodules.patch
>
>
> Generates a .wtpmodules file for eclipse wtp when the org.eclipse.wst.common.modulecore.ModuleCoreNature is set, see http://www.eclipse.org/webtools/jst/components/j2ee/scenarios/MavenEclipseIntegration.html

-- 
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPECLIPSE-80) Generate .wtpmodules files

Posted by "fabrizio giustina (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPECLIPSE-80?page=comments#action_41581 ] 

fabrizio giustina commented on MPECLIPSE-80:
--------------------------------------------

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

> Generate .wtpmodules files
> --------------------------
>
>          Key: MPECLIPSE-80
>          URL: http://jira.codehaus.org/browse/MPECLIPSE-80
>      Project: maven-eclipse-plugin
>         Type: New Feature
>     Reporter: fabrizio giustina
>      Fix For: 1.10
>  Attachments: MPECLIPSE-63-78-79-80.diff
>
>
> Generates a .wtpmodules file for eclipse wtp when the org.eclipse.wst.common.modulecore.ModuleCoreNature is set, see http://www.eclipse.org/webtools/jst/components/j2ee/scenarios/MavenEclipseIntegration.html

-- 
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MPECLIPSE-80) Generate .wtpmodules files

Posted by "fabrizio giustina (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPECLIPSE-80?page=all ]

fabrizio giustina updated MPECLIPSE-80:
---------------------------------------

    Attachment: MPECLIPSE-wtpmodules.patch

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 (http://magnolia.sourceforge.net/repository/maven/plugins/maven-eclipse-plugin-1.10-UNOFFICIAL-3.jar)




> Generate .wtpmodules files
> --------------------------
>
>          Key: MPECLIPSE-80
>          URL: http://jira.codehaus.org/browse/MPECLIPSE-80
>      Project: maven-eclipse-plugin
>         Type: New Feature
>     Reporter: fabrizio giustina
>      Fix For: 1.10
>  Attachments: MPECLIPSE-63-78-79-80.diff, MPECLIPSE-wtpmodules.patch
>
>
> Generates a .wtpmodules file for eclipse wtp when the org.eclipse.wst.common.modulecore.ModuleCoreNature is set, see http://www.eclipse.org/webtools/jst/components/j2ee/scenarios/MavenEclipseIntegration.html

-- 
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPECLIPSE-80) Generate .wtpmodules files

Posted by "mike perham (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPECLIPSE-80?page=comments#action_47822 ] 

mike perham commented on MPECLIPSE-80:
--------------------------------------

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.

> Generate .wtpmodules files
> --------------------------
>
>          Key: MPECLIPSE-80
>          URL: http://jira.codehaus.org/browse/MPECLIPSE-80
>      Project: maven-eclipse-plugin
>         Type: New Feature
>     Reporter: fabrizio giustina
>      Fix For: 1.10
>  Attachments: MPECLIPSE-63-78-79-80.diff, MPECLIPSE-wtpmodules.patch
>
>
> Generates a .wtpmodules file for eclipse wtp when the org.eclipse.wst.common.modulecore.ModuleCoreNature is set, see http://www.eclipse.org/webtools/jst/components/j2ee/scenarios/MavenEclipseIntegration.html

-- 
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPECLIPSE-80) Generate .wtpmodules files

Posted by "Thomas Van de Velde (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPECLIPSE-80?page=comments#action_45792 ] 

Thomas Van de Velde commented on MPECLIPSE-80:
----------------------------------------------

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.  

> Generate .wtpmodules files
> --------------------------
>
>          Key: MPECLIPSE-80
>          URL: http://jira.codehaus.org/browse/MPECLIPSE-80
>      Project: maven-eclipse-plugin
>         Type: New Feature
>     Reporter: fabrizio giustina
>      Fix For: 1.10
>  Attachments: MPECLIPSE-63-78-79-80.diff, MPECLIPSE-wtpmodules.patch
>
>
> Generates a .wtpmodules file for eclipse wtp when the org.eclipse.wst.common.modulecore.ModuleCoreNature is set, see http://www.eclipse.org/webtools/jst/components/j2ee/scenarios/MavenEclipseIntegration.html

-- 
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPECLIPSE-80) Generate .wtpmodules files

Posted by "Thomas Van de Velde (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPECLIPSE-80?page=comments#action_45793 ] 

Thomas Van de Velde commented on MPECLIPSE-80:
----------------------------------------------

Do you plan on adding support for WTP EAR and EJB projects?

> Generate .wtpmodules files
> --------------------------
>
>          Key: MPECLIPSE-80
>          URL: http://jira.codehaus.org/browse/MPECLIPSE-80
>      Project: maven-eclipse-plugin
>         Type: New Feature
>     Reporter: fabrizio giustina
>      Fix For: 1.10
>  Attachments: MPECLIPSE-63-78-79-80.diff, MPECLIPSE-wtpmodules.patch
>
>
> Generates a .wtpmodules file for eclipse wtp when the org.eclipse.wst.common.modulecore.ModuleCoreNature is set, see http://www.eclipse.org/webtools/jst/components/j2ee/scenarios/MavenEclipseIntegration.html

-- 
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MPECLIPSE-80) Generate .wtpmodules files

Posted by "fabrizio giustina (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPECLIPSE-80?page=history ]

fabrizio giustina updated MPECLIPSE-80:
---------------------------------------

    Attachment: MPECLIPSE-63-78-79-80.diff

patch for MPECLIPSE-63 MPECLIPSE-78 MPECLIPSE-79 MPECLIPSE-80
contains updated docs and new plugins tests (sorry for the unique file but it's difficult to create separate patches)

> Generate .wtpmodules files
> --------------------------
>
>          Key: MPECLIPSE-80
>          URL: http://jira.codehaus.org/browse/MPECLIPSE-80
>      Project: maven-eclipse-plugin
>         Type: New Feature
>     Reporter: fabrizio giustina
>      Fix For: 1.10
>  Attachments: MPECLIPSE-63-78-79-80.diff
>
>
> Generates a .wtpmodules file for eclipse wtp when the org.eclipse.wst.common.modulecore.ModuleCoreNature is set, see http://www.eclipse.org/webtools/jst/components/j2ee/scenarios/MavenEclipseIntegration.html

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPECLIPSE-80) Generate .wtpmodules files

Posted by "fabrizio giustina (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPECLIPSE-80?page=comments#action_45794 ] 

fabrizio giustina commented on MPECLIPSE-80:
--------------------------------------------

> 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?
actually I already posted a patch with ejb support for the m2 eclipse plugin, MNG-760
anyway, I will be happy to incorporate this into the maven 1 plugin and add support for ear projects as well, but only if any of the committer is interested... a patch is here since March and nobody committed it so probably there is no interest in it...

> Generate .wtpmodules files
> --------------------------
>
>          Key: MPECLIPSE-80
>          URL: http://jira.codehaus.org/browse/MPECLIPSE-80
>      Project: maven-eclipse-plugin
>         Type: New Feature
>     Reporter: fabrizio giustina
>      Fix For: 1.10
>  Attachments: MPECLIPSE-63-78-79-80.diff, MPECLIPSE-wtpmodules.patch
>
>
> Generates a .wtpmodules file for eclipse wtp when the org.eclipse.wst.common.modulecore.ModuleCoreNature is set, see http://www.eclipse.org/webtools/jst/components/j2ee/scenarios/MavenEclipseIntegration.html

-- 
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPECLIPSE-80) Generate .wtpmodules files

Posted by "Joerg Schaible (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPECLIPSE-80?page=comments#action_44670 ] 

Joerg Schaible commented on MPECLIPSE-80:
-----------------------------------------

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.

> Generate .wtpmodules files
> --------------------------
>
>          Key: MPECLIPSE-80
>          URL: http://jira.codehaus.org/browse/MPECLIPSE-80
>      Project: maven-eclipse-plugin
>         Type: New Feature
>     Reporter: fabrizio giustina
>      Fix For: 1.10
>  Attachments: MPECLIPSE-63-78-79-80.diff, MPECLIPSE-wtpmodules.patch
>
>
> Generates a .wtpmodules file for eclipse wtp when the org.eclipse.wst.common.modulecore.ModuleCoreNature is set, see http://www.eclipse.org/webtools/jst/components/j2ee/scenarios/MavenEclipseIntegration.html

-- 
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org