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 133487 - Uncompilable tests
Summary: Uncompilable tests
Status: RESOLVED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Schema (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Samaresh Panda
URL: http://deadlock.netbeans.org/hudson/j...
Keywords: TEST
Depends on: 133859
Blocks:
  Show dependency tree
 
Reported: 2008-04-21 16:45 UTC by Jesse Glick
Modified: 2008-04-25 16:11 UTC (History)
1 user (show)

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 Jesse Glick 2008-04-21 16:45:47 UTC
Please check test compilability.
Comment 1 Jesse Glick 2008-04-21 16:49:46 UTC
Possibly related to issue #133220.
Comment 2 Samaresh Panda 2008-04-23 18:24:35 UTC
Is it still valid? I do not see any compilation error.
Comment 3 Samaresh Panda 2008-04-23 21:44:53 UTC
Invalid, unless I get some more info.
Comment 4 Jesse Glick 2008-04-23 23:14:38 UTC
http://deadlock.netbeans.org/hudson/job/test-compilation/lastBuild/testReport/org.netbeans.nbbuild/SubAntJUnitReport/_hudson_workdir_jobs_test_compilation_workspace_xml_schema/

still shows a failure, unless you have changed something very recently (in which case close after a successful run).
Check console output for messages.
Comment 5 Jesse Glick 2008-04-24 14:52:21 UTC
I guess I need to fix it myself. #2b0f843b5415
Comment 6 Samaresh Panda 2008-04-24 15:06:33 UTC
Didn't realize you made some changes. Here is one more: http://hg.netbeans.org/main/rev/6b35f686bb35.
Comment 7 Jesse Glick 2008-04-24 18:17:02 UTC
#6b35f686bb35 is fine but it did not actually fix the classpath. My #2b0f843b5415 gets rid of the special entry in
build-*.xml, which only works when the module is built by XTest (not for ant -f $module/build.xml build-all-tests),
replacing it with the preferred declarative test dependency. BTW in the near future $module/test/build*.xml will simply
be deleted as we will no longer rely on XTest.
Comment 8 Samaresh Panda 2008-04-24 18:35:32 UTC
I thought Mikhail Matveev fixed that issue, apparently not. And I saw that unit tests were not compiling. Thanks for
fixing that.
Comment 9 Quality Engineering 2008-04-25 03:53:35 UTC
Issue '133487' Integrated in NB_Trunk_Production #156 : http://hg.netbeans.org/main/rev/2b0f843b5415,
 with comment: #133487: fixing test compilation.
Comment 10 Jesse Glick 2008-04-25 16:10:32 UTC
BTW I had to make another fix; build-qa-functional.xml had a lot of weird stuff in it that did not seem necessary and
which prevented it from correctly reading project.xml test CP entries.