Bug 779190 (SOA-1584)

Summary: change to the jbossas/bin/run.bat for compiling webservice proxies
Product: [JBoss] JBoss Enterprise SOA Platform 5 Reporter: Dana Mison <dmison>
Component: EAP, Embedded ServerAssignee: Dana Mison <dmison>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 5.0.0 ER1   
Target Milestone: ---   
Target Release: 5.0.0 GA, 5.0.0 ER5   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-1584
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
5.0 ER1
Last Closed: 2010-01-28 14:48:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Dana Mison 2009-11-06 07:07:09 UTC
Date of First Response: 2009-12-02 22:14:39
project_key: SOA

The JBossESB getting started guide makes reference to a required change to the jbossas/bin/run.bat to resolve an issue with using WISE.  SOA 5.0.ER1 doesn't include this.  Should this change be incorporated in the run.bat file or documented as a known issue ?

Windows script update for JBoss AS 5
The run.bat script contains an error which prevents wise from compiling the webservice proxies.  In order 
to fix the type you must edit the run.bat script and locate the following lines
  if "x%JAVAC_JAR%" == "x" ( 
    set "RUNJAR=%JAVAC_JAR%;%JBOSS_HOME%\bin\run.jar" 
  ) else ( 
    set "RUNJAR=%JBOSS_HOME%\bin\run.jar" 
  ) 
The fix involves switching the set statements so that they read as follows
  if "x%JAVAC_JAR%" == "x" ( 
    set "RUNJAR=%JBOSS_HOME%\bin\run.jar" 
  ) else ( 
    set "RUNJAR=%JAVAC_JAR%;%JBOSS_HOME%\bin\run.jar" 
  )

Comment 1 Ryan Zhang 2009-12-03 03:14:39 UTC
The problem has been fixed.

Comment 2 Julian Coleman 2009-12-03 17:16:21 UTC
The EAP/SOA 5.0.0 run.bat already has this change, so the section regarding the change can be removed from the docs.