Ignore:
Timestamp:
Mar 26, 2011, 8:39:20 PM (14 years ago)
Author:
dmik
Message:

trunk: Merged in openjdk6 b22 from branches/vendor/oracle.

Location:
trunk/openjdk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/openjdk

  • trunk/openjdk/hotspot/make/windows/build.bat

    r2 r278  
    11@echo off
    22REM
    3 REM Copyright 1997-2008 Sun Microsystems, Inc.  All Rights Reserved.
     3REM Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
    44REM DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
    55REM
     
    1818REM Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
    1919REM
    20 REM Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
    21 REM CA 95054 USA or visit www.sun.com if you need additional information or
    22 REM have any questions.
     20REM Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
     21REM or visit www.oracle.com if you need additional information or have any
     22REM questions.
    2323REM 
    2424REM
     
    2828REM Since we don't have uname and we could be cross-compiling,
    2929REM Use the compiler to determine which ARCH we are building
     30REM
     31REM Note: Running this batch file from the Windows command shell requires
     32REM that "grep" be accessible on the PATH. An MKS install does this.
    3033REM
    3134cl 2>&1 | grep "IA-64" >NUL
     
    5861if "%1" == "debug"     goto test1
    5962if "%1" == "fastdebug" goto test1
     63if "%1" == "tree"      goto test1
    6064goto usage
    6165
    6266:test1
    6367if "%2" == "core"      goto test2
    64 if "%2" == "kernel"   goto test2
     68if "%2" == "kernel"    goto test2
    6569if "%2" == "compiler1" goto test2
    6670if "%2" == "compiler2" goto test2
     
    7175
    7276:test2
     77if "%1" == "tree"      goto build_tree
    7378REM check_j2se_version
    7479REM jvmti.make requires J2SE 1.4.x or newer.
     
    9499goto end
    95100
     101:build_tree
     102nmake -f %3/make/windows/build.make Variant=%2 WorkSpace=%3 BootStrapDir=%4 BuildUser="%USERNAME%" HOTSPOT_BUILD_VERSION="%5" %1
     103goto end
     104
    96105:usage
    97106echo Usage: build flavor version workspace bootstrap_dir [build_id] [windbg_home]
     
    101110echo version is "core", "kernel", "compiler1", "compiler2", or "tiered",
    102111echo workspace is source directory without trailing slash,
    103 echo bootstrap_dir is a full path to echo a JDK in which bin/java
    104 echo   and bin/javac are present and working, and echo build_id is an
     112echo bootstrap_dir is a full path to a JDK in which bin/java
     113echo   and bin/javac are present and working, and build_id is an
    105114echo   optional build identifier displayed by java -version
     115exit /b 1
    106116
    107117:end
     118exit /b %errorlevel%
Note: See TracChangeset for help on using the changeset viewer.