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 - Uncompilable tests
Summary: Uncompilable tests
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Manager (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Nam Nguyen
URL: http://deadlock.netbeans.org/hudson/j...
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2008-02-14 01:36 UTC by Jesse Glick
Modified: 2008-03-12 15:36 UTC (History)
2 users (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-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.