Ant build error, cannot find folder
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.
精彩评论