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.
NetBeans IDE Dev (Build 200705311200) 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 Windows XP version 5.1 running on x86 ru_RU (nb); Cp1251 When Profiler is invoked for freeform project for the first time, user is asked for ant target. If user selects some, he has no UI to change it afterwards. The most appropriate place, I believe, is Project's Properties, Build and Run category. The same problem with profile file ant target.
You're right that there should be a possibility to change already selected ant targets for profiling. However, I don't think that this is a typical requirement - if you create and select "profile" target for profiling, why wouldn't you use it then? Implementing this change will require UI changes, thus not for 6.0. Moreover, I think that to include this setting to Project's Properties dialog, general profiling framework needs to be introduced (see Issue 109072). Based on the problem severity and the fact that profiling freeform projects actually works correctly, I'm changing the issue type to ENHANCEMENT. If you still need to change the target for profiling, just delete the <data xmlns="http://www.netbeans.org/ns/profiler/1" profile-file-target="profile-single" profile-target="profile" version="0.4"/> element in nbproject/private/private.xml file and the profiler will ask you to select new target for profiling when starting new profiling session.
Thank you, Jiri, for this workaround. Ken, probably this could be included into docs?
I think it can/should be included in FAQ. It could also be demonstrated in a tutorial and some freeform docs
Milestone cleanup: future->next
Freeform profile targets are handled in the same way as run/debug targets http://hg.netbeans.org/profiler-main/rev/cf681524d222