开发者

Ant build error, cannot find folder

开发者 https://www.devze.com 2023-02-28 17:13 出处:网络
Is there error in this line? <arg line=\"-cp ./bin -keep -s ./src -d ./bin com.myfirst.wsServer.SayHello\"/>

Is there error in this line?

<arg line="-cp ./bin -keep -s ./src -d ./bin com.myfirst.wsServer.SayHello"/>

Because the eclipse console tells:

Buildfile: C:\Documents and Settings\user\workspace\wsServer开发者_JAVA百科Example\src\build.xml
wsgen:
[exec] directory not found: .\src


Your error message suggest that you are running your script from ./src/ folder already so it migth not be able to find your src folder.

Try using path like if you were in ./src or move build.xml to your project root folder to see if this can help.

0

精彩评论

暂无评论...
验证码 换一张
取 消