[jbosstools-issues] [JBoss JIRA] (JBIDE-12086) Make a preference option that can toggle launching Forge in RUN/DEBUG mode

Thomas Frühbeck (JIRA) jira-events at lists.jboss.org
Sun Jun 3 14:10:17 EDT 2012


    [ https://issues.jboss.org/browse/JBIDE-12086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12698261#comment-12698261 ] 

Thomas Frühbeck edited comment on JBIDE-12086 at 6/3/12 2:08 PM:
-----------------------------------------------------------------

After import of ForgeRuntimePreferences.patch only one - obvious - line of code is to be changed:

ForgeLaunchHelper.java:

"-"	launch = workingCopy.doSave().launch(ILaunchManager.DEBUG_MODE, null, false, true);
+	launch = workingCopy.doSave().launch(getLaunchMode(), null, false, true);

Didn't find an easy way to do this as patch.
                
      was (Author: shadogray):
    After import of ForgeRuntimePreferences.patch only one - obvious - line of code is to be changed:

ForgeLaunchHelper.java:

-	launch = workingCopy.doSave().launch(ILaunchManager.DEBUG_MODE, null, false, true);
+	launch = workingCopy.doSave().launch(getLaunchMode(), null, false, true);

Didn't find an easy way to do this as patch.
                  
> Make a preference option that can toggle launching Forge in RUN/DEBUG mode
> --------------------------------------------------------------------------
>
>                 Key: JBIDE-12086
>                 URL: https://issues.jboss.org/browse/JBIDE-12086
>             Project: Tools (JBoss Tools)
>          Issue Type: Sub-task
>          Components: forge
>            Reporter: Koen Aers
>            Assignee: Koen Aers
>             Fix For: 3.3.x
>
>         Attachments: ForgeRuntimePreferences.patch, org.jboss.tools.forge.ui.patch
>
>
> - Create a preference page with an editor for this option (or include it in an existing page)
> - Use the value of the option in ForgeLaunchHelper to specify whether RUN/DEBUG
> - Make sure the value is properly initialized (RUN mode)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the jbosstools-issues mailing list