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 167138 - debug test file fails in junit-debug.xml line 105 unless "Debug test" action is dirty
Summary: debug test file fails in junit-debug.xml line 105 unless "Debug test" action ...
Status: RESOLVED INVALID
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-16 02:59 UTC by gregjohnson
Modified: 2009-09-18 09:55 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 gregjohnson 2009-06-16 02:59:37 UTC
Effectively, Debugging a JUnit test for a maven project in 6.7 RC2 is unworkable

"Debug Test File" fails for a maven project running junit4 in junit-debug.xml line 105:

    <target name="-debug-test-class" depends="-prepare-execution" unless="methodname">
        <junit-debug-template/>
    </target>

To reproduce:
* setup maven project
* setup junit test
* Debug->Debug Test File - should work
* Debug->Debug Test File - fails
* Project->Properties->Actions->Debug test - dirty the field, eg prefix targets with "clean", save
* Debug->Debug Test File - should work
* Debug->Debuf Test File - fails
Comment 1 Marian Mirilovic 2009-06-22 11:30:34 UTC
reassign to maven for evaluation
Comment 2 Milos Kleint 2009-06-22 12:33:14 UTC
the problem is in the JavaRunner implementation that is implemented by the ant scripts.
Comment 3 Rastislav Komara 2009-07-14 16:01:20 UTC
Can't replicate. Please provide more information. Marking as incomplete.
Comment 4 Jan Lahoda 2009-08-20 10:02:23 UTC
Reassigning all moonko's java/source bugs to myself.
Comment 5 Peter Pis 2009-09-18 09:55:17 UTC
Without requested information for long time - INVALID. We can't do anything in this case. Reporter, please add requested
information and reopen issue. Thanks in advance.