2008-05-29 17:23:06 +07:00
|
|
|
<!-- ============================================= -->
|
|
|
|
<!-- Tools -->
|
|
|
|
<!-- ============================================= -->
|
|
|
|
<!-- $Header: /cvs/adempiere/tools/build.xml,v 1.4 2006/07/03 23:23:31 jjanke Exp $ -->
|
|
|
|
|
|
|
|
<project name="tools" default="toolsDistribution" basedir=".">
|
|
|
|
|
2008-11-11 06:54:09 +07:00
|
|
|
<description>
|
2009-05-13 10:11:08 +07:00
|
|
|
The resulting CCTools.jar and CSTools.jar
|
2008-05-29 17:23:06 +07:00
|
|
|
repackage all third party libraries
|
|
|
|
in a single jar for simplified start and version control.
|
|
|
|
The resuling Server CSTools.jar is added to EARs
|
|
|
|
</description>
|
|
|
|
|
2008-11-11 06:54:09 +07:00
|
|
|
<!-- set global properties for this build -->
|
|
|
|
<property name="src" value="src" />
|
|
|
|
<property name="build.dir" value="build" />
|
|
|
|
<property name="jboss.dir" value="../jboss" />
|
|
|
|
<property name="glassfish.dir" value="../glassfishfacet" />
|
|
|
|
<property name="dist.dir" value="../lib" />
|
|
|
|
<!--<property environment="env"/>-->
|
|
|
|
<import file="../utils_dev/properties.xml" />
|
2008-05-29 17:23:06 +07:00
|
|
|
|
2010-04-29 04:07:32 +07:00
|
|
|
<property name="bundle.name" value="org.adempiere.tools"/>
|
|
|
|
<property name="bundle.version" value="0.0.0.2"/>
|
|
|
|
|
2008-11-11 06:54:09 +07:00
|
|
|
<!-- set path to include the necessary jar files for javac -->
|
|
|
|
<path id="project.class.path">
|
|
|
|
<pathelement path="${classpath}" />
|
|
|
|
<pathelement path="lib/jstl.jar" />
|
|
|
|
<pathelement path="lib/jsp-api.jar" />
|
|
|
|
<pathelement path="lib/servlet-api.jar" />
|
|
|
|
<pathelement path="lib/standard.jar" />
|
|
|
|
</path>
|
|
|
|
|
|
|
|
<patternset id="manifest.exclude">
|
|
|
|
<exclude name="META-INF/*.DSA" />
|
|
|
|
<exclude name="META-INF/*.RSA" />
|
|
|
|
<exclude name="META-INF/*.SF" />
|
|
|
|
<exclude name="META-INF/MANIFEST.MF" />
|
|
|
|
<exclude name="META-INF/INDEX.LIST" />
|
|
|
|
</patternset>
|
2009-05-13 10:11:08 +07:00
|
|
|
|
2008-11-11 06:54:09 +07:00
|
|
|
<taskdef resource="net/sf/antcontrib/antlib.xml">
|
|
|
|
<classpath>
|
|
|
|
<fileset file="lib/ant-contrib-1.0b1.jar"></fileset>
|
|
|
|
</classpath>
|
|
|
|
</taskdef>
|
|
|
|
|
|
|
|
<!-- ============================================= -->
|
|
|
|
<!-- Init -->
|
|
|
|
<!-- ============================================= -->
|
|
|
|
<target name="toolsInit" description="initialization target">
|
|
|
|
<echo message="=========== Build Tools ${env.ADEMPIERE_VERSION}" />
|
|
|
|
<!-- create the time stamp -->
|
|
|
|
<tstamp />
|
|
|
|
<!-- create the build directory structure used by compile -->
|
|
|
|
<mkdir dir="${build.dir}" />
|
|
|
|
<!-- check for the distribution directory -->
|
|
|
|
<mkdir dir="${dist.dir}" />
|
|
|
|
|
|
|
|
<uptodate property="jars.uptodate" targetfile="${dist.dir}/CCTools.jar">
|
|
|
|
<srcfiles dir="${src}" includes="**/*.java" />
|
|
|
|
</uptodate>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ============================================= -->
|
|
|
|
<!-- Compile ECS -->
|
|
|
|
<!-- ============================================= -->
|
|
|
|
<target name="toolsCompile" depends="toolsInit" unless="jars.uptodate">
|
|
|
|
<!-- compile the java code from ${src} into ${build.dir}S -->
|
2009-10-05 11:56:48 +07:00
|
|
|
<javac target="1.6" srcdir="${src}" destdir="${build.dir}" deprecation="on" debug="on">
|
2008-11-11 06:54:09 +07:00
|
|
|
<classpath refid="project.class.path" />
|
|
|
|
</javac>
|
|
|
|
<!-- copy all image & sound files from src to the build directory -->
|
|
|
|
<copy todir="${build.dir}">
|
|
|
|
<fileset dir="${src}">
|
|
|
|
<include name="**/images/*" />
|
|
|
|
<include name="**/*.gif" />
|
|
|
|
<include name="**/*.jpg" />
|
|
|
|
<include name="**/*.wav" />
|
|
|
|
<include name="**/*.htm" />
|
|
|
|
<include name="**/*.html" />
|
|
|
|
<include name="**/*.properties" />
|
|
|
|
<exclude name="**/package.html" />
|
|
|
|
</fileset>
|
|
|
|
</copy>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ============================================= -->
|
|
|
|
<!-- Buld Apps Server Client Jars -->
|
|
|
|
<!-- ============================================= -->
|
|
|
|
<target name="toolsAppsServer" depends="toolsCompile" unless="jars.uptodate" description="Create JBoss Client jar">
|
|
|
|
<!-- Create jboss.jar file -->
|
|
|
|
<jar jarfile="${dist.dir}/jboss.jar" duplicate="preserve">
|
2009-05-13 10:11:08 +07:00
|
|
|
<zipfileset src="${jboss.dir}/client/jboss-ejb3x.jar">
|
2008-11-11 06:54:09 +07:00
|
|
|
<patternset refid="manifest.exclude" />
|
2009-05-13 10:11:08 +07:00
|
|
|
</zipfileset>
|
|
|
|
<zipfileset src="${jboss.dir}/client/jboss-ejb3-client.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<zipfileset src="${jboss.dir}/client/jbossall-client.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
2008-11-11 06:54:09 +07:00
|
|
|
<manifest>
|
|
|
|
<attribute name="Specification-Title" value="Adempiere JBoss Client" />
|
|
|
|
<attribute name="Specification-Version" value="${env.ADEMPIERE_VERSION}" />
|
|
|
|
<attribute name="Specification-Vendor" value="Adempiere, Inc." />
|
|
|
|
<attribute name="Implementation-Title" value="jboss ${env.ADEMPIERE_VERSION}" />
|
|
|
|
<attribute name="Implementation-Version" value="${env.ADEMPIERE_VERSION} ${DSTAMP}-${TSTAMP}" />
|
|
|
|
<attribute name="Implementation-Vendor" value="${env.ADEMPIERE_VENDOR}" />
|
|
|
|
<attribute name="Implementation-URL" value="http://www.adempiere.com" />
|
|
|
|
</manifest>
|
|
|
|
</jar>
|
|
|
|
|
|
|
|
<jar jarfile="${dist.dir}/glassfish.jar" duplicate="preserve">
|
|
|
|
<zipgroupfileset dir="${glassfish.dir}/lib" includes="*.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipgroupfileset>
|
|
|
|
<zipfileset src="lib/javaee.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<manifest>
|
|
|
|
<attribute name="Specification-Title" value="Adempiere GlassFish Client" />
|
|
|
|
<attribute name="Specification-Version" value="${env.ADEMPIERE_VERSION}" />
|
|
|
|
<attribute name="Specification-Vendor" value="Adempiere, Inc." />
|
|
|
|
<attribute name="Implementation-Title" value="GlassFish ${env.ADEMPIERE_VERSION}" />
|
|
|
|
<attribute name="Implementation-Version" value="${env.ADEMPIERE_VERSION} ${DSTAMP}-${TSTAMP}" />
|
|
|
|
<attribute name="Implementation-Vendor" value="${env.ADEMPIERE_VENDOR}" />
|
|
|
|
<attribute name="Implementation-URL" value="http://www.adempiere.com" />
|
|
|
|
</manifest>
|
|
|
|
</jar>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<!-- ============================================= -->
|
|
|
|
<!-- Buld Database Jars -->
|
|
|
|
<!-- ============================================= -->
|
|
|
|
<target name="toolsDatabase" depends="toolsCompile" unless="jars.uptodate" description="Create db jars">
|
|
|
|
|
|
|
|
<!-- Create oracle.jar file -->
|
|
|
|
<jar jarfile="${dist.dir}/oracle.jar" duplicate="preserve">
|
2010-06-14 11:24:05 +07:00
|
|
|
<zipfileset src="lib/ojdbc6.jar">
|
2008-11-11 06:54:09 +07:00
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
|
|
|
|
<manifest>
|
|
|
|
<attribute name="Specification-Title" value="Oracle JDBC" />
|
2010-06-14 11:24:05 +07:00
|
|
|
<attribute name="Specification-Version" value="11g" />
|
2008-11-11 06:54:09 +07:00
|
|
|
<attribute name="Specification-Vendor" value="Oracle" />
|
|
|
|
<attribute name="Implementation-Title" value="oracle ${env.ADEMPIERE_VERSION}" />
|
|
|
|
<attribute name="Implementation-Version" value="${env.ADEMPIERE_VERSION} ${DSTAMP}-${TSTAMP}" />
|
|
|
|
<attribute name="Implementation-Vendor" value="${env.ADEMPIERE_VENDOR}" />
|
|
|
|
<attribute name="Implementation-URL" value="http://www.adempiere.org" />
|
|
|
|
</manifest>
|
|
|
|
</jar>
|
|
|
|
|
|
|
|
<!-- Create postgresql.jar file -->
|
|
|
|
<jar jarfile="${dist.dir}/postgresql.jar">
|
|
|
|
<zipfileset src="lib/postgresql.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
|
|
|
|
<manifest>
|
|
|
|
<attribute name="Specification-Title" value="PostgreSQL JDBC" />
|
|
|
|
<attribute name="Specification-Version" value="postgresql" />
|
|
|
|
<attribute name="Specification-Vendor" value="postgresql" />
|
|
|
|
<attribute name="Implementation-Title" value="postgresql ${env.ADEMPIERE_VERSION}" />
|
|
|
|
<attribute name="Implementation-Version" value="${env.ADEMPIERE_VERSION} ${DSTAMP}-${TSTAMP}" />
|
|
|
|
<attribute name="Implementation-Vendor" value="${env.ADEMPIERE_VENDOR}" />
|
|
|
|
<attribute name="Implementation-URL" value="http://www.adempiere.org" />
|
|
|
|
</manifest>
|
|
|
|
</jar>
|
|
|
|
|
|
|
|
</target>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ============================================= -->
|
|
|
|
<!-- Buld Server Jar -->
|
|
|
|
<!-- ============================================= -->
|
|
|
|
<target name="toolsServer" depends="toolsCompile" unless="jars.uptodate" description="Create CSTools.jar">
|
|
|
|
|
|
|
|
<!-- Create CSTools jar -->
|
|
|
|
<jar jarfile="${dist.dir}/CSTools.jar" duplicate="preserve">
|
|
|
|
|
|
|
|
<!-- services entries -->
|
|
|
|
<fileset dir=".">
|
|
|
|
<include name="META-INF/services/**" />
|
|
|
|
</fileset>
|
|
|
|
|
|
|
|
<!-- JSTL -->
|
|
|
|
<zipfileset src="lib/jstl.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<zipfileset src="lib/standard.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<!-- ECS -->
|
|
|
|
<fileset dir="${build.dir}">
|
|
|
|
<include name="**/apache/ecs/**" />
|
|
|
|
</fileset>
|
|
|
|
<!-- Installing Script Based in JSR 223 Scripting APIs -->
|
|
|
|
<zipfileset src="lib/script-api.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<!-- BeanShell -->
|
|
|
|
<zipfileset src="lib/bsh-2.0b5.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<zipfileset src="lib/bsh-engine.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<!-- Groovy -->
|
|
|
|
<zipfileset src="lib/groovy-all-1.5.1.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<zipfileset src="lib/groovy-engine.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<!-- Groovy -->
|
|
|
|
<zipfileset src="lib/jython.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<zipfileset src="lib/jython-engine.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<!-- Payment Processors -->
|
|
|
|
<zipfileset src="lib/Verisign.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
2010-02-16 06:35:13 +07:00
|
|
|
<zipfileset src="lib/payflow.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
2009-10-25 10:28:55 +07:00
|
|
|
<zipfileset src="lib/miglayout-3.7.1-swing.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
2008-11-11 06:54:09 +07:00
|
|
|
<zipfileset src="lib/jpayment.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<!-- Log4J, jnlp -->
|
|
|
|
<zipfileset src="lib/commons-logging.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<zipfileset src="lib/log4j.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<zipfileset src="lib/jnlp.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<!-- Barcode, ftp -->
|
|
|
|
<zipfileset src="lib/barbecue-1.5-beta1.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<zipfileset src="lib/commons-net-1.4.0.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<!-- Adempiere look and feel -->
|
|
|
|
<zipfileset src="lib/looks-2.0.4.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<!-- PDF -->
|
|
|
|
<zipfileset src="lib/jpedal.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
2010-01-12 16:11:57 +07:00
|
|
|
<zipfileset src="lib/iText-2.1.7.jar">
|
2008-11-11 06:54:09 +07:00
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
2009-07-13 13:58:04 +07:00
|
|
|
<!-- JFreeChart -->
|
2010-06-14 15:53:32 +07:00
|
|
|
<zipfileset src="lib/jfreechart-1.0.13.jar">
|
2009-07-13 13:58:04 +07:00
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
2010-06-14 15:53:32 +07:00
|
|
|
<zipfileset src="lib/jcommon-1.0.16.jar">
|
2009-07-13 13:58:04 +07:00
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
2008-11-11 06:54:09 +07:00
|
|
|
<!-- JMS -->
|
|
|
|
<zipfileset src="lib/activemq-core-5.0.0.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<!-- C3P0 connection pool -->
|
|
|
|
<zipfileset src="lib/c3p0-0.9.1.2.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<zipfileset src="lib/c3p0-oracle-thin-extras-0.9.1.2.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<!-- POI -->
|
|
|
|
<zipfileset src="lib/poi-3.0.1-FINAL-20070705.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<!-- CGLib -->
|
|
|
|
<zipfileset src="lib/cglib.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<manifest>
|
|
|
|
<attribute name="Specification-Title" value="Adempiere Server Tools" />
|
|
|
|
<attribute name="Specification-Version" value="${env.ADEMPIERE_VERSION}" />
|
|
|
|
<attribute name="Specification-Vendor" value="Adempiere, Inc." />
|
|
|
|
<attribute name="Implementation-Title" value="CSTools ${env.ADEMPIERE_VERSION}" />
|
|
|
|
<attribute name="Implementation-Version" value="${env.ADEMPIERE_VERSION} ${DSTAMP}-${TSTAMP}" />
|
|
|
|
<attribute name="Implementation-Vendor" value="${env.ADEMPIERE_VENDOR}" />
|
|
|
|
<attribute name="Implementation-URL" value="http://www.adempiere.org" />
|
|
|
|
</manifest>
|
2009-02-18 20:17:30 +07:00
|
|
|
<!-- Commons -->
|
|
|
|
<zipfileset src="lib/commons-collections-3.1.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
2009-03-31 12:26:01 +07:00
|
|
|
</zipfileset>
|
2009-05-13 10:11:08 +07:00
|
|
|
<zipfileset src="lib/commons-codec.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
2009-03-31 12:26:01 +07:00
|
|
|
<!-- jars for 2pack -->
|
|
|
|
<zipfileset src="lib/ant.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<zipfileset src="lib/xercesImpl.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
2009-02-18 20:17:30 +07:00
|
|
|
</zipfileset>
|
2010-02-22 09:20:31 +07:00
|
|
|
<!-- cron job -->
|
|
|
|
<zipfileset src="lib/cron4j-2.2.1.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
2008-11-11 06:54:09 +07:00
|
|
|
</jar>
|
|
|
|
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<!-- ============================================= -->
|
|
|
|
<!-- Buld Client Jar -->
|
|
|
|
<!-- ============================================= -->
|
|
|
|
<target name="toolsClient" depends="toolsCompile" unless="jars.uptodate" description="Create CCTools.jar">
|
|
|
|
|
|
|
|
<!-- Create CCTools.jar file -->
|
|
|
|
<jar jarfile="${dist.dir}/CCTools.jar" duplicate="preserve">
|
|
|
|
|
|
|
|
<!-- services entries -->
|
|
|
|
<fileset dir=".">
|
|
|
|
<include name="META-INF/services/**" />
|
|
|
|
</fileset>
|
|
|
|
|
|
|
|
<!-- ECS -->
|
|
|
|
<fileset dir="${build.dir}">
|
|
|
|
<include name="**/apache/ecs/**" />
|
|
|
|
</fileset>
|
|
|
|
<!-- Tree CellEditor -->
|
|
|
|
<fileset dir="${build.dir}">
|
|
|
|
<include name="it/**" />
|
|
|
|
</fileset>
|
|
|
|
<!-- Mail -->
|
|
|
|
<zipfileset src="lib/mail.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
2010-04-29 04:07:32 +07:00
|
|
|
<!-- Installing Script Based in JSR 223 Scripting APIs -->
|
|
|
|
<zipfileset src="lib/script-api.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
2008-11-11 06:54:09 +07:00
|
|
|
<!-- BeanShell -->
|
|
|
|
<zipfileset src="lib/bsh-2.0b5.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
2010-04-29 04:07:32 +07:00
|
|
|
</zipfileset>
|
|
|
|
<zipfileset src="lib/bsh-engine.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<!-- Groovy -->
|
|
|
|
<zipfileset src="lib/groovy-all-1.5.1.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<zipfileset src="lib/groovy-engine.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<!-- Groovy -->
|
|
|
|
<zipfileset src="lib/jython.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<zipfileset src="lib/jython-engine.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
2008-11-11 06:54:09 +07:00
|
|
|
|
|
|
|
<!-- Payment Processors -->
|
|
|
|
<zipfileset src="lib/Verisign.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
2010-02-16 06:35:13 +07:00
|
|
|
<zipfileset src="lib/payflow.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
2009-10-25 10:28:55 +07:00
|
|
|
<zipfileset src="lib/miglayout-3.7.1-swing.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
2008-11-11 06:54:09 +07:00
|
|
|
<zipfileset src="lib/jpayment.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<!-- Log4J, jnlp -->
|
|
|
|
<zipfileset src="lib/commons-logging.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<zipfileset src="lib/log4j.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<zipfileset src="lib/jnlp.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<!-- Barcode, ftp -->
|
|
|
|
<zipfileset src="lib/barbecue-1.5-beta1.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<zipfileset src="lib/commons-net-1.4.0.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<!-- JFreeChart -->
|
2010-06-14 15:53:32 +07:00
|
|
|
<zipfileset src="lib/jfreechart-1.0.13.jar">
|
2008-11-11 06:54:09 +07:00
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
2010-06-14 15:53:32 +07:00
|
|
|
<zipfileset src="lib/jcommon-1.0.16.jar">
|
2008-11-11 06:54:09 +07:00
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<!-- Graph -->
|
|
|
|
<zipfileset src="lib/jgraph.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<!-- Adempeire Look and Feal -->
|
|
|
|
<zipfileset src="lib/looks-2.0.4.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<!-- jars for 2pack -->
|
|
|
|
<zipfileset src="lib/ant.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<zipfileset src="lib/xercesImpl.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<!-- PDF -->
|
|
|
|
<zipfileset src="lib/jpedal.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
2010-01-12 16:11:57 +07:00
|
|
|
<zipfileset src="lib/iText-2.1.7.jar">
|
2008-11-11 06:54:09 +07:00
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
2010-06-14 13:29:41 +07:00
|
|
|
<zipfileset src="lib/swingx-1.6.jar">
|
2008-11-11 06:54:09 +07:00
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<!-- JMS -->
|
|
|
|
<zipfileset src="lib/activemq-core-5.0.0.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<!-- C3P0 connection pool -->
|
|
|
|
<zipfileset src="lib/c3p0-0.9.1.2.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<zipfileset src="lib/c3p0-oracle-thin-extras-0.9.1.2.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<!-- POI -->
|
|
|
|
<zipfileset src="lib/poi-3.0.1-FINAL-20070705.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<manifest>
|
|
|
|
<attribute name="Specification-Title" value="Adempiere Client Tools" />
|
|
|
|
<attribute name="Specification-Version" value="${env.ADEMPIERE_VERSION}" />
|
|
|
|
<attribute name="Specification-Vendor" value="Adempiere, Inc." />
|
|
|
|
<attribute name="Implementation-Title" value="CCTools ${env.ADEMPIERE_VERSION}" />
|
|
|
|
<attribute name="Implementation-Version" value="${env.ADEMPIERE_VERSION} ${DSTAMP}-${TSTAMP}" />
|
|
|
|
<attribute name="Implementation-Vendor" value="${env.ADEMPIERE_VENDOR}" />
|
|
|
|
<attribute name="Implementation-URL" value="http://www.adempiere.org" />
|
|
|
|
</manifest>
|
2009-02-18 20:17:30 +07:00
|
|
|
<!-- Commons -->
|
|
|
|
<zipfileset src="lib/commons-collections-3.1.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
2009-05-13 10:11:08 +07:00
|
|
|
<zipfileset src="lib/commons-codec.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
2008-11-11 06:54:09 +07:00
|
|
|
</jar>
|
|
|
|
|
|
|
|
</target>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ============================================= -->
|
|
|
|
<!-- Buld Jars -->
|
|
|
|
<!-- ============================================= -->
|
|
|
|
<target name="toolsDistribution" depends="toolsServer, toolsClient, toolsAppsServer, toolsDatabase" unless="jars.uptodate" description="Create jars">
|
|
|
|
|
|
|
|
</target>
|
|
|
|
|
2010-04-29 04:07:32 +07:00
|
|
|
<target name="plugin">
|
|
|
|
<jar destfile="${dist.dir}/plugins/${bundle.name}_${bundle.version}.jar" manifest="META-INF/MANIFEST.MF">
|
|
|
|
<fileset dir="${basedir}">
|
|
|
|
<include name="lib/jstl.jar"/>
|
|
|
|
<include name="lib/Verisign.jar"/>
|
|
|
|
<include name="lib/standard.jar"/>
|
|
|
|
<include name="lib/barbecue-1.5-beta1.jar"/>
|
|
|
|
<include name="lib/poi-3.0.1-FINAL-20070705.jar"/>
|
|
|
|
<include name="lib/jnlp.jar"/>
|
|
|
|
<include name="lib/iText-2.1.7.jar"/>
|
|
|
|
<include name="lib/swingx-0.9.0.jar"/>
|
|
|
|
<include name="lib/miglayout-3.7.1-swing.jar"/>
|
|
|
|
<include name="lib/log4j.jar"/>
|
|
|
|
<include name="lib/activation.jar"/>
|
|
|
|
<include name="lib/mail.jar"/>
|
|
|
|
<include name="lib/jpayment.jar"/>
|
|
|
|
<include name="lib/bsh-2.0b5.jar"/>
|
|
|
|
<include name="lib/script-api.jar"/>
|
|
|
|
<include name="lib/bsh-engine.jar"/>
|
|
|
|
<include name="lib/groovy-all-1.5.1.jar"/>
|
|
|
|
<include name="lib/groovy-engine.jar"/>
|
|
|
|
<include name="lib/jython.jar"/>
|
|
|
|
<include name="lib/jython-engine.jar"/>
|
|
|
|
<include name="lib/jcommon-1.0.14.jar"/>
|
|
|
|
<include name="lib/jfreechart-1.0.11.jar"/>
|
|
|
|
<include name="lib/javaee.jar"/>
|
|
|
|
<include name="lib/activemq-core-5.0.0.jar"/>
|
|
|
|
<include name="lib/ant-commons-net.jar"/>
|
|
|
|
<include name="lib/ant-contrib-1.0b1.jar"/>
|
|
|
|
<include name="lib/ant-launcher.jar"/>
|
|
|
|
<include name="lib/ant.jar"/>
|
|
|
|
<include name="lib/c3p0-0.9.1.2.jar"/>
|
|
|
|
<include name="lib/c3p0-oracle-thin-extras-0.9.1.2.jar"/>
|
|
|
|
<include name="lib/cglib.jar"/>
|
|
|
|
<include name="lib/commons-codec.jar"/>
|
|
|
|
<include name="lib/commons-collections-3.1.jar"/>
|
|
|
|
<include name="lib/commons-logging.jar"/>
|
|
|
|
<include name="lib/commons-net-1.4.0.jar"/>
|
|
|
|
<include name="lib/copyLibraries.bat"/>
|
|
|
|
<include name="lib/jgraph.jar"/>
|
|
|
|
<include name="lib/jpedal.jar"/>
|
|
|
|
<include name="lib/jsp-api.jar"/>
|
|
|
|
<include name="lib/junit.jar"/>
|
|
|
|
<include name="lib/logkit.jar"/>
|
|
|
|
<include name="lib/looks-2.0.4.jar"/>
|
|
|
|
<include name="lib/ocrs12.jar"/>
|
|
|
|
<include name="lib/ojdbc14.jar"/>
|
|
|
|
<include name="lib/postgresql.jar"/>
|
|
|
|
<include name="lib/wizard.jar"/>
|
|
|
|
<include name="lib/xjavadoc-1.1.jar"/>
|
|
|
|
<include name="lib/xml-apis.jar"/>
|
|
|
|
<include name="lib/cron4j-2.2.1.jar"/>
|
|
|
|
<include name="lib/payflow.jar"/>
|
|
|
|
<include name="lib/xercesImpl.jar"/>
|
|
|
|
<include name="META-INF/**/*"/>
|
|
|
|
<include name="plugin.xml"/>
|
|
|
|
</fileset>
|
|
|
|
</jar>
|
|
|
|
</target>
|
|
|
|
|
2008-11-11 06:54:09 +07:00
|
|
|
|
|
|
|
<!-- ============================================= -->
|
|
|
|
<!-- Clean up -->
|
|
|
|
<!-- ============================================= -->
|
|
|
|
<target name="clean">
|
|
|
|
<!-- Delete the ${build.dir} directory trees -->
|
|
|
|
<delete dir="${build.dir}" />
|
|
|
|
<delete file="${dist.dir}/CCTools.jar" failonerror="false" />
|
|
|
|
<delete file="${dist.dir}/CSTools.jar" failonerror="false" />
|
|
|
|
<delete file="${dist.dir}/jboss.jar" failonerror="false" />
|
|
|
|
<delete file="${dist.dir}/glassfish.jar" failonerror="false" />
|
|
|
|
<delete file="${dist.dir}/oracle.jar" failonerror="false" />
|
|
|
|
<delete file="${dist.dir}/postgresql.jar" failonerror="false" />
|
|
|
|
</target>
|
2008-05-29 17:23:06 +07:00
|
|
|
|
|
|
|
</project>
|