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 133964

Summary: Uncompilable tests
Product: webservices Reporter: Jesse Glick <jglick>
Component: WSITAssignee: Martin Grebac <mgrebac>
Status: VERIFIED FIXED    
Severity: blocker Keywords: TEST
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://deadlock.netbeans.org/hudson/job/test-compilation/691/testReport/org.netbeans.nbbuild/SubAntJUnitReport/_hudson_workdir_jobs_test_compilation_workspace_websvc_wsitconf/
Issue Type: DEFECT Exception Reporter:

Comment 1 Martin Grebac 2008-04-28 09:47:10 UTC
Fixed:

changeset:   79199:718039b8bfaa
user:        mgrebac@netbeans.org
date:        Mon Apr 28 10:41:45 2008 +0200
summary:     Fix of 133964 - Uncompilable tests
Comment 2 Jesse Glick 2008-04-28 18:11:21 UTC
No, now it's worse because no one can compile tests; you introduced some kind of cycle into test dependencies.
Comment 3 Jesse Glick 2008-04-28 18:18:06 UTC
I hope fixed properly in #79a0b2b78208.
Comment 4 Quality Engineering 2008-04-29 04:18:28 UTC
Integrated into 'main-golden', available in NB_Trunk_Production #164 build
Changeset: http://hg.netbeans.org/main/rev/79a0b2b78208
User: Jesse Glick <jglick@netbeans.org>
Log: Fixing build-test-dist cycle introduced by prior fix for #133964.
Comment 5 Martin Grebac 2008-04-29 09:03:39 UTC
Thanks. I wonder why did it compile/run fine on my machine?
Comment 6 Jesse Glick 2008-04-29 15:34:17 UTC
After your fix,

ant -f websvc.wsitconf/build.xml build-all-tests

worked. However

ant build-test-dist

died immediately, because in your tests you declared a test dependency on yourself, which is a cycle, and
build-test-dist needs to topologically sort all modules so it knows which to build first (since some modules have test
deps on others).
Comment 7 Lukas Jungmann 2008-06-24 11:59:32 UTC
v.