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.
The dialog that appears when profiling a project for the "first" time needs to be reworded slightly. Currently it says: "This is the first time this project is to be profiled..." It seems that this is not quite true. Seems like it should say something like "NetBeans Profiler is not integrated with this project. To integrate Profiler with the project, the Profiler needs to ..." Not sure if "integrate" is the correct word. There is an item under Advanced Commands that says to "Unintegrate Profiler from ..." which is i assume means undo what was done the first time the project is profiled. Technically, "unintegrate" is not a verb, and the opposite of integrate is disintegrate, which we probably dont want to say.
Based on previous email communication, could you please suggest concrete new wording of the dialog for 6.0? Please note that this will be the only solution of automatic Profiler & Project integration, there will be no manual integration support in 6.0. Also please suggest better wording for "Unintegrate Profiler from...", it should be short and contain display name of selected project.
I would suggest using "Restore build script for XXX" instead of "Unintegrate Profiler from XXX" I am not entirely convinced that this is the best wording or the best way to describe how the project is prepared for profiling. Here are my suggestions for changes to the text in the dialogs. Add import dialog: 1. Change title of dialog box to "Profile Project" 2. Change text in dialog to the following: "The IDE needs to add an import task to the project build script to enable profiling. Click OK to allow the IDE to modify the build script and create a backup of the original build script. You can restore the original build script by choosing Profile > Advanced Commands > Restore build script from the main menu." Remove import dialog: 1. Change the title to "Restore Build Script" 2. Change text in dialog to the following: "Click OK to restore the original build script for the project XXX. The backup of the original build script was created when it was modified to enable profiling. Modifications made to the build script after the backup was created will be lost."
I've slightly changed the two dialogs, see the screenshots below. If not exactly incorrect, I would like to keep this wording for 6.0. I've kept the action name "Unintegrate", it seems to be quite widely used term in this area (check google for unintegrate). I've also kept the term "Integration" instead of "Buildscript modification" because the integration here does more than just a buildscript modification.
Created attachment 51694 [details] integrate profiler
Created attachment 51695 [details] unintegrate profiler
Fixed in trunk. /cvs/profiler/modules/j2se/src/org/netbeans/modules/profiler/j2se/Bundle.properties,v <-- Bundle.properties new revision: 1.2; previous revision: 1.1 /cvs/profiler/modules/j2se/src/org/netbeans/modules/profiler/j2se/J2SEProjectTypeProfiler.java,v <-- J2SEProjectTypeProfiler.java new revision: 1.2; previous revision: 1.1 /cvs/profiler/modules/j2ee/src/org/netbeans/modules/profiler/j2ee/Bundle.properties,v <-- Bundle.properties new revision: 1.2; previous revision: 1.1 /cvs/profiler/modules/j2ee/src/org/netbeans/modules/profiler/j2ee/J2EEProjectTypeProfiler.java,v <-- J2EEProjectTypeProfiler.java new revision: 1.2; previous revision: 1.1 /cvs/profiler/modules/main/src/org/netbeans/modules/profiler/utils/ProjectUtilities.java,v <-- ProjectUtilities.java new revision: 1.2; previous revision: 1.1 /cvs/profiler/modules/main/src/org/netbeans/modules/profiler/utils/Bundle.properties,v <-- Bundle.properties new revision: 1.2; previous revision: 1.1