[
http://jira.codehaus.org/browse/MECLIPSE-178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arnaud Heritier updated MECLIPSE-178:
-------------------------------------
Component/s: Core : .project
Remaining Estimate: 0 minutes
Original Estimate: 0 minutes
Applied the patch from ashok to not remove links manually added in project
I also modified the eclipse mojo to allow to setup links in the pom and I added
new ITs to test it
Here is a sample of the configuration :
{code:xml}
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<version>2.8</version>
<configuration>
<linkedResources>
<linkedResource>
<name>src/test/resources/oracle-ds.xml</name>
<type>1</type>
<location>C://jboss/server/default/deploy/oracle-ds.xml</location>
</linkedResource>
<linkedResource>
<name>src/test/resources/mysql-ds.xml</name>
<type>1</type>
<location>C://jboss/server/default/deploy/mysql-ds.xml</location>
</linkedResource>
</linkedResources>
</configuration>
</plugin>
{code}
> symbolic links need to able to be specified in the pom
> ------------------------------------------------------
>
> Key: MECLIPSE-178
> URL: http://jira.codehaus.org/browse/MECLIPSE-178
> Project: Maven 2.x Eclipse Plugin
> Issue Type: New Feature
> Components: Core : .project
> Reporter: Jim Sellers
> Fix For: 2.8
>
> Attachments: EclipseProjectWriter.java,
> EclipseProjectWriterTest.java, LinkedResourceCommand.java,
> MECLIPSE-178.patch, mylyn-context.zip
>
> Original Estimate: 0 minutes
> Remaining Estimate: 0 minutes
>
> In eclipse, you can make a symbolic link to a file.
> create new file -> advanced -> "link to file in the system".
> This will create a part in the .project file like this:
> <linkedResources>
> <link>
> <name>src/test/resources/oracle-ds.xml</name>
> <type>1</type>
>
> <location>C://jboss/server/default/deploy/oracle-ds.xml</location>
> </link>
> </linkedResources>
> When you run "mvn eclipse:eclipse" this gets wipped out. It would be great
> if this soft link didn't have to be re-created someone runs the command.
--
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