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.
Change the ActionProvider and the Ant build script template such that actions org.netbeans.spi.project.SingleMethod.COMMAND_(RUN|DEBUG)_SINGLE_METHOD are supported.
For reference on how to make it work with "Compile on Save", look at http://hg.netbeans.org/main/rev/bf6e5ac3b136. I will add another reference here once full implementation for J2SE projects is ready.
core-main #9bf6e7c757b6
I verified using core build #4862 from deadlock.netbeans.org with a nightly build of Ant (1.8.2 alpha) and JDK 1.6.0u21. Thank you SO MUCH Jesse for this feature. It is quite possibly the most helpful feature that's been added to the IDE in the past two years. I'd write a thank you note to you on the back of $50 bill if only I knew where to send it.
I'll just note for others who may be following this issue that for this to work, you not only need a version of the IDE which includes the fix, but it seems the harness used to build your platform application must also include it. Thus, the "Run again" item on the context menu won't show up if your platform application is based, for example, on 6.8 and uses the default 6.8 build harness.
Correct, the action requires some minor additions to the build harness, so it is enabled only for post-6.9 harness versions.
Integrated into 'main-golden', will be available in build *201007130001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/9bf6e7c757b6 User: Jesse Glick <jglick@netbeans.org> Log: #142763: Add support for execution/debugging of a single test method