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 / slf4j.xml

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

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

    <!-- import build.xml for init target and inherited properties -->
    <import file="${basedir}/build.xml"/>

    <property name="slf4j.dir" value="${glassfish.external.dir}/slf4j"/>

    <target name="checkout" depends="init,check.svn" unless="skipCheckout">
        <antcall target="slf4j-api.checkout"/>
        <antcall target="slf4j-ext.checkout"/>
        <antcall target="slf4j-jdk14.checkout"/>
        <antcall target="cal10n-api.checkout"/>
    </target>

    <target name="build" depends="checkout">
        <antcall target="slf4j-api.build" />
        <antcall target="slf4j-jdk14.build" />
        <antcall target="slf4j-ext.build" />
        <antcall target="cal10n-api.build" />
    </target>

    <!-- 
        checkout targets
    -->
    <target name="slf4j-api.checkout" unless="skipCheckout">
        <svn.checkout repo="${slf4j-api.svn.url}" dest="slf4j/slf4j-api"/>
    </target>
    <target name="slf4j-ext.checkout" unless="skipCheckout">
        <svn.checkout repo="${slf4j-ext.svn.url}" dest="slf4j/slf4j-ext"/>
    </target>
    <target name="slf4j-jdk14.checkout" unless="skipCheckout">
        <svn.checkout repo="${slf4j-jdk14.svn.url}" dest="slf4j/slf4j-jdk14"/>
    </target>
    <target name="cal10n-api.checkout" unless="skipCheckout">
        <svn.checkout repo="${cal10n-api.svn.url}" dest="slf4j/cal10n-api"/>
    </target>

    <!-- 
        build targets
    -->
    <target name="slf4j-api.build" depends="slf4j-api.checkout" >
        <!--
            We skip the tests here because there is performance testing.
            If the build is too slow, it will fail...
        -->
        <mvn.install dir="${slf4j.dir}/slf4j-api" skip-test="true"/>
    </target>
    <target name="slf4j-jdk14.build" depends="slf4j-jdk14.checkout" >
        <mvn.install dir="${slf4j.dir}/slf4j-jdk14"/>
    </target>
    <target name="slf4j-ext.build" depends="slf4j-ext.checkout" >
        <mvn.install dir="${slf4j.dir}/slf4j-ext"/>
    </target>
    <target name="cal10n-api.build" depends="cal10n-api.checkout" >
        <mvn.install dir="${slf4j.dir}/cal10n-api"/>
    </target>

    <target name="slf4j.publish" depends="build" >
        <!-- Instead of using "mvn install", use "mvn install:install-file" since we don't want
             all the testing and compile-only dependencies to be uploaded to GlassFish repository. -->

        <!-- slf4j-api -->
        <mvn.publish.local
            file="${slf4j.dir}/slf4j-api/target/slf4j-api-${slf4j.version}.jar"
            groupId="org.slf4j"
            artifactId="slf4j-api"
            version="${slf4j.version}"/>

        <!-- slf4j-jdk14 -->
        <mvn.publish.local
            file="${slf4j.dir}/slf4j-jdk14/target/slf4j-jdk14-${slf4j.version}.jar"
            groupId="org.slf4j"
            artifactId="slf4j-jdk14"
            version="${slf4j.version}"/>

        <!-- slf4j-ext -->
        <mvn.publish.local
            file="${slf4j.dir}/slf4j-ext/target/slf4j-ext-${slf4j.version}.jar"
            groupId="org.slf4j"
            artifactId="slf4j-ext"
            version="${slf4j.version}"/>

        <!-- cal10n-api -->
        <mvn.publish.local
            file="${slf4j.dir}/cal10n-api/target/cal10n-api-${cal10n-api.version}.jar"
            groupId="ch.qos.cal10n"
            artifactId="cal10n-api"
            version="${cal10n-api.version}"/>
    </target>

</project>
 
 
Close
loading
Please Confirm
Close