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.
[exec] INFO [org.netbeans.modules.maven.ActionProviderImpl]: No handling for action:profile. Ignoring.
Got it working by: * adding NbMavenProject.TYPE_OSGI to the list of packagings supported for profiling in supportedPTypes field initialization in MavenProjectTypeProfiler class * adding org.osgi.framework.bootdelegation=* to the code generation for run.properties in the project's pom.xml * adding the following profile action definition to the project's nbactions.xml: <action> <actionName>profile</actionName> <goals> <goal>package</goal> <goal>org.codehaus.mojo:exec-maven-plugin:1.1.1:exec</goal> </goals> <properties> <exec.args>${profiler.args} -Dfelix.system.properties=file:${project.build.directory}/run.properties -cp ${project.build.directory}/felix.jar org.apache.felix.main.Main</exec.args> <exec.executable>${profiler.java}</exec.executable> <profiler.action>profile</profiler.action> </properties> <activatedProfiles> <activatedProfile>run-on-felix</activatedProfile> </activatedProfiles> </action>
Dafe, this will need to added to the OSGi bundle archetype.
Changeset: f5ddf351d84c Author: Dafe Simonek <dsimonek@netbeans.org> Date: 2010-04-01 16:20 Message: #182894: Enable profiling of OSGi bundles Issue #182894 - OSGi bundle project profiling not working
Also archetype updated and deployed: http://snapshots.repository.codehaus.org/org/codehaus/mojo/archetypes/osgi-archetype/1.0-SNAPSHOT/
Integrated into 'main-golden', will be available in build *201004020200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/f5ddf351d84c User: Dafe Simonek <dsimonek@netbeans.org> Log: #182894: Enable profiling of OSGi bundles Issue #182894 - OSGi bundle project profiling not working
v.