eclipse:eclipse should have a possibility to add linked resources to generatd .project file and use it in .classpath file -------------------------------------------------------------------------------------------------------------------------
Key: MECLIPSE-365 URL: http://jira.codehaus.org/browse/MECLIPSE-365 Project: Maven 2.x Eclipse Plugin Issue Type: Improvement Components: M2Eclipse support Reporter: ddd Priority: Critical I have a multi project which is deployed as WAR. For testing purposes I would like to deploy expanded WAR on Tomcat deploy directory and then set the project (on eclipse) to generate the compiled files on that dir, which in turn would need to be a linked resource in my project. When I set up projects manually .project and .classpath files look like this: <projectDescription> <name>project</name> <comment></comment> <projects> </projects> <buildSpec> <buildCommand> <name>org.eclipse.jdt.core.javabuilder</name> <arguments> </arguments> </buildCommand> </buildSpec> <natures> <nature>org.eclipse.jdt.core.javanature</nature> </natures> <linkedResources> <link> <name>TARGET_DIR</name> <type>2</type> <locationURI>TARGET_DIR</locationURI> </link> <link> <name>TARGET_DIR_TEST</name> <type>2</type> <locationURI>TARGET_DIR_TEST</locationURI> </link> </linkedResources> </projectDescription> <classpath> <classpathentry kind="src" path="src/main/java"/> <classpathentry kind="src" output="TARGET_DIR_TEST" path="src/test/java"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry kind="output" path="TARGET_DIR"/> </classpath> Currently my linked resources are pointing to workspace linked resources and it would be nice to have a way to add workspace linked resources too, if that is not too complicated. And of course for multiproject purposes this settings should be inherited from parent pom. -- 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