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: | Show license dialog when user did not accept license during installation | ||
---|---|---|---|
Product: | platform | Reporter: | mslama <mslama> |
Component: | -- Other -- | Assignee: | mslama <mslama> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | apireviews |
Priority: | P2 | Keywords: | API_REVIEW_FAST |
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | TASK | Exception Reporter: | |
Bug Depends on: | 62791, 62829, 62831 | ||
Bug Blocks: | |||
Attachments: |
Diff
New files to be added Correct original diff (for completness) Modified new files 1 Modified diff1 |
Description
mslama
2005-08-11 13:27:09 UTC
Created attachment 23722 [details]
Diff
Created attachment 23723 [details]
New files to be added
Note: Currently license text is directly in module updater jar. As license will be added to nb cluster UI will use it and it will be removed from jar. Where is the change to core/startup code? I cannot find any. However I am affraid that there is small problem. If I am not mistaken, you are reusing netbeans.importclass and searching for method acceptLicense in it. This may cause problems to our partners using the property in earlier versions and not defining the acceptLicense there. Of course, this is just friend contract, but maybe the correct way is to add new property? Oops I attached incorrect diff. If there can be problem with anyone else using this friend API I will introduce new system property 'netbeans.acceptlicenseclass'. Then it is necessary also to modify IDE launcher to define new property. I assume it is not necessary to create separate module for it. I just create new class. I will modify sources and attach modified and correct diff. Created attachment 23880 [details]
Correct original diff (for completness)
Created attachment 23940 [details]
Modified new files 1
Created attachment 23941 [details]
Modified diff1
Ok. I guess. Btw. you can do cvs add and then use cvs diff -N to generate diff even for new files. Today I am going to modify License dialog UI according to UI review and add some details about logic (The same description as given above.) I am going to commit changes on Monday. Last undecided issue is if license text should be in jar or not. I prefer to have license text in jar so that jar will be independent and solution will be more robust. License text is also present in nb cluster dir to be available to user. But if it would be deleted from nb cluster this dialog could not work. License is now small (~15KB) so saved disk space is not issue here. Fixed in main trunk. /cvs/core/arch/arch-core-launcher.xml new revision: 1.31; previous revision: 1.30 /cvs/core/startup/src/org/netbeans/core/startup/Bundle.properties new revision: 1.6; previous revision: 1.5 /cvs/core/startup/src/org/netbeans/core/startup/Main.java new revision: 1.3; previous revision: 1.2 /cvs/core/startup/test/unit/src/org/netbeans/core/startup/NonGuiHandleCheckOfLicenseTest.java initial revision: 1.1 /cvs/ide/branding/core/src/org/netbeans/core/startup/Bundle_nb.properties new revision: 1.3; previous revision: 1.2 /cvs/ide/launcher/os2/netbeans.cmd new revision: 1.11; previous revision: 1.10 /cvs/ide/launcher/unix/netbeans new revision: 1.23; previous revision: 1.22 /cvs/ide/launcher/upgrade/build.xml new revision: 1.2; previous revision: 1.1 /cvs/ide/launcher/upgrade/src/org/netbeans/license/AcceptLicense.java initial revision: 1.1 /cvs/ide/launcher/upgrade/src/org/netbeans/license/Bundle.properties initial revision: 1.1 /cvs/ide/launcher/upgrade/src/org/netbeans/license/LicensePanel.form initial revision: 1.1 /cvs/ide/launcher/upgrade/src/org/netbeans/license/LicensePanel.java initial revision: 1.1 /cvs/ide/launcher/windows/netbeans.cpp new revision: 1.17; previous revision: 1.16 /cvs/ide/www/proposals/LicenseDlg.gif new revision: 1.2; previous revision: 1.1 /cvs/ide/www/proposals/ui-spec-display-click-through-license.html new revision: 1.2; previous revision: 1.1 /cvs/installer/lib/src/org/netbeans/installer/PostInstallFixupAction.java new revision: 1.13; previous revision: 1.12 |