File: build.bat

package info (click to toggle)
glassfish 1:2.1.1-b31g+dfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 126,652 kB
  • ctags: 163,798
  • sloc: java: 1,035,921; xml: 48,060; jsp: 4,922; ansic: 1,442; perl: 1,200; sh: 562; makefile: 352; cpp: 336; sql: 78; haskell: 76; awk: 69; sed: 21; lisp: 5
file content (54 lines) | stat: -rwxr-xr-x 1,572 bytes parent folder | download | duplicates (5)
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
REM
REM The contents of this file are subject to the terms 
REM of the Common Development and Distribution License 
REM (the License).  You may not use this file except in
REM compliance with the License.
REM 
REM You can obtain a copy of the license at 
REM https://glassfish.dev.java.net/public/CDDLv1.0.html or
REM glassfish/bootstrap/legal/CDDLv1.0.txt.
REM See the License for the specific language governing 
REM permissions and limitations under the License.
REM 
REM When distributing Covered Code, include this CDDL 
REM Header Notice in each file and include the License file 
REM at glassfish/bootstrap/legal/CDDLv1.0.txt.  
REM If applicable, add the following below the CDDL Header, 
REM with the fields enclosed by brackets [] replaced by
REM you own identifying information: 
REM "Portions Copyrighted [year] [name of copyright owner]"
REM 
REM Copyright 2006 Sun Microsystems, Inc. All rights reserved.
REM

REM
REM Copyright 2004-2005 Sun Microsystems, Inc.  All rights reserved.
REM Use is subject to license terms.
REM

@echo off
REM convience bat file to build with

set MYCP=.\lib\ant.jar;.\lib\jaxp-api.jar;.\lib\dom.jar;.\lib\sax.jar;.\lib\xercesImpl.jar;.\lib\xalan.jar;%JAVA_HOME%\lib\tools.jar

if "%CLASSPATH%" == "" goto noclasspath

rem else
set _CLASSPATH=%CLASSPATH%
set CLASSPATH=%CLASSPATH%;%mycp%
goto next

:noclasspath
set _CLASSPATH=
set CLASSPATH=%mycp%
goto next

:next

%JAVA_HOME%\bin\java org.apache.tools.ant.Main -emacs %1 %2 %3 %4 %5 %6 %7 %8 %9

:clean

rem clean up classpath after
set CLASSPATH=%_CLASSPATH%
set _CLASSPATH=