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.

Bug 111933 - Profiler integration with free-form projects does not support different build scripts
Summary: Profiler integration with free-form projects does not support different build...
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 2 votes (vote)
Assignee: J Bachorik
URL: http://wiki.netbeans.org/wiki/view/Ne...
Keywords:
: 114739 (view as bug list)
Depends on: 203519
Blocks:
  Show dependency tree
 
Reported: 2007-08-03 16:41 UTC by Alexander Kouznetsov
Modified: 2012-04-02 09:40 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
jEdit netbeans project (2.19 MB, application/octet-stream)
2007-08-03 16:50 UTC, Alexander Kouznetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kouznetsov 2007-08-03 16:41:36 UTC
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.
Comment 1 Alexander Kouznetsov 2007-08-03 16:50:51 UTC
Created attachment 46132 [details]
jEdit netbeans project
Comment 2 Tomas Hurka 2007-08-06 10:35:39 UTC
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.
Comment 3 Daria Titova 2007-08-08 16:53:30 UTC
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.
Comment 4 Tomas Hurka 2007-09-12 11:39:36 UTC
*** Issue 114739 has been marked as a duplicate of this issue. ***
Comment 5 gborkowski 2007-09-13 08:00:32 UTC
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.
Comment 6 Tomas Hurka 2007-09-13 08:14:46 UTC
You are right. The description is not very clear, but I believe that this request for the same enhancement as issue #114739.
Comment 7 jn 2009-03-31 19:54:40 UTC
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.

Comment 8 Tomas Hurka 2009-04-08 10:09:43 UTC
Target milestone cleanup.
Comment 9 Tomas Hurka 2009-04-08 12:53:11 UTC
Milestone cleanup: future->next
Comment 10 J Bachorik 2012-04-02 09:40:54 UTC
Freeform profile targets are handled in the same way as run/debug targets

http://hg.netbeans.org/profiler-main/rev/cf681524d222