Results 1 to 2 of 2

Thread: ant problem

  1. #1
    Join Date
    Aug 2009
    Posts
    1
    Rep Power
    0

    Default ant problem

    I am trying to use eclipse to build a java file. I get an error that it cant find
    wsgen. But it is there in the tasks path. window->preferences->tasks
    Anyone seen this problem before.

    My build.xml looks like this:

    <project default="wsgen">
    <target name="wsgen" >
    <exec executable="wsgen">
    <arg line="-cp ./bin -keep -s ./src -d ./bin com.myfirst.wsServer.SayHello"/>
    </exec>
    </target>
    </project>

  2. #2
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    10

    Default

    You need to make the java bin directory be available on the classpath because that is where wsgen resides.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •