AppWarpS2 deploy problems

0 votes

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

asked Jun 25, 2015 in AppWarpS2 by wiredvoltage (84 points)
edited Jun 25, 2015 by wiredvoltage

1 Answer

0 votes

Hi,

This  issue generally comes due to incorrect value of environment variable. Please refer to to these StackOverflow threads and try these solutions once.

Let us know if it does not help.

Please reply to this thread only if the issue is same, so that the other answers can be correlated together if someone else want to answer.

Thanks.

answered Jun 26, 2015 by rajeev.etc (1,660 points)
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...