run - NBANDROIDTEAM/NBANDROID-V2 GitHub Wiki
- Make copy of yours Apache NetBeans folder
- Change
netbeans_default_userdir
andnetbeans_default_cachedir
to custom location in the file etc/netbeans.conf
netbeans_default_userdir="/custom/location/user_nb_android"
netbeans_default_cachedir="/custom/location/user_nb_android/var/cache"
- Add new Profile to NBANDROID-V2 root project pom.xml
<profiles>
<profile>
<id>your_name-NB100</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>nbm-maven-plugin</artifactId>
<version>${version.nb.plugin}</version>
<extensions>true</extensions>
<configuration>
<netbeansInstallation>FULL_PATH_TO_NB_COPY</netbeansInstallation>
<netbeansUserdir>FULL_PATH_TO_CUSTOM_USER_DIR</netbeansUserdir>
</configuration>
</plugin>
</plugins>
</build>
<properties>
<version.nb>RELEASE100</version.nb>
<asm.nb>asm-all-5.0.1</asm.nb>
<nb.impl>yours_netbeans_build_implementation_version</nb.impl>
</properties>
</profile>
...
<profiles>
- Open project properties of the NBANDROID-V2 root project
- Change Actions Run project and Debug project in your profile to:
- Run project
Execute goals:nbm:cluster nbm:run-ide
- Debug project
Execute goals:nbm:cluster nbm:run-ide
Set properties:
jpda.listen=true
netbeans.run.params.debug=-J-Xdebug -J-Xrunjdwp:transport=dt_socket,suspend=n,server=n,address=${jpda.address}
- Select your profile and Run or Debug the NBANDROID-V2 plugin.