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 77786

Summary: Move the TestUtil class in j2ee/earproject to a common location
Product: javaee Reporter: Andrei Badea <abadea>
Component: CodeAssignee: Andrei Badea <abadea>
Status: RESOLVED WONTFIX    
Severity: blocker CC: jungi, mkrauskopf, vkraemer
Priority: P3 Keywords: TEST
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: TASK Exception Reporter:

Description Andrei Badea 2006-06-13 10:40:57 UTC
... so other project types, like the EJB or web projects can use it. This class
is now copied to j2ee/clientproject, so it can be also removed from there.
Comment 1 Martin Krauskopf 2006-06-13 11:49:34 UTC
Yup, this would be great. Also notice that in the earproject there are some
enhancement(s?) like overloaded registerSunAppServer method by which you may add
custom items into the lookup. Not ideal, should be probably refactored to more
meaningful methods. (or maybe we could merge MockServices from the trunk, which
would be the best, but probably not so related to this issue).
Comment 2 Lukas Jungmann 2006-06-13 16:27:04 UTC
I think I saw something also in j2ee/archiveproject, so Vince might be also
interested in this...
Comment 3 Lukas Jungmann 2006-06-14 00:11:18 UTC
-all files required to bypass checks in AS plugin can be now created on-the-fly
(issue 74095) - see j2ee/clientproject/test/unit/data/SunAppServer.zip for more
info about them

-appsrvbridge lib. dependency(?) was moved to layer => no need for custom
InstalledFileLocator implementation

These changes can simplify a code in this class a lot...
Comment 4 Martin Balin 2016-07-07 08:56:07 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss