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 136614 - Profiler relies on build.xml not nbbuild.xml
Summary: Profiler relies on build.xml not nbbuild.xml
Status: RESOLVED DUPLICATE of bug 132721
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-06 01:03 UTC by nigel_charman
Modified: 2008-08-28 11:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nigel_charman 2008-06-06 01:03:37 UTC
Using an existing project that had an existing build.xml file, I setup a new "Java Project with Existing Sources".  The
new project build file is called nbbuild.xml.

On starting the profiler, NetBeans copies my existing build.xml file to build-before-profiler.xml, and displays a
message that I need to manually add an import statement for profiler-build-impl.xml to my build.xml.  After adding this
import to my nbbuild.xml file, the profiler would not work.  I needed to add to my existing build.xml file to make it work.

Is there any way to change the name of the buildfile that the profiler is using?  It appears that the profiler is
hardcoded to use build.xml, and is not using the buildfile property from project.properties.

In the case where project.properties has buildfile=nbbuild.xml, I would expect the profiler to copy the existing
nbbuild.xml to nbbuild-before-profiler.xml and then to modify and use nbbuild.xml for profiling.
Comment 1 J Bachorik 2008-08-28 11:01:48 UTC

*** This issue has been marked as a duplicate of 132721 ***