You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "fabrizio giustina (JIRA)" <ji...@codehaus.org> on 2005/11/26 16:28:40 UTC
[jira] Updated: (MPECLIPSE-69) Make plugin work better "out of the box"
[ http://jira.codehaus.org/browse/MPECLIPSE-69?page=all ]
fabrizio giustina updated MPECLIPSE-69:
---------------------------------------
Fix Version: (was: 1.9)
> Make plugin work better "out of the box"
> ----------------------------------------
>
> Key: MPECLIPSE-69
> URL: http://jira.codehaus.org/browse/MPECLIPSE-69
> Project: maven-eclipse-plugin
> Type: Improvement
> Versions: 1.9
> Reporter: Chad Woolley
> Attachments: maven_eclipse_plugin_patch.txt
>
>
> Hi,
> Attached is a patch which makes the following changes to the eclipse:external-tools-21 goal:
> 1. Makes default action to run goal against project.xml in the current project.
> 2. Makes default to refresh project containing the selected resource
> 3. Removes code to add each entry to favorites list, because they fill up the list and makes user have to scroll to see the bottom of the external tools menu.
> I think these would be much more intuitive and convenient defaults for the majority of the plugin users.
> Thanks,
> Chad
> Index: eclipse/src/plugin-resources/templates/launch.jelly
> ===================================================================
> RCS file: /home/cvspublic/maven-plugins/eclipse/src/plugin-resources/templates/launch.jelly,v
> retrieving revision 1.4
> diff -u -r1.4 launch.jelly
> --- eclipse/src/plugin-resources/templates/launch.jelly 4 Mar 2004 18:04:37 -0000 1.4
> +++ eclipse/src/plugin-resources/templates/launch.jelly 1 Feb 2005 06:55:58 -0000
> @@ -19,13 +19,17 @@
>
> <launchConfiguration type="org.eclipse.ui.externaltools.ProgramLaunchConfigurationType">
> <stringAttribute
> - key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS" value="-e -p $${resource_name} ${goal}"/>
> + key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS" value="-e -p project.xml ${goal}"/>
> <stringAttribute
> key="org.eclipse.ui.externaltools.ATTR_REFRESH_SCOPE" value="$${project}"/>
> + <stringAttribute
> + key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="$${project}"/>
> + <!-- don't add favorites, they overfill the menu
> <listAttribute key="org.eclipse.debug.ui.favoriteGroups">
> <listEntry value="org.eclipse.ui.externaltools.launchGroup"/>
> </listAttribute>
> + -->
> <stringAttribute
> - key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="$${container_loc}"/>
> + key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="$${project_loc}"/>
> <stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${tool.loc}"/>
> </launchConfiguration>
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org