NBANDROIDTEAM / NBANDROID-V2

Netbeans Android support plugin
Apache License 2.0
94 stars 25 forks source link

Building the Netbeans Modules fails with error: Missing manifest #177

Closed mweisshaupt1988 closed 5 years ago

mweisshaupt1988 commented 5 years ago

I have pulled the latest changes from master and did a clean build and after it has finished I tried to build the Netbeans modules but it failed with the following error:

[ERROR] Failed to execute goal org.codehaus.mojo:nbm-maven-plugin:4.1.1-NBANDROID:nbm (default-cli) on project Gradle-Android-support-models: Missing manifest tag OpenIDE-Module;
<path>/NBANDROID-V2/nbandroid.models/target/nbm/netbeans/extra/modules/sk-arsi-netbeans-gradle-android-Gradle-Android-support-models.jar is not a module -> [Help 1]

Also the nbm:run-ide goal does not do anything after the first library. All else is skipped and the goal is ended successfully. This is also strange.

[INFO] Gradle-Android-support ............................. SUCCESS [  1.394 s]
[INFO] Gradle-Android-support-models ...................... SKIPPED
[INFO] Gradle-Android-support-ext-libs .................... SKIPPED
[INFO] Gradle-Android-support-ext-libs-android ............ SKIPPED
[INFO] Gradle-Android-support-ext-src ..................... SKIPPED
[INFO] Gradle-Android-support-maven ....................... SKIPPED
[INFO] Gradle-Android-support-maven-impl .................. SKIPPED
[INFO] Gradle-Android-support-layout-lib .................. SKIPPED
[INFO] Gradle-Android-support-layout-spi .................. SKIPPED
[INFO] Gradle-Android-support-layout-impl ................. SKIPPED
[INFO] Gradle-Android-support-core ........................ SKIPPED

System information: Ubuntu 18.04 64bit OpenJDK 1.8.0_191 Maven 3.5.2

arsi-apli commented 5 years ago

You need to define the right actions for your profile in root module... Run:nbm:cluster nbm:run-ide

image

Debug: nbm:cluster nbm:run-ide and set properties jpda.listen=true netbeans.run.params.debug=-J-Xdebug -J-Xrunjdwp:transport=dt_socket,suspend=n,server=n,address=${jpda.address} image

Today I will make a wiki page with a description how to... The description from read.me is probably not enough.

arsi-apli commented 5 years ago

Done.. https://github.com/NBANDROIDTEAM/NBANDROID-V2/wiki/run

mweisshaupt1988 commented 5 years ago

Very good, this worked for me. Thanks.