You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hannu Leinonen (JIRA)" <ji...@codehaus.org> on 2010/01/23 22:44:55 UTC

[jira] Commented: (MECLIPSE-402) Enable linkedResources in .project file

    [ http://jira.codehaus.org/browse/MECLIPSE-402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=207985#action_207985 ] 

Hannu Leinonen commented on MECLIPSE-402:
-----------------------------------------

This seems to be already implemented in the current trunk, though it has a minor bug that appears on Windows: Eclipse requires the path separators on location to be '/' and when I use a property like ${basedir} the path separators are naturally '\'. I made a small patch that replaces all '/':s with '\':s when using linkedResource.

> Enable linkedResources in .project file
> ---------------------------------------
>
>                 Key: MECLIPSE-402
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-402
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: New Feature
>          Components: Core : Multi-projects
>            Reporter: Laszlo Hornyak Kocka
>         Attachments: MECLIPSE-402-linkedResource-location-fix.patch
>
>
> It would be very helpful if eclipse plugin could generate linkedResources tag for the generated project file, pointing e.g. to an another project of a multimodule maven project
>       <linkedResources>
>                 <link>
>                         <name>src/main/webapp/flashclient.swf</name>
>                         <type>1</type>
>                         <location>/home/kocka/blabla/bla/trunk/flashclient/target/flashclient-1.0-SNAPSHOT.swf</location>
>                 </link>
>         </linkedResources>
> generated from this configuration
>                         <plugin>
>                                 <groupId>org.apache.maven.plugins</groupId>
>                                 <artifactId>maven-eclipse-plugin</artifactId>
>                                 <configuration>
>                                         <wtpversion>1.5</wtpversion>
>                                         <linkedResources>
>                                         <link>../flashclient/target/flashclient-${version}.swf</link>
>                                         </linkedResources>
>                                 </configuration>
>                         </plugin>

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