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 - Duplicated JUnit libraries
Summary: Duplicated JUnit libraries
Status: RESOLVED WORKSFORME
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.1.1
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on: 201334
Blocks:
  Show dependency tree
 
Reported: 2012-04-11 20:00 UTC by ulfzibis
Modified: 2012-04-12 06:35 UTC (History)
0 users

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 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.