karikari
karikari

Reputation: 6817

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\wsServerExample\src\build.xml
wsgen:
[exec] directory not found: .\src

Upvotes: 0

Views: 1688

Answers (1)

Lynch
Lynch

Reputation: 9474

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.

Upvotes: 1

Related Questions