linkedResources: <location> vs <locationURI>
--------------------------------------------
Key: MECLIPSE-676
URL: http://jira.codehaus.org/browse/MECLIPSE-676
Project: Maven 2.x Eclipse Plugin
Issue Type: Bug
Components: Core : .project
Affects Versions: 2.8
Environment: Elipse 3.6, mvn 2.2.1, Mac OS X 10.6.5
Reporter: Lutz Huehnken
When creating a link to another folder in Eclipse 3.6, it will generate a
snippet like this in the .project:
<linkedResources>
<link>
<name>src/main/webapp/docroot/myfolder</name>
<type>2</type>
<locationURI>FOLDER_VAR/otherfolder/myfolder</locationURI>
</link>
</linkedResources>
When running eclipse:eclipse, the parsing / update of .project will fail with:
java.lang.IllegalArgumentException: No location node.
at
org.apache.maven.plugin.eclipse.LinkedResource.<init>(LinkedResource.java:110)
at
org.apache.maven.plugin.eclipse.writers.EclipseProjectWriter.write(EclipseProjectWriter.java:155)
at
org.apache.maven.plugin.eclipse.EclipsePlugin.writeConfiguration(EclipsePlugin.java:1139)
Apparently, the plugin expects the element <location> rather than
<locationURI>, which seems to be a bug.
--
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