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 59013 - build error in tests
Summary: build error in tests
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on: 58258
Blocks:
  Show dependency tree
 
Reported: 2005-05-18 12:29 UTC by pzajac
Modified: 2008-12-22 16:51 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
log.txt (37.30 KB, text/plain)
2005-05-18 12:31 UTC, pzajac
Details
MasterFsTests.log (41.24 KB, text/plain)
2005-05-18 12:36 UTC, pzajac
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pzajac 2005-05-18 12:29:09 UTC
The filesystem unit tests are not compilable

Steps to reproduce:
1) checkout cvs:
cvs co standard_nowww xtest_nowww
2) ant -f nbbuild/build.xml all-xtest
3) cd openide/fs/test
4) ant -Dnetbeans.dest.dir="path do netbeans build"
Comment 1 pzajac 2005-05-18 12:31:16 UTC
Created attachment 22177 [details]
log.txt
Comment 2 pzajac 2005-05-18 12:36:03 UTC
Created attachment 22178 [details]
MasterFsTests.log
Comment 3 pzajac 2005-05-18 16:09:52 UTC
Radek told me that it is more general problem. Reasdigned to Jarda (our test's
expert:-) ). 

Unit:
# * Execution failed in module core, testtype unit. See log
<http://ffjqa.czech/automatedtests/xtest/netbeans_4.2/200505161800/qa-unit/qa-frodo_1/testrun_050517-005543/logs/core_unit.log>
for details. *
# * Execution failed in module openide/fs, testtype unit. See log
<http://ffjqa.czech/automatedtests/xtest/netbeans_4.2/200505161800/qa-unit/qa-frodo_1/testrun_050517-005543/logs/openide_fs_unit.log>
for details. *
# * Execution failed in module openide/masterfs, testtype unit. See log
<http://ffjqa.czech/automatedtests/xtest/netbeans_4.2/200505161800/qa-unit/qa-frodo_1/testrun_050517-005543/logs/openide_masterfs_unit.log>
for details. *
# * Execution failed in module openide/util, testtype unit. See log
<http://ffjqa.czech/automatedtests/xtest/netbeans_4.2/200505161800/qa-unit/qa-frodo_1/testrun_050517-005543/logs/openide_util_unit.log>
for details. *
# * Execution failed in module openide/nodes, testtype unit. See log
<http://ffjqa.czech/automatedtests/xtest/netbeans_4.2/200505161800/qa-unit/qa-frodo_1/testrun_050517-005543/logs/openide_nodes_unit.log>
for details. *
# * Execution failed in module openide/options, testtype unit. See log
<http://ffjqa.czech/automatedtests/xtest/netbeans_4.2/200505161800/qa-unit/qa-frodo_1/testrun_050517-005543/logs/openide_options_unit.log>
for details. *
# * Execution failed in module openide/text, testtype unit. See log
<http://ffjqa.czech/automatedtests/xtest/netbeans_4.2/200505161800/qa-unit/qa-frodo_1/testrun_050517-005543/logs/openide_text_unit.log>
for details. 
Comment 4 Jaroslav Tulach 2005-05-20 19:03:39 UTC
This is the problem: 
 
dropping moje-nb/netbeans/tmp/lib/org-openide-util.jar from path  
dropping moje-nb/netbeans/tmp/core/org-openide-filesystems.jar from path  
 
the tests were updated to depend on the new split libraries, but those 
libraries are not part of the NetBeans*.zip file.  
 
One solution is to copy them to the test machine. Second is to wait till issue 
58258 gets implemented. Third is to copy platform5/core/openide.jar (if 
exists) to all places in tmp/lib/org-openide-*.jar is used.  
 
I prefer #2, but I cannot speed that up. The plan is to have it in trunk by 
end of May. If you need solution sooner, I would prefer to hack the 
infrastructure by copying openide.jar to multiple places.  
 
Comment 5 pzajac 2005-05-24 09:01:06 UTC
I added openide.jar and core.jar to compile classpath of tests. See

http://nbbuild.netbeans.org/source/browse/nbbuild/templates/xtest-unit.xml?r1=1.9&r2=1.10

It is quite dirty hack. Please remove it after the problem will be resolved.
Comment 6 Jaroslav Tulach 2005-05-24 10:03:37 UTC
Thanks Petr, I'll remove the hack as soon as I integrate issue 58258. 
Meanwhile it is not P1 anymore. 
Comment 7 Jaroslav Tulach 2005-06-04 08:46:36 UTC
cvs ci -m "pzajac's hack removed, it shall not be needed anymore" 
nbbuild/templates/xtest-unit.xml 
Checking in nbbuild/templates/xtest-unit.xml; 
/cvs/nbbuild/templates/xtest-unit.xml,v  <--  xtest-unit.xml 
new revision: 1.11; previous revision: 1.10 
Comment 8 pzajac 2005-06-16 10:19:11 UTC
v