I am running it from eclipse and I am getting a java.io.IOException: Cannot run program "wsgen": CreateProcess error=2, The system cannot find the file specified.
It looks like wsgen cannot be found. Anyone seen this before. windows->preferences->tasks
shows that wsgen is there
There's a posibility that you don't have the wsgen within your eclipse installation.
You could try searching for that term in you java directory, usually under a path like; C:\Program Files\Java\jdk1.6.0\bi\wsgen
Use this path for the exec i.e. <exec executable="D:\Program Files\Java\jdk1.6.0\bin\wsgen">