nashorn/make/nbproject/jdk.xml
author sla
Wed, 08 Jan 2014 08:34:02 +0100
changeset 22485 598d024a4a49
parent 16151 97c1e756ae1e
permissions -rw-r--r--
8031376: TraceClassLoading expects there to be a (Java) caller when you load a class with the bootstrap class loader Reviewed-by: sla, dholmes Contributed-by: jeremymanson@google.com
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?><project name="jdk" basedir=".">
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     2
<!--
16151
97c1e756ae1e 8005663: Update copyright year to 2013
jlaskey
parents: 16147
diff changeset
     3
 Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     4
 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     5
 
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     6
 This code is free software; you can redistribute it and/or modify it
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     7
 under the terms of the GNU General Public License version 2 only, as
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     8
 published by the Free Software Foundation.
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     9
 
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    10
 This code is distributed in the hope that it will be useful, but WITHOUT
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    11
 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    12
 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    13
 version 2 for more details (a copy is included in the LICENSE file that
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    14
 accompanied this code).
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    15
 
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    16
 You should have received a copy of the GNU General Public License version
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    17
 2 along with this work; if not, write to the Free Software Foundation,
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    18
 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    19
 
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    20
 Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    21
 or visit www.oracle.com if you need additional information or have any
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    22
 questions.
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    23
-->
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    24
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    25
    
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    26
    <description>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    27
        Permits selection of a JDK to use when building and running project.
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    28
        See: http://www.netbeans.org/issues/show_bug.cgi?id=64160
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    29
    </description>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    30
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    31
    <target name="-jdk-pre-preinit">
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    32
        <condition property="nbjdk.active-or-nbjdk.home">
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    33
            <or>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    34
                <and>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    35
                    <isset property="nbjdk.active"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    36
                    <not>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    37
                        <equals arg1="${nbjdk.active}" arg2="default_platform"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    38
                    </not>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    39
                </and>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    40
                <and>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    41
                    <isset property="nbjdk.home"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    42
                    <not>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    43
                        <isset property="nbjdk.home.defaulted"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    44
                    </not>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    45
                </and>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    46
            </or>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    47
        </condition>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    48
    </target>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    49
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    50
    <target xmlns:common="http://java.netbeans.org/freeform/jdk.xml" name="-jdk-preinit" depends="-jdk-pre-preinit" if="nbjdk.active-or-nbjdk.home">
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    51
        <macrodef name="property" uri="http://java.netbeans.org/freeform/jdk.xml">
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    52
            <attribute name="name"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    53
            <attribute name="value"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    54
            <sequential>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    55
                <property name="@{name}" value="${@{value}}"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    56
            </sequential>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    57
        </macrodef>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    58
        <common:property name="nbjdk.home" value="platforms.${nbjdk.active}.home"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    59
        <common:property name="nbjdk.javac.tmp" value="platforms.${nbjdk.active}.javac"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    60
        <condition property=".exe" value=".exe">
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    61
            <os family="windows"/> 
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    62
        </condition>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    63
        <property name=".exe" value=""/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    64
        <condition property="nbjdk.javac" value="${nbjdk.home}/bin/javac${.exe}">
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    65
            <equals arg1="${nbjdk.javac.tmp}" arg2="$${platforms.${nbjdk.active}.javac}"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    66
        </condition>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    67
        <property name="nbjdk.javac" value="${nbjdk.javac.tmp}"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    68
        <common:property name="nbjdk.java.tmp" value="platforms.${nbjdk.active}.java"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    69
        <condition property="nbjdk.java" value="${nbjdk.home}/bin/java${.exe}">
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    70
            <equals arg1="${nbjdk.java.tmp}" arg2="$${platforms.${nbjdk.active}.java}"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    71
        </condition>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    72
        <property name="nbjdk.java" value="${nbjdk.java.tmp}"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    73
        <common:property name="nbjdk.javadoc.tmp" value="platforms.${nbjdk.active}.javadoc"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    74
        <condition property="nbjdk.javadoc" value="${nbjdk.home}/bin/javadoc${.exe}">
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    75
            <equals arg1="${nbjdk.javadoc.tmp}" arg2="$${platforms.${nbjdk.active}.javadoc}"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    76
        </condition>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    77
        <property name="nbjdk.javadoc" value="${nbjdk.javadoc.tmp}"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    78
        <common:property name="nbjdk.bootclasspath.tmp" value="platforms.${nbjdk.active}.bootclasspath"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    79
        <condition property="nbjdk.bootclasspath" value="${nbjdk.home}/jre/lib/rt.jar">
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    80
            <equals arg1="${nbjdk.bootclasspath.tmp}" arg2="$${platforms.${nbjdk.active}.bootclasspath}"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    81
        </condition>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    82
        <property name="nbjdk.bootclasspath" value="${nbjdk.bootclasspath.tmp}"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    83
        <condition property="nbjdk.valid">
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    84
            <and>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    85
                <available file="${nbjdk.home}" type="dir"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    86
                <available file="${nbjdk.javac}" type="file"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    87
                <available file="${nbjdk.java}" type="file"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    88
                <available file="${nbjdk.javadoc}" type="file"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    89
                
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    90
            </and>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    91
        </condition>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    92
        <echo level="verbose">nbjdk.active=${nbjdk.active} nbjdk.home=${nbjdk.home} nbjdk.java=${nbjdk.java} nbjdk.javac=${nbjdk.javac} nbjdk.javadoc=${nbjdk.javadoc} nbjdk.bootclasspath=${nbjdk.bootclasspath} nbjdk.valid=${nbjdk.valid} have-jdk-1.4=${have-jdk-1.4} have-jdk-1.5=${have-jdk-1.5}</echo>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    93
    </target>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    94
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    95
    <target name="-jdk-warn" depends="-jdk-preinit" if="nbjdk.active-or-nbjdk.home" unless="nbjdk.valid">
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    96
        <property name="jdkhome.presumed" location="${java.home}/.."/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    97
        <echo level="warning">Warning: nbjdk.active=${nbjdk.active} or nbjdk.home=${nbjdk.home} is an invalid Java platform; ignoring and using ${jdkhome.presumed}</echo>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    98
    </target>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    99
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   100
    <target name="-jdk-presetdef-basic" depends="-jdk-preinit" if="nbjdk.valid" unless="nbjdk.presetdef.basic.done">
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   101
        
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   102
        
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   103
        <macrodef name="javac-presetdef">
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   104
            <attribute name="javacval"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   105
            <sequential>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   106
                <presetdef name="javac">
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   107
                    <javac fork="yes" executable="@{javacval}"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   108
                </presetdef>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   109
            </sequential>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   110
        </macrodef>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   111
        <javac-presetdef javacval="${nbjdk.javac}"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   112
        <macrodef name="java-presetdef">
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   113
            <attribute name="javaval"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   114
            <sequential>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   115
                <presetdef name="java">
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   116
                    <java fork="yes" jvm="@{javaval}"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   117
                </presetdef>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   118
            </sequential>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   119
        </macrodef>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   120
        <java-presetdef javaval="${nbjdk.java}"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   121
        <macrodef name="javadoc-presetdef">
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   122
            <attribute name="javadocval"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   123
            <sequential>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   124
                <presetdef name="javadoc">
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   125
                    <javadoc executable="@{javadocval}"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   126
                </presetdef>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   127
            </sequential>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   128
        </macrodef>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   129
        <javadoc-presetdef javadocval="${nbjdk.javadoc}"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   130
        <macrodef name="junit-presetdef">
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   131
            <attribute name="javaval"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   132
            <sequential>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   133
                <presetdef name="junit">
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   134
                    <junit fork="yes" jvm="@{javaval}"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   135
                </presetdef>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   136
            </sequential>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   137
        </macrodef>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   138
        <junit-presetdef javaval="${nbjdk.java}"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   139
        <property name="nbjdk.presetdef.basic.done" value="true"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   140
    </target>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   141
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   142
    <target name="-jdk-presetdef-nbjpdastart" depends="-jdk-preinit" if="nbjdk.valid" unless="nbjdk.presetdef.nbjpdastart.done">
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   143
        <macrodef name="nbjpdastart-presetdef">
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   144
            <attribute name="bootcpval"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   145
            <sequential>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   146
                <presetdef name="nbjpdastart">
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   147
                    <nbjpdastart>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   148
                        <bootclasspath>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   149
                            <path path="@{bootcpval}"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   150
                        </bootclasspath>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   151
                    </nbjpdastart>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   152
                </presetdef>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   153
            </sequential>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   154
        </macrodef>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   155
        <nbjpdastart-presetdef bootcpval="${nbjdk.bootclasspath}"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   156
        <property name="nbjdk.presetdef.nbjpdastart.done" value="true"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   157
    </target>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   158
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   159
    <target name="-jdk-default" unless="nbjdk.active-or-nbjdk.home">
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   160
        
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   161
        <property name="java.home.parent" location="${java.home}/.."/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   162
        <condition property="nbjdk.home" value="${java.home.parent}">
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   163
            <available file="${java.home.parent}/lib/tools.jar" type="file"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   164
        </condition>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   165
        <condition property="nbjdk.home" value="${java.home}">
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   166
            <available file="${java.home}/lib/tools.jar" type="file"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   167
        </condition>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   168
        
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   169
        <condition property="nbjdk.home" value="/Library/Java/Home">
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   170
            <available file="/Library/Java/Home" type="dir"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   171
        </condition>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   172
        
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   173
        <property name="nbjdk.home" location="${java.home.parent}"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   174
        <property name="nbjdk.home.defaulted" value="true"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   175
    </target>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   176
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   177
    <target name="-jdk-init" depends="-jdk-preinit,-jdk-warn,-jdk-presetdef-basic,-jdk-default"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   178
16151
97c1e756ae1e 8005663: Update copyright year to 2013
jlaskey
parents: 16147
diff changeset
   179
</project>