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.
I tried to "migrate" from 'nbprofile' to 'nbprofiledirect' as described in the docs and got the following (ant) error: BTW: Where's a docmentation on that new task, especially what elements and attributes are supported (attribute 'classpathref' would be nice e. g.)? ... <nbprofiledirect> <classspath> <pathelement location="."/> </classspath> </nbprofiledirect> ... D:\java\src\com\afs\build.common.ide.xml:346: The <antlib:org.netbeans.modules.profiler:nbprofiledirect> type doesn't support the nested "classspath" element. at org.apache.tools.ant.IntrospectionHelper.throwNotSupported (IntrospectionHelper.java:463) at org.apache.tools.ant.UnknownElement.handleChildren (UnknownElement.java:329) at org.apache.tools.ant.UnknownElement.configure (UnknownElement.java:182) at org.apache.tools.ant.UnknownElement.maybeConfigure (UnknownElement.java:158) at org.apache.tools.ant.Task.perform(Task.java:363) at org.apache.tools.ant.Target.execute(Target.java:341) at org.apache.tools.ant.Target.performTasks(Target.java:369) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) at org.apache.tools.ant.Project.executeTarget(Project.java:1185) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets (DefaultExecutor.java:40) at org.apache.tools.ant.Project.executeTargets(Project.java:1068) at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run (BridgeImpl.java:234) at org.apache.tools.ant.module.run.TargetExecutor.run (TargetExecutor.java:242) at org.netbeans.core.execution.RunClassThread.run (RunClassThread.java:125)
The nbprofiledirect task takes only one subelemt, "classpath". Everything else is passed to it via properties. The docs could be found at http://profiler.netbeans.org/docs/help/antTasksForProfiling.html Your problem is caused by misspelling the classpath element name - it shoul dbe "classpath", not "classspath".
Sorry, shame on me ...
Verification of old issues.
Closing old issues.
Reverting to the original Target Milestone value changed by mistake. Sorry for inconvenience.