The following comment has been added to this issue:
Author: Charlie Dobbie
Created: Tue, 19 Oct 2004 9:15 AM
Body:
Sorry, the project I really needed that function for ended some time ago. After 11
months without any activity I rather gave up on anything being done.
Basically it's a migration issue - people already developing in Eclipse who need to do
any resource-generation etc as part of a build will likely have launch configurations
set up to run whatever is needed. Supporting these configurations would allow such
people to migrate to Maven while still using parts of the toolchain they already trust.
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MPECLIPSE-8?page=comments#action_25561
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPECLIPSE-8
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPECLIPSE-8
Summary: Support shared Eclipse launch configurations
Type: New Feature
Status: Closed
Priority: Minor
Resolution: INCOMPLETE
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-eclipse-plugin
Fix Fors:
1.9
Assignee: David Eric Pugh
Reporter: Charlie Dobbie
Created: Mon, 6 Oct 2003 7:34 AM
Updated: Tue, 19 Oct 2004 9:15 AM
Environment: All
Description:
I think it would be useful to be able to execute shared Eclipse launch configurations
from Maven. An example launch configuration may look like this (Eclipse 2.1.1):
<?xml version="1.0" encoding="UTF-8"?>
<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE"
value="mypackage.MyClassName"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR"
value="MyProjectName"/>
<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
<listEntry value="org.eclipse.debug.ui.launchGroup.run"/>
</listAttribute>
<stringAttribute key="org.eclipse.debug.ui.target_debug_perspective"
value="perspective_default"/>
<stringAttribute key="org.eclipse.debug.ui.target_run_perspective"
value="perspective_default"/>
<stringAttribute key="org.eclipse.debug.core.source_locator_id"
value="org.eclipse.jdt.debug.ui.javaSourceLocator"/>
</launchConfiguration>
I believe Eclipse locates shared launch configurations by searching the project's tree
for *.launch files. (Local configurations reside in the .metadata tree, but are out
of scope of this request.)
I am not sure how best to expose this functionality to the Maven system. Perhaps a
plugin-eclipse goal would read the class to run from a property, so it could be
invoked by one of:
<j:set var="maven.eclipse.launchConfiguration" value="com.company.Main"/>
<j:attainGoal name="eclipse:execute-launch-configuration"/>
or:
maven -Dmaven.eclipse.launchConfiguration=com.company.Main
eclipse:execute-launch-configuration
Or maybe the eclipse-plugin goal would process the launch files and add them to the
project's maven.xml as <java> tasks, so the goal is a one-shot setup task, much like
the other plugin-eclipse goals.
I welcome any and all comments on this feature request - thoughts on implementation,
usefulness or even whether or not it's a good idea!
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]