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.
Profiler 1.3 070802 I have a jEdit project imported as Java Project with Existing Ant Script. According to http://wiki.netbeans.org/wiki/view/NetbeansedJEdit it has profile ant target in build-nb.xml When I invoke Profile Main Project option it asks me about ant target. However the dialog window has only list of build.xml targets and it is not possible to specify profile target.
Created attachment 46132 [details] jEdit netbeans project
The NetbeansedJEdit tutorial is incorrect. The profile target must be in the same script as run, compiler, clean and debug targets. In addition no modification of project.xml is needed. Profile action is added automatically to the context menu. Please work with Daria Titova to fix the NetbeansedJEdit tutorial.
Since this issue is related to profiler integration with free-form ant projects, and NetbeansedJEdit tutorial works, I modify type of this issue from defect to enhencment and change sinopsys.
*** Issue 114739 has been marked as a duplicate of this issue. ***
Since Issue 114739 has been marked as duplicate of this, and I'm the reported of that issue, and I'm not sure if it is really a duplicate, I copy the description of Issue 114739 here: "Add option to generate profiler task in different file. (Based on issue #109144) To start the profiler in a free-form project one should be able to specify different file than main Ant file (build.xml). All IDE-specific tasks are normally generated in nbproject/ide-targets.xml file, to make main build file IDE-agnostic. So it would be desirable to have the same option for profiler. Currently user is forced to add NetBeans-specific profiler task to main build file." So if you think that we are talking about the same thing - then ok, I leave Issue 114739 as duplicate.
You are right. The description is not very clear, but I believe that this request for the same enhancement as issue #114739.
Wow, this issue is a few years old. How hard is it to allow the user to choose another target? At least, you could provide a free-form field so that we could type the target name in directly -- as is already done on the Build and Run page of the freeform Project Properties dialog.
Target milestone cleanup.
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