If you use maven, you can configure the plugin to add addition files to nbm.
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>nbm-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<nbmResources>
<nbmResource>
<directory>release/test</directory>
<targetPath>modules/test</targetPath>
<includes>
<include>**/*.*</include>
</includes>
</nbmResource>
</nbmResources>
</configuration>
</plugin>
This should also give you tips for solving ant (which I don’t know by heart).
source
share