maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "pkernevez (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (MECLIPSE-389) After running "clean" phase, eclipse detects some errors due to missing folder.
Date Mon, 11 Feb 2008 16:02:28 GMT
After running "clean" phase, eclipse detects some errors due to missing folder.
-------------------------------------------------------------------------------

                 Key: MECLIPSE-389
                 URL: http://jira.codehaus.org/browse/MECLIPSE-389
             Project: Maven 2.x Eclipse Plugin
          Issue Type: Bug
          Components: WTP support
    Affects Versions: 2.5
            Reporter: pkernevez


We are using the configuration point out at the bottom of the page : http://maven.apache.org/plugins/maven-eclipse-plugin/examples/multi-module-projects.html

The presence of the <wtpmanifest>true</wtpmanifest> creates the folder "target\generated-resources\eclipse\META-INF\"
(due to the creation of the file target\generated-resources\eclipse\META-INF\MANIFEST.MF)
during the "eclipse:eclipse" goal.

First trouble, when we run the phase "clean" this folder is deleted and never recreated, even
if we run other phases (like install). When Eclipse refresh its folder tree it indicates an
error due to this sources missing folder.

Another trouble, is that the name of this Manifest file is hardcoded in the class EclipseManifestWriter
See http://svn.apache.org/viewvc/maven/plugins/trunk/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/writers/EclipseManifestWriter.java?revision=618468&view=markup

The plugin manifest is not used, neither the plugin configuration:
            <manifest>
              ${basedir}/src/main/resources/META-INF/MANIFEST.MF
            </manifest>




-- 
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

        

Mime
View raw message