dev@glassfish.java.net

Re: wscompile.bat doesn't work

From: Lukas Jungmann <lukas.jungmann_at_oracle.com>
Date: Mon, 18 Feb 2013 13:16:23 +0100

Hi,

  it's fixed. Thanks for the report.

Regards,
--lukas

On 18.2.2013 2:25, David Zhao wrote:
> Hi,
>
>
>
> Recently I observed wscompile.bat stop working caused by a wrong "-jar" parameter. Can anybody fix it?
>
>
>
> D:\glassfish_trunk\glassfish4\glassfish\bin>wscompile.bat
>
> Error: Unable to access jarfile com.sun.xml.rpc.tools.wscompile.Main
>
>
>
>
>
> %JAVA% -jar %WSCOMPILE_OPTS% -Djava.endorsed.dirs="%~dp0..\modules\endorsed" -cp "%~dp0..\modules\webservices-osgi.jar;%~dp0..\modules\javax.xml.rpc-api.jar;%~dp0..\modules\jaxb-osgi.jar;%~dp0..\modules\javax.mail.jar;%JAVA_HOME%/lib/tools.jar" com.sun.xml.rpc.tools.wscompile.Main %*
>
>
>
> Thanks,
>
> David Zhao
>
>
>