This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 146760 - If user pressed on 're-run' button, then NetBeans should launch program without rebuild and with old settings
Summary: If user pressed on 're-run' button, then NetBeans should launch program witho...
Status: RESOLVED WONTFIX
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Thomas Preisler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-10 12:04 UTC by soldatov
Modified: 2009-05-14 16:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2008-09-10 12:04:53 UTC
Now 'Re-run' button in 'Output' tab is duplicate of 'Run' button in toolbar. When I press on this button, then IDE
rebuild project and launches program with new arguments from 'Project Properties' window (though for example IDE ignores
changes in 'Set Project Configuration' listbox on toolbar).
My suggestion: If user pressed on 're-run' button, then NetBeans should launch program without rebuild and with old
arguments (and other settings)
Comment 1 soldatov 2008-09-10 17:36:01 UTC
I installed Java plug-in and 're-run' button works correctly in it.
Scenario:
- Create Java project and add such code:
    public static void main(String[] args) {
        for (int i = 0; i < args.length; i++) {
            System.out.println("+++ " + args[i]);
        }
    }
- Add "1 2 3 4" arguments into project
- Run projects
==> program prints 4 lines
- Change arguments on "1 2"
- Click on 're-run' button
==> program prints 4 lines again

Comment 2 Thomas Preisler 2009-04-14 22:54:52 UTC
I believe the behavior is correct. Java projects now rebuild on save so in reality effect you get the same behavior. Regarding the arguments, I this our behavior 
is also correct, but may just be a matter of taste. I can only speculate but I doubt the Java behavior is deliberate. Will close as Wnt Fix, but you can reopen if 
you insist.
Comment 3 Vladimir Voskresensky 2009-05-14 16:08:40 UTC
resolved in 6.7