You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "ddd (JIRA)" <ji...@codehaus.org> on 2008/01/02 12:04:57 UTC

[jira] Created: (MECLIPSE-365) eclipse:eclipse should have a possibility to add linked resources to generatd .project file and use it in .classpath file

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

        

[jira] Commented: (MECLIPSE-365) eclipse:eclipse should have a possibility to add linked resources to generatd .project file and use it in .classpath file

Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MECLIPSE-365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_118658 ] 

Arnaud Heritier commented on MECLIPSE-365:
------------------------------------------

Did you try to use WTP to launch your webapp in tomcat from eclipse. With WTP you have access to a step by step debugger and I think (I have to check) that it works also in JSPs without having to play with linked resources ?

> 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: Dependencies resolution and build path
>            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

        

[jira] Updated: (MECLIPSE-365) eclipse:eclipse should have a possibility to add linked resources to generatd .project file and use it in .classpath file

Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MECLIPSE-365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arnaud Heritier updated MECLIPSE-365:
-------------------------------------

    Component/s:     (was: M2Eclipse support)
                 Dependencies resolution and build path

> 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: Dependencies resolution and build path
>            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