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.
NetBeans build 201206020001 JDK 7u3 32-bit While running through the OSGi test spec [1], test suite 3, test 3, I came across this issue. When profiling a NetBeans platform application in Felix, there is an error in osgi.xml at line 146: condition doesn't support the "if" attribute. And this causes the profiling to fail.
What is OSGi test spec? What version of Ant are you using?
Probably caused by fix for bug 203519.
Argh sorry, forgot to add the link to the test spec [1]. :) [1] http://wiki.netbeans.org/TS_69_Apisupport_OSGI I am using the bundled Ant - version 1.8.3.
In the -profile-check target I guess you mean (line 164, not 146). Passing to yardus since I am not sure what this code is supposed to be doing. If the if="netbeans.home" was intentional then probably you meant to use <and><isset property="netbeans.home"/>...</and>?
Yes indeed line 164.
fixing an obvious nonsense in osgi.xml - http://hg.netbeans.org/profiler-main/rev/34d66d6f3425
Integrated into 'main-golden', will be available in build *201206100001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/34d66d6f3425 User: Jaroslav Bachorik <yardus@netbeans.org> Log: #213580: Fixing an obvious nonsense in osgi.xml
Verified with build 201206100001.