jdk/make/netbeans/jconsole/build.xml
author duke
Wed, 05 Jul 2017 16:44:21 +0200
changeset 1624 c242185a0a69
parent 1247 b4c26443dee5
child 4115 e09be02771b6
permissions -rw-r--r--
Merge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
<!--
1247
b4c26443dee5 6754988: Update copyright year
xdono
parents: 1017
diff changeset
     2
 Copyright 2007-2008 Sun Microsystems, Inc.  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
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
   - Neither the name of Sun Microsystems nor the names of its
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
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
            file="${root}/src/share/classes/sun/tools/jconsole/Version-template.java"
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"/>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
                <include name="sun/tools/jconsole/resources/*.gif"/>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
                <include name="sun/tools/jconsole/resources/*.png"/>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
            </fileset>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
        </jar>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
    </target>
1017
8d24d37ceed8 6733294: MBeans tab - UI issues with writable attributes
dfuchs
parents: 2
diff changeset
    58
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
    <target name="run" depends="-init,build">
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
        <property name="jvm.args" value=""/>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
        <java classname="sun.tools.jconsole.JConsole"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
              fork="true"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
              classpath="${classes.dir}:${bootstrap.jdk}/lib/tools.jar">
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
            <jvmarg line="${jvm.args}"/>
1017
8d24d37ceed8 6733294: MBeans tab - UI issues with writable attributes
dfuchs
parents: 2
diff changeset
    65
            <arg line="${jconsole.args}"/>
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
        </java>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
    </target>
1017
8d24d37ceed8 6733294: MBeans tab - UI issues with writable attributes
dfuchs
parents: 2
diff changeset
    68
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
    <target name="clean" depends="-init,shared.clean">
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
        <delete file="${dist.dir}/lib/jconsole.jar"/>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
    </target>
1017
8d24d37ceed8 6733294: MBeans tab - UI issues with writable attributes
dfuchs
parents: 2
diff changeset
    72
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
</project>