Wouter van Oortmerssen | 26a3073 | 2014-01-27 16:52:49 -0800 | [diff] [blame^] | 1 | @echo off |
| 2 | rem Copyright 2014 Google Inc. All rights reserved. |
| 3 | rem |
| 4 | rem Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | rem you may not use this file except in compliance with the License. |
| 6 | rem You may obtain a copy of the License at |
| 7 | rem |
| 8 | rem http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | rem |
| 10 | rem Unless required by applicable law or agreed to in writing, software |
| 11 | rem distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | rem See the License for the specific language governing permissions and |
| 14 | rem limitations under the License. |
| 15 | |
| 16 | rem Compile then run the Java test. |
| 17 | |
| 18 | set batch_file_dir=%~d0%~p0 |
| 19 | |
| 20 | javac -classpath %batch_file_dir%\..\java;%batch_file_dir% JavaTest.java |
| 21 | java -classpath %batch_file_dir%\..\java;%batch_file_dir% JavaTest |