Skip to content

Commit

Permalink
initial
Browse files Browse the repository at this point in the history
initial
  • Loading branch information
A. Sundararajan committed Mar 6, 2008
1 parent 5a758fd commit 12545e7
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions bin/btracec.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
@echo off

rem %~dp0 is expanded pathname of the current script under NT
set DEFAULT_BTRACE_HOME=%~dp0..

if "%BTRACE_HOME%"=="" set BTRACE_HOME=%DEFAULT_BTRACE_HOME%
set DEFAULT_BTRACE_HOME=

if not exist "%BTRACE_HOME%\build\btrace-client.jar" goto noBTraceHome

if "%JAVA_HOME%" == "" goto noJavaHome
%JAVA_HOME%/bin/java -cp %BTRACE_HOME%/build/btrace-client.jar;%JAVA_HOME%/lib/tools.jar com.sun.btrace.compiler.Compiler %*
goto end
:noJavaHome
echo Please set JAVA_HOME before running this script
goto end
:noBTraceHome
echo Please set BTRACE_HOME before running this script
:end

0 comments on commit 12545e7

Please sign in to comment.