Skip to main content

Source code file content

Revision: 58290

Change to use getInjecteeDescriptor in order to allow for use of JITResolver
» Project Revision History

» Checkout URL

svn / tags / source-build-3.0.1 / opendmk.xml

Size: 2088 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="build.xml"/>
    <import file="build-taskdefs.xml"/>

    <target name="build" depends="init">
        <antcall target="opendmk.build" />
    </target>

    <!-- checkout opendmk source and build -->
    <target name="opendmk.checkout" depends="init">
        <echo message="checkout opendmk from ${opendmk.src.zip.url}."/>
        <get src="${opendmk.src.zip.url}" dest="${external.dir}/${opendmk.src.zip}" />
        <echo message="expand opendmk zip"/>
        <unzip src="${external.dir}/${opendmk.src.zip}" dest="${external.dir}"/>
    </target>

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

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

</project>
 
 
Close
loading
Please Confirm
Close