# Typo in windows run.bat prevents inclusion of tools.jar

## Details

• Type: Bug
• Status: Closed
• Priority: Trivial
• Resolution: Done
• Affects Version/s: JBossAS-5.1.0.GA
• Fix Version/s:
• Component/s:
• Labels:
None

## Description

Just noticed the following in the windows run.bat while investigating an issue.

if "x%JAVAC_JAR%" == "x" (
set "RUNJAR=%JAVAC_JAR%;%JBOSS_HOME%\bin\run.jar"
) else (
set "RUNJAR=%JBOSS_HOME%\bin\run.jar"
)

The set commands should be reversed.

## Activity

Hide
Scott Marlow added a comment -

Yes, this is clearly a typo. What is the impact of not having the Java compiler on the system classpath when starting the as? Is this impacting Tomcat jsp compiling? I'm just curious what the issue was.

Show
Scott Marlow added a comment - Yes, this is clearly a typo. What is the impact of not having the Java compiler on the system classpath when starting the as? Is this impacting Tomcat jsp compiling? I'm just curious what the issue was.
Hide
Kevin Conner added a comment -

We embed wise within the ESB (SOA platform) and this requires the compiler to compile WS proxies. Not an ideal situation but one we need for now.

Show
Kevin Conner added a comment - We embed wise within the ESB (SOA platform) and this requires the compiler to compile WS proxies. Not an ideal situation but one we need for now.
Hide
Scott Marlow added a comment -

Typo is fixed in Branch_5_x + trunk.

Show
Scott Marlow added a comment - Typo is fixed in Branch_5_x + trunk.

## People

• Assignee:
Scott Marlow
Reporter:
Kevin Conner