cuba/modules/core/build.xml

46 lines
1.5 KiB
XML
Raw Normal View History

2008-10-29 19:01:37 +08:00
<?xml version="1.0"?>
<project xmlns:ext="http://haulmont.com/schema/ant"
2008-10-31 13:26:14 +08:00
name="cuba-core" default="noop" basedir=".">
2008-10-29 19:01:37 +08:00
<property name="project.dir" location="../.."/>
<property name="root.dir" location="${project.dir}/.."/>
<property name="module.name" value="core"/>
<property name="module.jar" value="20-cuba-core.jar"/>
2008-10-29 19:01:37 +08:00
<import file="${root.dir}/build-inc.xml"/>
<property file="${root.dir}/build.properties"/>
<fileset id="chile-jars" dir="${root.dir}/chile/build">
<include name="*.jar"/>
</fileset>
2008-10-29 19:01:37 +08:00
<path id="compile-cp">
<fileset refid="common-lib-fs"/>
2008-10-31 13:26:14 +08:00
<fileset refid="server-lib-fs"/>
<!--<fileset refid="chile-jars"/>-->
2008-10-29 19:01:37 +08:00
</path>
<path id="test-compile-cp">
<fileset refid="common-lib-fs"/>
2008-10-31 13:26:14 +08:00
<fileset refid="server-lib-fs"/>
<!--<fileset refid="chile-jars"/>-->
2008-10-29 19:01:37 +08:00
</path>
<path id="enhance-cp">
<fileset refid="common-lib-fs"/>
<fileset refid="server-lib-fs"/>
<pathelement location="${prod.out.dir}/${module.name}"/>
<pathelement location="${test.out.dir}/${module.name}"/>
</path>
<target name="compile-module" depends="base.compile-module">
<echo>==> enhancing ${project.dir} ${module.name}</echo>
<java classpathref="enhance-cp"
classname="org.apache.openjpa.enhance.PCEnhancer" failonerror="true">
<arg value="-properties"/>
<arg value="META-INF/cuba-persistence.xml"/>
</java>
</target>
2008-10-29 19:01:37 +08:00
</project>