I have been successfully building services in GT 4.2.0 using...
$ globus-build-service <a_name>
Suddenly, I have started to see the following error at the stubs
generation stage...
generateStubs:
[echo] Generating stubs from Sga_service.wsdl
[java] Error: Unknown option -w
[java] Usage: java org.globus.wsrf.tools.wsdl.WSDL2Java [options]
WSDL-URI
I am setting the classpath using...
$GLOBUS_LOCATION/etc/globus-devel-env.sh
which has been working fine.
Presently, no (previously working) builds will work.
For debugging, I traced it to line 251 of the following file...
$GLOBUS_LOCATION/share/globus_wsrf_tools/build-stubs.xml
which is...
<arg value="-w"/> <--------THIS LINE DRIVES THE ERROR
When I delete this line for debugging, it gets past the error, but fails
like the classpath wasn't set right (which it is and has been).
The jar file containing java org.globus.wsrf.tools.wsdl.WSDL2Java has
not been modified since installation and is the same as the one in the
installation directory where the make && make install was run (i.e. I
don't think it's corrupted).
This problem appeared in July 2008, I emailed the originator of this but
she did not recall the solution.
Has anyone else seen this?
--
best regards,
Peter Lavin,
Computer Architecture & Grid Research Group,
Lloyd Institute, 005,
Trinity College Dublin, Ireland.
+353 1 8961536