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.
See details in issue 218765
regression ? if so, any idea which commit caused this ?
(In reply to comment #1) > regression ? if so, any idea which commit caused this ? I don't think so - this is quite new use-case since 7.3
What exact "details" am I supposed to find in bug 218765? That one is fixed! There should be no way to reproduce it anymore. Thus I don't have steps to reproduce, right?
(In reply to comment #3) > What exact "details" am I supposed to find in bug 218765? That one is fixed! > There should be no way to reproduce it anymore. Thus I don't have steps to > reproduce, right? 1) Unzip latest Dev build to /tmp 2) invoke command: /tmp/netbeans-dev-201208302327/bin/netbeans -J-Dnetbeans.close=true --nosplash -J-Dorg.netbeans.core.WindowSystem.show=false --userdir /tmp/tmpnb --modules --install ".*junit.*" --update-all => JUnit will be downloaded/installed but MS will not load it
Reproduced. Thanks.
ergonomics#e1af66bcb201
Integrated into 'main-golden', will be available in build *201211280002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/e1af66bcb201 User: Jaroslav Tulach <jtulach@netbeans.org> Log: #218827: Module system doesn't load new modules in headless mode #218827: Need to disable InstalledFileLocator cache before calling into autoupdate.cli
Verified on: Product Version = NetBeans IDE Dev (Build 201212120001) (#c24126e2d423) Operating System = Linux version 3.0.0-28-generic running on amd64 Java; VM; Vendor = 1.7.0_10; Java HotSpot(TM) 64-Bit Server VM 23.6-b04; Oracle Corporation Runtime = Java(TM) SE Runtime Environment 1.7.0_10-b18 Java Home = /usr/local/share/java/jdk1.7.0_10/jre System Locale; Encoding = en_US (nb); UTF-8
Created attachment 129851 [details] install log Product Version: NetBeans IDE Dev (Build 201301030001) Java: 1.7.0_10; Java HotSpot(TM) 64-Bit Server VM 23.6-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_10-b18 System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb) JUnit during installation is downloaded, but after first start of IDE is not present. After restart it's OK. Reproducible on Windows. Install log in attachment.
> 1) Unzip latest Dev build to /tmp > 2) invoke command: /tmp/netbeans-dev-201208302327/bin/netbeans > -J-Dnetbeans.close=true --nosplash > -J-Dorg.netbeans.core.WindowSystem.show=false --userdir /tmp/tmpnb --modules > --install ".*junit.*" --update-all > => JUnit will be downloaded/installed but MS will not load it I've just tried these steps on my Windows machine and these modules were enabled before the IDE was shut down: org.netbeans.libs.junit4@1.14 org.netbeans.modules.junitlib@1.1
(In reply to comment #10) > > 1) Unzip latest Dev build to /tmp > > 2) invoke command: /tmp/netbeans-dev-201208302327/bin/netbeans > > -J-Dnetbeans.close=true --nosplash > > -J-Dorg.netbeans.core.WindowSystem.show=false --userdir /tmp/tmpnb --modules > > --install ".*junit.*" --update-all > > => JUnit will be downloaded/installed but MS will not load it > > I've just tried these steps on my Windows machine and these modules were > enabled before the IDE was shut down: > > org.netbeans.libs.junit4@1.14 > org.netbeans.modules.junitlib@1.1 Right, it is the same what I found in installer log.
Installation of full edition of 201301080001 seems to work on my Windows XP. According to log, both JUnit modules get downloaded and are now turned on.
Does not work for me in today's dev build: - install full IDE from installer - run IDE - Create anagram game sample -> broken references because of missing JUnit Product Version: NetBeans IDE Dev (Build 201301080001) Java: 1.6.0_27; Java HotSpot(TM) Client VM 20.2-b06 Runtime: Java(TM) SE Runtime Environment 1.6.0_27-b07 System: Windows 7 version 6.1 running on x86; Cp1252; en_US (nb) User directory: C:\Users\tester\AppData\Roaming\NetBeans\dev Cache directory: C:\Users\tester\AppData\Local\NetBeans\Cache\dev (In reply to comment #12) > Installation of full edition of 201301080001 seems to work on my Windows XP. > According to log, both JUnit modules get downloaded and are now turned on.
I'm going to solve it on autoupdate.cli side.
(In reply to comment #14) > I'm going to solve it on autoupdate.cli side. Not needed to solve it in the platform, needs to find a solution in NBI - issue 224078. The modules are loaded in headless mode correctly, however the modules cache don't contain these new modules. So long so the cache not refresh while closing IDE (issue 224618), the NBI has to use own solution.