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 211045

Summary: Duplicated JUnit libraries
Product: installer Reporter: ulfzibis <ulfzibis>
Component: CodeAssignee: Jiri Rechtacek <jrechtacek>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: P3    
Version: 7.1.1   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 201334    
Bug Blocks:    

Description ulfzibis 2012-04-11 20:00:16 UTC
[ BUILD # : 201204100400 ]
[ JDK VERSION : 1.7.3 ]

- On Administrator account install IDE with JUnit
- On user account run IDE first time
--> JUnit libraries are installed in user\,netbeans\7.1.1\modules\ext
- On Administrator account run IDE
--> Duplicate JUnit libraries are installed in Netbeans
7.1.1\platform\modules\ext

If I later run IDE on user account, not sure which location is used.
Is that what we want?
Can I delete libraries in user\,netbeans\7.1.1\modules\ext ?
Comment 1 ulfzibis 2012-04-11 20:27:54 UTC
Note: build in description is incorrect. I still can't install 201204100400, see bug 211044.
Comment 2 Jiri Rechtacek 2012-04-12 06:35:29 UTC
It's intentional. If you run it as administrator, JUnit libs go to shared directories. If you run it as regular user (e.g. you has no access to shared directories) the libs go to userdir. NetBeans module system can handle this case w/o any problem.