You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (JIRA)" <ji...@codehaus.org> on 2011/08/07 21:53:42 UTC
[jira] Closed: (MECLIPSE-676) linkedResources: vs
[ https://jira.codehaus.org/browse/MECLIPSE-676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Scholte closed MECLIPSE-676.
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.9
Assignee: Robert Scholte
Fixed in [rev. 1154754|http://svn.apache.org/viewvc?rev=1154754&view=rev]
> linkedResources: <location> vs <locationURI>
> --------------------------------------------
>
> Key: MECLIPSE-676
> URL: https://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
> Assignee: Robert Scholte
> Fix For: 2.9
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira