Line | |
---|
1 | @echo off |
---|
2 | rem Licensed to the Apache Software Foundation (ASF) under one or more |
---|
3 | rem contributor license agreements. See the NOTICE file distributed with |
---|
4 | rem this work for additional information regarding copyright ownership. |
---|
5 | rem The ASF licenses this file to You under the Apache License, Version 2.0 |
---|
6 | rem (the "License"); you may not use this file except in compliance with |
---|
7 | rem the License. You may obtain a copy of the License at |
---|
8 | rem |
---|
9 | rem http://www.apache.org/licenses/LICENSE-2.0 |
---|
10 | rem |
---|
11 | rem Unless required by applicable law or agreed to in writing, software |
---|
12 | rem distributed under the License is distributed on an "AS IS" BASIS, |
---|
13 | rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
---|
14 | rem See the License for the specific language governing permissions and |
---|
15 | rem limitations under the License. |
---|
16 | |
---|
17 | rem --------------------------------------------------------------------------- |
---|
18 | rem Append to CLASSPATH |
---|
19 | rem |
---|
20 | rem $Id: cpappend.bat 562770 2007-08-04 22:13:58Z markt $ |
---|
21 | rem --------------------------------------------------------------------------- |
---|
22 | |
---|
23 | rem Process the first argument |
---|
24 | if ""%1"" == """" goto end |
---|
25 | set CLASSPATH=%CLASSPATH%;%1 |
---|
26 | shift |
---|
27 | |
---|
28 | rem Process the remaining arguments |
---|
29 | :setArgs |
---|
30 | if ""%1"" == """" goto doneSetArgs |
---|
31 | set CLASSPATH=%CLASSPATH% %1 |
---|
32 | shift |
---|
33 | goto setArgs |
---|
34 | :doneSetArgs |
---|
35 | :end |
---|
Note: See
TracBrowser
for help on using the repository browser.