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