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 / bean-validator.xml

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

<project name="Bean-validator source integration" default="build" basedir="..">
    
    <!-- import build.xml for init target and inherited properties -->
    <import file="${basedir}/build.xml"/>

    <property name="bean-validator.dir" value="${glassfish.external.dir}/bean-validator" />

    <target name="checkout" depends="init,check.svn" unless="skipCheckout">
        <echo message="Checking out bean-validator and dependencies" />
        <mkdir dir="${bean-validator.dir}" />
        <svn.checkout repo="${validation-api.svn.url}"
            dest="bean-validator/validation-api"/>
        <svn.checkout repo="${hibernate-validator.svn.url}"
            dest="bean-validator/hibernate-validator"/>
        <svn.checkout repo="${jtype.svn.url}"
            dest="bean-validator/jtype"/>
        <svn.checkout repo="${joda-time.svn.url}"
            dest="bean-validator/joda-time"/>
        <svn.checkout repo="${jsoup.svn.url}"
            dest="bean-validator/jsoup"/>
        <svn.checkout repo="${slf4j.svn.url}"
            dest="bean-validator/slf4j"/>
    </target>

    <target name="build" depends="checkout">
        <echo message="Building bean-validator and dependencies" />
        <mvn.install dir="${bean-validator.dir}/slf4j/slf4j-api"/>
        <mvn.install dir="${bean-validator.dir}/slf4j/slf4j-jdk14"/>
        <mvn.install dir="${bean-validator.dir}/jtype"/>
        
        <!-- build joda-time source -->
        <echo message="cd ${bean-validator.dir}/joda-time and ant" />
        <ant dir="${bean-validator.dir}/joda-time" target="jar">
            <!-- this property skips junit check -->
            <property name="junit.ant" value="true"/>
        </ant>

        <mvn.install dir="${bean-validator.dir}/jsoup"/>
        <mvn.install dir="${bean-validator.dir}/hibernate-validator"/>
        <mvn.install dir="${bean-validator.dir}/validation-api"/>
    </target>

</project>






 
 
Close
loading
Please Confirm
Close