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.
License Agreement appears again and again during startup in spite already accepted. Started to happen in the latest trunk build. Product Version: NetBeans IDE Dev (Build 201204260400) Java: 1.7.0_04; Java HotSpot(TM) 64-Bit Server VM 23.0-b21 System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb) User directory: D:\Development\builds\nbUserdir-20120426151231 Cache directory: D:\Development\builds\nbUserdir-20120426151231\var\cache
I guess it's caused by http://hg.netbeans.org/main-silver/rev/1a15d7e31cd9 If I'm wrong, assign to other suspected component if any. Thanks
Btw. I saw it yesterday on my linux.
The old code was possibly wrong; the new code is definitely wrong, since this file is not part of any NBM fileset. Need to use: File f = new File(Places.getUserDirectory(), "var/license_accepted");
*** Bug 211812 has been marked as a duplicate of this bug. ***
OK, I don't believe the old code is wrong. It is there for five years. Rather, the way IFL was changed to work (e.g. require cnb or complain) is incompatible. I will rollback the change.
ergonomics#cacd5734cffd
Stopper for Beta. Jardo, backport to release72_beta. Thanks.
Can anyone verify, so I can integrate to release72_beta?
Tomáš and Jirka reported that this problem is not yet fixed.
*** Bug 211233 has been marked as a duplicate of this bug. ***
One more try: ergonomics#5df317716eb2 Use $ hg pull -r 5df317716eb2 http://hg.netbeans.org/ergonomics $ hg merge to get my changes into your repository (releases or any other).
Created attachment 118884 [details] My current version of platform/core/core.jar
Happens to me too on mac os x lion: Product Version: NetBeans IDE Dev (Build 201204260400) Java: 1.6.0_31; Java HotSpot(TM) 64-Bit Server VM 20.6-b01-415 System: Mac OS X version 10.7.3 running on x86_64; MacGreek; el_GR (nb)
(In reply to comment #5) > I don't believe the old code is wrong. It is there for five years. Well then it was wrong for five years and no one noticed because IFLI was sloppy. IFL is only for loading files managed by autoupdate, which this is not. Is there some problem with using Places? Do we expect to find var/license_accepted anywhere besides the user directory?
I see: org.netbeans.installer.utils.applications.NetBeansUtils.createLicenseAcceptedMarker does create it in the nb cluster, I guess because it cannot predict the userdir at this point (though other methods in this class claim to do so), or wishes to indicate acceptance given any userdir based on this installation (?); and it neglects the modify any nb/update_tracking/*.xml to reflect the existence of this file, meaning it is invisible to IFL. So 5df317716eb2 should be fine - checks in both ${netbeans.user} (runtime license acceptance) and the .../nb element of ${netbeans.dirs} (install-time acceptance).
As note in emails offline, this fix seems to work. (In reply to comment #12) > Created attachment 118884 [details] > My current version of platform/core/core.jar
changeset: 3a5fd6b20cb3 branch: release72_beta tag: tip parent: b0ec3ddd67fe parent: 5df317716eb2 user: Jaroslav Tulach <jtulach@netbeans.org> date: Wed May 02 10:46:20 2012 +0200 summary: Merge of #211785 to 7.2 beta branch
Integrated into 'main-golden', will be available in build *201205020400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/cacd5734cffd User: Jaroslav Tulach <jtulach@netbeans.org> Log: #211785: Backed out fix for bug #211233
Integrated into 'releases', will be available in build *201210100002* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/3a5fd6b20cb3 User: Jaroslav Tulach <jtulach@netbeans.org> Log: Merge of #211785 to 7.2 beta branch