make/jdk/netbeans/jconsole/build.xml
author njian
Thu, 15 Mar 2018 14:05:48 +0800
changeset 49457 fa30cdd2d3b8
parent 47216 71c04702a3d5
permissions -rw-r--r--
8173100: AArch64: -XX:-UseOnStackReplacement does not work together with -XX:+TieredCompilation Summary: Fix hotspot jtreg test compiler/interpreter/DisableOSRTest.java failure on AArch64. Reviewed-by: aph, fyang
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
<!--
14342
8435a30053c1 7197491: update copyright year to match last edit in jdk8 jdk repository
alanb
parents: 12851
diff changeset
     2
 Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
 Redistribution and use in source and binary forms, with or without
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
 modification, are permitted provided that the following conditions
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
 are met:
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
   - Redistributions of source code must retain the above copyright
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
     notice, this list of conditions and the following disclaimer.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
   - Redistributions in binary form must reproduce the above copyright
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
     notice, this list of conditions and the following disclaimer in the
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
     documentation and/or other materials provided with the distribution.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 4115
diff changeset
    15
   - Neither the name of Oracle nor the names of its
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
     contributors may be used to endorse or promote products derived
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
     from this software without specific prior written permission.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
 IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    21
 THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
 PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
-->
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
<project name="jconsole" default="build" basedir=".">
1017
8d24d37ceed8 6733294: MBeans tab - UI issues with writable attributes
dfuchs
parents: 2
diff changeset
    33
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
    <import file="../common/shared.xml"/>
1017
8d24d37ceed8 6733294: MBeans tab - UI issues with writable attributes
dfuchs
parents: 2
diff changeset
    35
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
    <target name="-pre-compile">
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
        <copy
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 1247
diff changeset
    38
            file="${root}/src/share/classes/sun/tools/jconsole/Version.java.template"
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
            tofile="${gensrc.dir}/sun/tools/jconsole/Version.java"/>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
        <replace
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
            file="${gensrc.dir}/sun/tools/jconsole/Version.java"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
            token="@@jconsole_version@@"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
            value="${jconsole.version}"/>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
    </target>
1017
8d24d37ceed8 6733294: MBeans tab - UI issues with writable attributes
dfuchs
parents: 2
diff changeset
    45
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
    <target name="-post-compile">
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
        <mkdir dir="${dist.dir}/lib"/>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
        <jar destfile="${dist.dir}/lib/jconsole.jar"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
             manifest="${classes.dir}/sun/tools/jconsole/manifest">
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
            <fileset dir="${classes.dir}">
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
                <include name="sun/tools/jconsole/**/*.class"/>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
                <include name="com/sun/tools/jconsole/**/*.class"/>
12851
3334e1c781d0 7017818: NLS: JConsoleResources.java cannot be handled by translation team
egahlin
parents: 5506
diff changeset
    53
                <include name="sun/tools/jconsole/resources/*.properties"/>
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
                <include name="sun/tools/jconsole/resources/*.gif"/>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
                <include name="sun/tools/jconsole/resources/*.png"/>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
            </fileset>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
        </jar>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
    </target>
1017
8d24d37ceed8 6733294: MBeans tab - UI issues with writable attributes
dfuchs
parents: 2
diff changeset
    59
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
    <target name="run" depends="-init,build">
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
        <property name="jvm.args" value=""/>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
        <java classname="sun.tools.jconsole.JConsole"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
              fork="true"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
              classpath="${classes.dir}:${bootstrap.jdk}/lib/tools.jar">
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
            <jvmarg line="${jvm.args}"/>
1017
8d24d37ceed8 6733294: MBeans tab - UI issues with writable attributes
dfuchs
parents: 2
diff changeset
    66
            <arg line="${jconsole.args}"/>
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
        </java>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
    </target>
1017
8d24d37ceed8 6733294: MBeans tab - UI issues with writable attributes
dfuchs
parents: 2
diff changeset
    69
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
    <target name="clean" depends="-init,shared.clean">
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
        <delete file="${dist.dir}/lib/jconsole.jar"/>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
    </target>
1017
8d24d37ceed8 6733294: MBeans tab - UI issues with writable attributes
dfuchs
parents: 2
diff changeset
    73
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
</project>