What went wrong:
Execution failed for task ‘:sdk:buildSdk’.
The following error occurred while executing this line:
C:\Test\jmonkeyengine\sdk\build.xml:7: The following error occurred while
executing this line:
C:\Test\jmonkeyengine\sdk\nbproject\build-impl.xml:41: Cannot find NetBean
s build harness.
Check that nbplatform.default.netbeans.dest.dir and nbplatform.default.harness
.dir are defined.
On a developer machine these are normally defined in ${user.properties.file}=$
{netbeans.user}/build.properties
but for automated builds you should pass these properties to Ant explicitly.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.
You probably opened the sdk project in netbeans before building the main project. Delete the sdk/nbproject/private folder, then build the main gradle project.
:sdk:buildSdk
[ant:convertclusterpath] Warning: no numbered cluster matching bare name ‘C:\Tes
t\jmonkeyengine\netbeans\java’ found.
[ant:convertclusterpath] Warning: no numbered cluster matching bare name ‘C:\Tes
t\jmonkeyengine\netbeans\nb’ found.
[ant:convertclusterpath] Warning: no numbered cluster matching bare name ‘C:\Tes
t\jmonkeyengine\netbeans\platform’ found.
:sdk:buildSdk FAILED
What went wrong:
Execution failed for task ‘:sdk:buildSdk’.
The following error occurred while executing this line:
C:\Test\jmonkeyengine\netbeans\harness\suite.xml:195: Problem with C:\Temp
\PBR\jmonkeyengine\netbeans\ide\modules\ext\xerces-2.8.0.jar: java.util.zip.ZipE
xception: error in opening zip file
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.
Looks like the netbeans download was corrupted (or whatever OS you run on that VM has wonky zip support). Try deleting both the netbeans folder and the sdk/nbproject/private folder again.
BUILD FAILED
C:\Test\jmonkeyengine\netbeans\harness\suite.xml:187: The following error oc
curred while executing this line:
C:\Test\jmonkeyengine\netbeans\harness\common.xml:220: Class not found: java
c1.8
idk why you use the ant.bat from netbeans 7 directly but after you built the main project you can build with vanilla ANT or open the SDK project with NetBeans 8 and call the build-zip target from there. (Actually it should even work with NB7 but when coding/running the SDK from NB you might get some oddities).