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 - Uncompilable tests
Summary: Uncompilable tests
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: WSIT (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Martin Grebac
URL: http://deadlock.netbeans.org/hudson/j...
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2008-04-25 18:39 UTC by Jesse Glick
Modified: 2008-06-24 11:59 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.
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.