[mevenide-dev] Re: [mevenide-scm] [4986] trunk/mevenide2/netbeans/nb-project/src/main/java/org/codehaus/mevenide/netbeans/customizer/RunJarPanel.java: MEVENIDE-599

"Milos Kleint" <[email protected]>
Newsgroups gmane.comp.jakarta.turbine.maven.mevenide.devel
Message-ID <[email protected]>
On Mon, Mar 10, 2008 at 12:21 PM,  <anuradha-yCVjj/[email protected]> wrote:
>
>
>  Revision 4986 Author anuradha Date 2008-03-10 06:21:45 -0500 (Mon, 10 Mar
> 2008)
> Log Message MEVENIDE-599
>
> Modified Paths
>
> trunk/mevenide2/netbeans/nb-project/src/main/java/org/codehaus/mevenide/netbeans/customizer/RunJarPanel.java
>
> Diff
> Modified:
> trunk/mevenide2/netbeans/nb-project/src/main/java/org/codehaus/mevenide/netbeans/customizer/RunJarPanel.java
> (4985 => 4986) ---
> trunk/mevenide2/netbeans/nb-project/src/main/java/org/codehaus/mevenide/netbeans/customizer/RunJarPanel.java
> 2008-03-10 10:20:02 UTC (rev 4985)
> +++
> trunk/mevenide2/netbeans/nb-project/src/main/java/org/codehaus/mevenide/netbeans/customizer/RunJarPanel.java
> 2008-03-10 11:21:45 UTC (rev 4986)
> @@ -392,6 +392,14 @@
>  ActionToGoalUtils.setUserActionMapping(debug, handle.getActionMappings());
>  handle.markAsModified(handle.getActionMappings());
>  }
> + //MEVENIDE-599
> + NetbeansActionMapping[] activeCustomMappings =
> ActionToGoalUtils.getActiveCustomMappings(project);
> + for (NetbeansActionMapping actionMapping : activeCustomMappings) {
> + actionMapping.getProperties().setProperty(RUN_WORKDIR, newWorkDir);

^^^
shouldn't this be set only if the mapping already contains this property?

Milos

> + ActionToGoalUtils.setUserActionMapping(actionMapping,
> handle.getActionMappings());
> + handle.markAsModified(handle.getActionMappings());
> + }
> +
>  }
>  }
>
>
>
>  ________________________________
>
>
>  To unsubscribe from this list please visit:
>
>  http://xircles.codehaus.org/manage_email

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.