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

Size: 2636 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="build.xml"/>

   <property name="bean-validator.and.dependencies.dir" 
             value="${external.dir}/bean-validator-and-dependencies" />
        Checkout bean-validator source and build
        This project needs to be built before HK2 since HK2 has a dependency on bean-validator.
    <target name="build" depends="init">
        <antcall target="" />
    <target name="bean-validator.checkout" >
        <echo message="Checking out bean-validator and dependencies" />

        <property name="bean-validator.checkout.dir" 
                  value="${bean-validator.and.dependencies.dir}/bean-validator" />
        <property name="jtype.checkout.dir" 
                  value="${bean-validator.and.dependencies.dir}/jtype" />

        <echo message="checkout bean-validator from ${bean-validator.svn.url}."/>
        <mkdir dir="${bean-validator.checkout.dir}" />
        <!-- checkout bean-validator source -->
        <exec executable="svn" dir="${bean-validator.checkout.dir}" 
              failonerror="true" >
	    <arg line="checkout" />
            <arg line="${bean-validator.svn.url}" />
            <arg line="${bean-validator.version}" />

        <echo message="checkout jtype from ${jtype.svn.url}."/>
        <mkdir dir="${jtype.checkout.dir}" />
        <!-- checkout jtype source -->
        <exec executable="svn" dir="${jtype.checkout.dir}" 
              failonerror="true" >
	    <arg line="checkout" />
            <arg line="${jtype.svn.url}" />
            <arg line="${jtype.version}" />

        <echo message="checkout slf4j-all from ${slf4j-all-bv.svn.url}."/>
        <!-- checkout jtype source -->
        <exec executable="svn" dir="${bean-validator.and.dependencies.dir}" 
              failonerror="true" >
	    <arg line="checkout" />
            <arg line="${slf4j-all-bv.svn.url}" />

    <target name="" depends="bean-validator.checkout" >
        <!-- build bean-validator -->
        <echo message="cd ${bean-validator.and.dependencies.dir}/bean-validator/${bean-validator.version} and mvn" />
        <exec executable="mvn" dir="${bean-validator.and.dependencies.dir}/bean-validator/${bean-validator.version}" failonerror="true" >
	    <arg line="-Dmaven.repo.local=${maven.repo.local}" />
            <arg line="-X install" />
Please Confirm