2006-11-17 10:08:46 +07:00
|
|
|
<!-- ============================================= -->
|
|
|
|
<!-- Extend -->
|
|
|
|
<!-- ============================================= -->
|
|
|
|
<!-- $Header: /cvs/adempiere/extend/build.xml,v 1.1 2006/04/21 17:55:19 jjanke Exp $ -->
|
|
|
|
|
2010-07-13 15:04:53 +07:00
|
|
|
<project name="extend" default="plugin" basedir=".">
|
2006-11-17 10:08:46 +07:00
|
|
|
|
|
|
|
<description>
|
2010-07-13 15:04:53 +07:00
|
|
|
This buildfile is used to build the extend subproject within
|
2006-11-17 10:08:46 +07:00
|
|
|
the Adempiere project.
|
|
|
|
</description>
|
|
|
|
|
2010-07-13 15:04:53 +07:00
|
|
|
<import file="../utils_dev/properties.xml"/>
|
|
|
|
|
2006-11-17 10:08:46 +07:00
|
|
|
<!-- set global properties for this build -->
|
|
|
|
<property name="src" value="src"/>
|
|
|
|
<property name="build.dir" value="build"/>
|
|
|
|
<property name="dist.dir" value="."/>
|
|
|
|
<property name="jar.path" value="../lib"/>
|
|
|
|
<property name="jar.name" value="Extend"/>
|
|
|
|
|
|
|
|
<!-- set path to include the necessary jar files for javac -->
|
|
|
|
<path id="project.class.path">
|
|
|
|
<pathelement path="${classpath}"/>
|
|
|
|
<pathelement path="${jar.path}/CCTools.jar"/>
|
2007-05-23 21:54:11 +07:00
|
|
|
<pathelement path="${jar.path}/jboss.jar"/>
|
2007-05-17 13:34:08 +07:00
|
|
|
<pathelement path="../base/build"/>
|
|
|
|
<pathelement path="../tools/lib/junit.jar"/>
|
2007-05-23 21:54:11 +07:00
|
|
|
<pathelement path="../adempiere/Adempiere/lib/Adempiere.jar" />
|
2009-01-31 21:17:07 +07:00
|
|
|
<fileset dir="../tools/lib/testing/">
|
|
|
|
<include name="*.jar"/>
|
2010-07-13 15:04:53 +07:00
|
|
|
</fileset>
|
2006-11-17 10:08:46 +07:00
|
|
|
</path>
|
|
|
|
|
|
|
|
<target name="init" description="initialization target">
|
|
|
|
<echo message="=========== Build Extend"/>
|
|
|
|
</target>
|
2007-05-23 21:54:11 +07:00
|
|
|
|
2007-05-23 06:31:22 +07:00
|
|
|
<path id="class.path.test">
|
2007-05-24 07:13:40 +07:00
|
|
|
<pathelement path="${build.dir}"/>
|
2007-05-23 06:31:22 +07:00
|
|
|
<pathelement path="${classpath}"/>
|
|
|
|
<pathelement path="${jar.path}/CCTools.jar"/>
|
|
|
|
<pathelement path="../base/build"/>
|
|
|
|
<pathelement path="../tools/lib/junit.jar"/>
|
2007-05-23 21:54:11 +07:00
|
|
|
<pathelement path="../adempiere/Adempiere/lib/Adempiere.jar" />
|
|
|
|
<pathelement path="../adempiere/Adempiere/lib/jboss.jar" />
|
|
|
|
<pathelement path="../adempiere/Adempiere/lib/oracle.jar" />
|
|
|
|
<pathelement path="../adempiere/Adempiere/lib/postgresql.jar" />
|
|
|
|
<pathelement path="./Extend.jar" />
|
2007-05-24 07:13:40 +07:00
|
|
|
<!-- pathelement path="/root/RmiJdbc/dist/lib/RmiJdbc.jar" / -->
|
2007-05-23 06:31:22 +07:00
|
|
|
</path>
|
2007-05-23 21:54:11 +07:00
|
|
|
|
2010-07-13 15:04:53 +07:00
|
|
|
<target name="functionaltest" depends="init">
|
2007-05-23 21:54:11 +07:00
|
|
|
<junit>
|
|
|
|
<classpath refid="class.path.test" />
|
|
|
|
<formatter type="brief" usefile="false" />
|
|
|
|
<test name="test.functional.MUserTest" />
|
|
|
|
<test name="test.functional.MLocationTest" />
|
|
|
|
<test name="test.functional.MBPartnerTest" />
|
|
|
|
<test name="test.functional.MBPGroupTest" />
|
|
|
|
<test name="test.functional.MBPartnerLocationTest" />
|
2007-10-09 22:48:30 +07:00
|
|
|
<test name="test.functional.MSessionTest" />
|
2007-05-24 07:13:40 +07:00
|
|
|
<test name="test.functional.PackOutTest" />
|
2007-06-16 03:59:49 +07:00
|
|
|
<test name="test.functional.MWFNodePlaceHolderTest" />
|
|
|
|
<test name="test.functional.XMLValidateTest" />
|
|
|
|
<!-- test name="test.functional.XMLImportStructureTest" / -->
|
2007-05-24 07:13:40 +07:00
|
|
|
<!-- test name="test.functional.BPMigrationTest" / -->
|
2007-05-23 21:54:11 +07:00
|
|
|
</junit>
|
|
|
|
</target>
|
2010-03-25 23:59:12 +07:00
|
|
|
|
2010-07-13 15:04:53 +07:00
|
|
|
<target name="performance.test" depends="init">
|
2010-03-26 18:14:57 +07:00
|
|
|
<junit printsummary="no" fork="no" maxmemory="1024m" haltonfailure="yes">
|
|
|
|
<!--jvmarg value="-Djava.compiler=NONE"/-->
|
2010-03-25 23:59:12 +07:00
|
|
|
<classpath refid="class.path.test" />
|
|
|
|
<formatter type="brief" usefile="false" />
|
|
|
|
<test name="test.performance.MProductTest" />
|
|
|
|
</junit>
|
|
|
|
</target>
|
2010-07-13 15:04:53 +07:00
|
|
|
|
|
|
|
<target name="run" depends="init">
|
2007-06-16 03:59:49 +07:00
|
|
|
<java fork="true" classname="test.functional.XMLImportStructureTest">
|
|
|
|
<classpath refid="class.path.test" />
|
|
|
|
</java>
|
|
|
|
</target>
|
|
|
|
|
2007-05-23 21:54:11 +07:00
|
|
|
|
2010-07-13 15:04:53 +07:00
|
|
|
<target name="plugin" depends="init">
|
|
|
|
<buildPlugin workspaceDirectory="${workspace}"
|
|
|
|
projectName="extend"
|
|
|
|
targetPlatformId="target.platform"
|
|
|
|
destination="../lib"
|
|
|
|
buildSourceJar="false" />
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="clean">
|
|
|
|
<delete>
|
|
|
|
<fileset dir="../lib/plugins">
|
|
|
|
<include name="org.adempiere.extend*.jar"/>
|
|
|
|
</fileset>
|
|
|
|
</delete>
|
|
|
|
</target>
|
2006-11-17 10:08:46 +07:00
|
|
|
|
2007-05-23 21:54:11 +07:00
|
|
|
</project>
|