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.
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.
*** This issue has been marked as a duplicate of 132721 ***