-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathd.bat
More file actions
56 lines (47 loc) · 1.7 KB
/
Copy pathd.bat
File metadata and controls
56 lines (47 loc) · 1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
@rem
@rem Copyright 1990-2007 Sun Microsystems, Inc. All Rights Reserved.
@rem DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
@rem
@rem This program is free software; you can redistribute it and/or
@rem modify it under the terms of the GNU General Public License version
@rem 2 only, as published by the Free Software Foundation.
@rem
@rem This program is distributed in the hope that it will be useful, but
@rem WITHOUT ANY WARRANTY; without even the implied warranty of
@rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
@rem General Public License version 2 for more details (a copy is
@rem included at /legal/license.txt).
@rem
@rem You should have received a copy of the GNU General Public License
@rem version 2 along with this work; if not, write to the Free Software
@rem Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
@rem 02110-1301 USA
@rem
@rem Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
@rem Clara, CA 95054 or visit www.sun.com if you need additional
@rem information or have any questions.
@rem
@echo off
rem ----------------------------------------------------------
rem Rebuild the builder
rem ----------------------------------------------------------
if not ""%1""==""builder"" goto nexCommand1
cd builder
call bld
cd ..
goto exit
:nexCommand1
rem ----------------------------------------------------------
rem Fall through to build.jar
rem ----------------------------------------------------------
set ARGS=%1
if ""%1""=="""" goto doneGatherArgs
shift
:gatherArgs
if ""%1""=="""" goto doneGatherArgs
set ARGS=%ARGS% %1
shift
goto gatherArgs
:doneGatherArgs
"%JAVA_HOME%\bin\java" -jar build.jar %ARGS%
:exit