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 127351

Summary: Uncompilable tests
Product: webservices Reporter: Jesse Glick <jglick>
Component: ManagerAssignee: Nam Nguyen <nnguyen>
Status: VERIFIED FIXED    
Severity: blocker CC: jungi, quynguyen
Priority: P1 Keywords: TEST
Version: 6.x   
Hardware: All   
OS: All   
URL: http://deadlock.netbeans.org/hudson/job/test-compilation/lastBuild/testReport/
Issue Type: DEFECT Exception Reporter:

Description Jesse Glick 2008-02-14 01:36:20 UTC
Seems websvc.manager and visualweb.websvcmanager currently have uncompilable tests. Please fix.
Comment 1 Lukas Jungmann 2008-02-14 12:33:47 UTC
exact compilation error is:

[javac] /space/hg/main/websvc.manager/test/unit/src/org/netbeans/modules/websvc/manager/test/SetupUtil.java:83: cannot
assign a value to final variable WEBSVC_HOME
[javac]         WebServiceDescriptor.WEBSVC_HOME = websvcHome.getAbsolutePath();
[javac]                             ^
[javac] 1 error

visualweb.websvcmanager unit tests seems to compile OK now (using ant build-test-dist)
Comment 2 Nam Nguyen 2008-02-14 15:48:39 UTC
Fixed test, removing unnecessary and incorrect constraint the test setup put on code supposedly static constant variable

http://hg.netbeans.org/main/rev/d03920d06a9e
Comment 3 Quy Nguyen 2008-02-14 19:18:05 UTC
This was originally put in place to test scenarios where the userdir had spaces in the path, since the websvc manager
heavily relies on the userdir for many things.
Comment 4 Jaroslav Pospisil 2008-03-12 15:36:35 UTC
v.