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.
Summary: | PROJECT with JUNIT4 TEST does not build after install of NB7.1 | ||
---|---|---|---|
Product: | java | Reporter: | ngx472 <ngx472> |
Component: | Project | Assignee: | Tomas Zezula <tzezula> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | jglick |
Priority: | P3 | ||
Version: | 7.1 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
ngx472
2012-03-18 08:44:54 UTC
I confirm after installing 7.1.1 fresh that junit does not work for a RCP module which does NOT include the Java cluster. For me, it can't be a requirement that the RCP you build includes java just for the sake of being able to use JUNIT while developing this RCP, unless I miss something This is all happening under Windows 7 (64) NOTE 1: When deinstalling/installing junit plugin, there is a file access error warning (see below) WARNING [org.netbeans.modules.autoupdate.services.InstallManager]: There is no write permission to write in target cluster java for JUnit[org.netbeans.modules.junitlib/1.1] WARNING [org.netbeans.modules.autoupdate.services.InstallManager]: There is no write permission to write in target cluster java for JUnit[org.netbeans.modules.junitlib/1.1] WARNING [org.netbeans.modules.autoupdate.services.InstallManager]: There is no write permission to write in target cluster extra for JUnit[org.netbeans.modules.junitlib/1.1] INFO [org.netbeans.modules.autoupdate.services.InstallManager]: Declared target cluster java in JUnit[org.netbeans.modules.junitlib/1.1] wasn't found or was read only. Will be used C:\Users\Nicolas Gouteux\.netbeans\7.1.1 INFO [org.netbeans.modules.autoupdate.services.InstallSupportImpl]: Trying external URL: m2:/junit:junit:3.8.2:jar:javadoc INFO [org.netbeans.modules.autoupdate.services.InstallSupportImpl]: Trying external URL: m2:/junit:junit:4.10:jar:javadoc INFO [org.netbeans.modules.autoupdate.services.InstallSupportImpl]: Trying external URL: m2:/junit:junit:4.10:jar:sources INFO [org.netbeans.modules.autoupdate.services.InstallSupportImpl]: Trying external URL: m2:/junit:junit:3.8.2:jar INFO [org.netbeans.updater]: File installed C:\Users\Nicolas Gouteux\.netbeans\7.1.1\config\Modules\org-netbeans-modules-junitlib.xml@0 INFO [org.netbeans.updater]: File installed C:\Users\Nicolas Gouteux\.netbeans\7.1.1\docs\junit-3.8.2-api.zip@0 INFO [org.netbeans.updater]: File installed C:\Users\Nicolas Gouteux\.netbeans\7.1.1\docs\junit-4.10-javadoc.jar@0 INFO [org.netbeans.updater]: File installed C:\Users\Nicolas Gouteux\.netbeans\7.1.1\docs\junit-4.10-sources.jar@0 INFO [org.netbeans.updater]: File installed C:\Users\Nicolas Gouteux\.netbeans\7.1.1\modules\ext\junit-3.8.2.jar@0 INFO [org.netbeans.updater]: File installed C:\Users\Nicolas Gouteux\.netbeans\7.1.1\modules\org-netbeans-modules-junitlib.jar.pack.gz@0 INFO [org.netbeans.updater]: File installed C:\Users\Nicolas Gouteux\.netbeans\7.1.1\update_tracking\org-netbeans-modules-junitlib.xml@0 INFO [org.netbeans.core.startup.NbEvents]: Turning on modules: NOTE 2: for the one having the same issue, there was a typo in the 4 files to copy mentionned in the previous post (missing ext directory). Anyway, the "copy " command from a cmd window wont work for permissions reasons. The best way to fix the issue is to open 2 windows, one of a previous NB installation where JUNIT worked and a new one, search for *junit* from the NB root, and copy paste all missing files. That's the way I did it *** This bug has been marked as a duplicate of bug 198739 *** |