Skip to main content

Source code file content

Revision: 57029

GLASSFISH-18987 Remove call to getService in critical path
» Project Revision History

» Checkout URL

svn / tags / source-build-3.1.1 / scripts / opendmk.xml

Size: 2016 bytes, 1 line
<?xml version="1.0" encoding="iso-8859-1"?>

<project name="OpenDMK source integration" default="build" basedir="..">

    <!-- import build.xml for init target and inherited properties -->
    <import file="${basedir}/build.xml"/>
    
    <property name="opendmk.dir" value="${glassfish.external.dir}/opendmk"/>

    <target name="checkout" depends="init,check.proxy" unless="skipCheckout">
        <echo message="checkout opendmk from ${opendmk.src.zip.url}."/>
        <mkdir dir="${opendmk.dir}" />
        <get src="${opendmk.src.zip.url}" dest="${opendmk.dir}/${opendmk.src.zip}" />
        <echo message="expand opendmk zip"/>
        <unzip src="${opendmk.dir}/${opendmk.src.zip}" dest="${opendmk.dir}"/>
    </target>

    <target name="build" depends="checkout" >
        <!-- build opendmk -->
        <echo message="building opendmk"/>
        <subant target="buildall">
            <fileset dir="${opendmk.dir}/OpenDMK-src" includes="build.xml"/>
        </subant>
        <mvn.publish.local
            file="${opendmk.dir}/OpenDMK-src/dist/lib/jdmkrt.jar"
            groupId="org.glassfish.external"
            artifactId="opendmk_jdmkrt_jar"
            version="${opendmk.version}"/>
        <mvn.publish.local 
            file="${opendmk.dir}/OpenDMK-src/dist/lib/jmxremote_optional.jar"
            groupId="org.glassfish.external"
            artifactId="opendmk_jmxremote_optional_jar"
            version="${opendmk.version}"/>
    </target>

    <target name="publish" depends="build" >
        <mvn.publish.remote
            file="${opendmk.dir}/OpenDMK-src/dist/lib/jdmkrt.jar"
            groupId="org.glassfish.external"
            artifactId="opendmk_jdmkrt_jar"
            version="${opendmk.version}"/>
        <mvn.publish.remote
            file="${opendmk.dir}/OpenDMK-src/dist/lib/jmxremote_optional.jar"
            groupId="org.glassfish.external"
            artifactId="opendmk_jmxremote_optional_jar"
            version="${opendmk.version}"/>
    </target>

</project>
 
 
Close
loading
Please Confirm
Close