2010-03-21 16:38:19 +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=".">
|
|
|
|
|
|
|
|
<description>
|
|
|
|
The resulting CCTools.jar and CSTools.jar
|
|
|
|
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>
|
|
|
|
|
|
|
|
<!-- 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" />
|
|
|
|
|
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"/>
|
|
|
|
|
2010-03-21 16:38:19 +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>
|
|
|
|
|
|
|
|
<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 -->
|
2010-04-29 04:07:32 +07:00
|
|
|
<javac target="1.6" srcdir="${src}" destdir="${build.dir}" deprecation="on" debug="on">
|
2010-03-21 16:38:19 +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">
|
|
|
|
<zipfileset src="${jboss.dir}/client/jboss-ejb3x.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</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>
|
|
|
|
<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">
|
|
|
|
<zipfileset src="lib/ojdbc14.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<zipfileset src="lib/ocrs12.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
|
|
|
|
<manifest>
|
|
|
|
<attribute name="Specification-Title" value="Oracle JDBC" />
|
|
|
|
<attribute name="Specification-Version" value="10g" />
|
|
|
|
<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-04-29 04:07:32 +07:00
|
|
|
<zipfileset src="lib/payflow.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<zipfileset src="lib/miglayout-3.7.1-swing.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
2010-03-21 16:38:19 +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-04-29 04:07:32 +07:00
|
|
|
<zipfileset src="lib/iText-2.1.7.jar">
|
2010-03-21 16:38:19 +07:00
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<!-- JFreeChart -->
|
|
|
|
<zipfileset src="lib/jfreechart-1.0.11.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<zipfileset src="lib/jcommon-1.0.14.jar">
|
|
|
|
<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>
|
|
|
|
<!-- 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>
|
|
|
|
<!-- Commons -->
|
|
|
|
<zipfileset src="lib/commons-collections-3.1.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<zipfileset src="lib/commons-codec.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>
|
2010-04-29 04:07:32 +07:00
|
|
|
<!-- cron job -->
|
|
|
|
<zipfileset src="lib/cron4j-2.2.1.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
2010-03-21 16:38:19 +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/activation.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<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>
|
2010-03-21 16:38:19 +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>
|
2010-03-21 16:38:19 +07:00
|
|
|
|
|
|
|
<!-- Payment Processors -->
|
|
|
|
<zipfileset src="lib/Verisign.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
2010-04-29 04:07:32 +07:00
|
|
|
<zipfileset src="lib/payflow.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<zipfileset src="lib/miglayout-3.7.1-swing.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
2010-03-21 16:38:19 +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 -->
|
|
|
|
<zipfileset src="lib/jfreechart-1.0.11.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<zipfileset src="lib/jcommon-1.0.14.jar">
|
|
|
|
<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-04-29 04:07:32 +07:00
|
|
|
<zipfileset src="lib/iText-2.1.7.jar">
|
2010-03-21 16:38:19 +07:00
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<zipfileset src="lib/swingx-0.9.0.jar">
|
|
|
|
<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>
|
|
|
|
<!-- Commons -->
|
|
|
|
<zipfileset src="lib/commons-collections-3.1.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
<zipfileset src="lib/commons-codec.jar">
|
|
|
|
<patternset refid="manifest.exclude" />
|
|
|
|
</zipfileset>
|
|
|
|
</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>
|
|
|
|
|
2010-03-21 16:38:19 +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>
|
|
|
|
|
|
|
|
</project>
|