mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-02 19:27:57 +08:00
672950449b
- PersistenceProvider changed to abstract class
71 lines
3.4 KiB
XML
71 lines
3.4 KiB
XML
<?xml version="1.0"?>
|
|
<project xmlns:ext="http://haulmont.com/schema/ant"
|
|
name="cuba" default="build" basedir=".">
|
|
|
|
<property name="root.dir" location=".."/>
|
|
|
|
<import file="${root.dir}/build-inc-prj.xml"/>
|
|
<property file="${root.dir}/build.properties"/>
|
|
<property file="lib.properties"/>
|
|
|
|
<target name="delegate">
|
|
<property name="target" value="noop" />
|
|
<ant dir="modules/core" target="${target}" inheritAll="false"/>
|
|
<!--<ant dir="modules/web" target="${target}" inheritAll="false"/>-->
|
|
</target>
|
|
|
|
<target name="clean">
|
|
<antcall target="delegate" inheritAll="false">
|
|
<param name="target" value="clean-module"/>
|
|
</antcall>
|
|
</target>
|
|
|
|
<target name="install-lib">
|
|
<!-- jboss -->
|
|
<ext:install-jboss version="${jboss.version}" toDir="${jboss.dir}"/>
|
|
<!-- libs -->
|
|
<ext:install-lib name="junit" version="${junit.version}" toDir="${lib.test.dir}"/>
|
|
<ext:install-lib name="jboss-ejb3-embeddable" version="${jboss-ejb3-embeddable.version}" toDir="${lib.test.dir}"/>
|
|
<ext:install-lib name="jboss-ejb3-embeddable-thirdparty" version="${jboss-ejb3-embeddable-thirdparty.version}" toDir="${lib.test.dir}"/>
|
|
<ext:install-lib name="commons-lang" version="${commons-lang.version}" toDir="${lib.common.dir}"/>
|
|
<ext:install-lib name="dom4j" version="${dom4j.version}" toDir="${lib.common.dir}"/>
|
|
<ext:install-lib name="openjpa" version="${openjpa.version}" toDir="${lib.server.dir}"/>
|
|
<ext:install-lib name="serp" version="${serp.version}" toDir="${lib.server.dir}"/>
|
|
<ext:install-jboss-lib name="commons-logging" version="${jboss.version}" toDir="${lib.common.dir}"/>
|
|
<ext:install-jboss-lib name="commons-collections" version="${jboss.version}" toDir="${lib.server.dir}"/>
|
|
<ext:install-jboss-lib name="jboss-common" path="lib" version="${jboss.version}" toDir="${lib.server.dir}"/>
|
|
<ext:install-jboss-lib name="jboss" version="${jboss.version}" toDir="${lib.server.dir}"/>
|
|
<ext:install-jboss-lib name="ejb3-persistence" version="${jboss.version}" toDir="${lib.common.dir}"/>
|
|
<ext:install-jboss-lib name="hibernate3" version="${jboss.version}" toDir="${lib.test.dir}"/>
|
|
<ext:install-jboss-lib name="jboss-j2ee" version="${jboss.version}" toDir="${lib.server.dir}"/>
|
|
<ext:install-jboss-lib name="jboss-ejb3x" version="${jboss.version}" toDir="${lib.server.dir}"/>
|
|
<ext:install-jboss-lib name="jboss-annotations-ejb3" path="server/default/deploy/ejb3.deployer" version="${jboss.version}" toDir="${lib.server.dir}"/>
|
|
<ext:install-jboss-lib name="log4j" version="${jboss.version}" toDir="${lib.common.dir}"/>
|
|
<ext:install-jboss-lib name="xercesImpl" path="lib/endorsed" version="${jboss.version}" toDir="${lib.server.dir}"/>
|
|
</target>
|
|
|
|
<target name="compile">
|
|
<antcall target="delegate" inheritAll="false">
|
|
<param name="target" value="compile-module"/>
|
|
</antcall>
|
|
</target>
|
|
|
|
<target name="build">
|
|
<antcall target="delegate" inheritAll="false">
|
|
<param name="target" value="build-module"/>
|
|
</antcall>
|
|
</target>
|
|
|
|
<target name="deploy">
|
|
<antcall target="delegate" inheritAll="false">
|
|
<param name="target" value="deploy-module"/>
|
|
</antcall>
|
|
</target>
|
|
|
|
<target name="undeploy">
|
|
<antcall target="delegate" inheritAll="false">
|
|
<param name="target" value="undeploy-module"/>
|
|
</antcall>
|
|
</target>
|
|
|
|
</project> |