Hi I'm trying to use the build.xml file to build the java server code before uploading to our GPaaS.
The build.xml file contains this line:
<import file="nbproject/build-impl.xml"/>
This file is not included in the QuizServer sample.
When we run the ant script "ant build.xml" we get the following error:
C:\Users\Trip Admin\Desktop\Server for Delpoyment\GOT_Quiz\build.xml:12: Cannot
find C:\Users\Trip Admin\Desktop\Server for Delpoyment\GOT_Quiz\nbproject\build-
impl.xml imported from C:\Users\Trip Admin\Desktop\Server for Delpoyment\GOT_Qui
z\build.xml
I canged the warp.xml file in project root to the one on git:
https://github.com/shephertz/AppWarpS2Public/blob/master/Samples/ChatDemo/ChatServer/warp.xml
then ran ant -f warp.xml
We now get this error:
C:\Users\Trip Admin\Documents\Eclipse Projects\QuizServer>ant -f warp.xml
Buildfile: C:\Users\Trip Admin\Documents\Eclipse Projects\QuizServer\warp.xml
clean:
[delete] Deleting directory C:\Users\Trip Admin\Documents\Eclipse Projects\Qu
izServer\buildBuildfile: C:\Users\Trip Admin\Documents\Eclipse Projects\QuizServer\build.xml
BUILD FAILED
C:\Users\Trip Admin\Documents\Eclipse Projects\QuizServer\build.xml:12: Cannot find C:\Users\Trip Admin\Documents\Eclipse Projects\QuizServer\nbproject\build-impl.xml imported from C:\Users\Trip Admin\Documents\Eclipse Projects\QuizServer\build.xml
While trying to build the build.xml file so we can upload the .war file to appwarps2?
EG it cannot filn the file 'nbproject\build-impl.xml' that is referenced in build.xml?
The path to the projcet is:
C:\Users\Trip Admin\Documents\Eclipse Projects\QuizServer
The build file is the same as referenced here:
https://github.com/shephertz/AppWarpS2Public/blob/master/Samples/Quiz_WindowsPhone/QuizServer/build.xml
Please see this post on StackExchange for more info:
http://stackoverflow.com/questions/31059148/java-project-ant-build-error/31059280#31059280
Regards
Julian