wsconsume.bat 722 B

1234567891011121314151617181920212223242526
  1. @echo off
  2. @if not "%ECHO%" == "" echo %ECHO%
  3. @if "%OS%" == "Windows_NT" setlocal
  4. set DIRNAME=.\
  5. if "%OS%" == "Windows_NT" set DIRNAME=%~dp0%
  6. set PROGNAME=run.bat
  7. if "%OS%" == "Windows_NT" set PROGNAME=%~nx0%
  8. if "x%JAVA_HOME%" == "x" (
  9. set JAVA=java
  10. echo JAVA_HOME is not set. Unexpected results may occur.
  11. echo Set JAVA_HOME to the directory of your local JDK to avoid this message.
  12. ) else (
  13. set "JAVA=%JAVA_HOME%\bin\java"
  14. )
  15. set JBOSS_HOME=%DIRNAME%\..
  16. rem Execute the command
  17. "%JAVA%" %JAVA_OPTS% ^
  18. -classpath "%JAVA_HOME%\lib\tools.jar;%JBOSS_HOME%\jboss-modules.jar" ^
  19. org.jboss.modules.Main ^
  20. -mp "%JBOSS_HOME%\modules" ^
  21. org.jboss.ws.tools.wsconsume ^
  22. %*