ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Hewlett" <hewnas...@cinci.rr.com>
Subject RE: test environment variable and if statement
Date Tue, 05 Feb 2002 01:52:52 GMT
Suggestion,

Create a KSH script to do your Unix building or compiling of
a script and on Windows create a .bat file to do what you
need.

.bat file to compile: 
javac -d . -classpath .;c:\lbar\helper.jar;c:\lbar\classes Query.java

.bat file to Run: 
java -classpath .;c:\lbar\helper.jar;c:\lbar\classes Query

compile.sh
#!/usr/bin/ksh
javac -d . -classpath .;c:\lbar\helper.jar;c:\lbar\classes Query.java

run.sh
#!/usr/bin/ksh
java -classpath .;c:\lbar\helper.jar;c:\lbar\classes Query



--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message