forked from frankframework/frankframework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
89 lines (85 loc) · 10.4 KB
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<project default="jar">
<!-- ================================================================== -->
<target name="init">
<property name="build.dir" value="D:/Temp/AdapterFramework/build"/>
<delete dir="${build.dir}"/>
<mkdir dir="${build.dir}"/>
<property file="webapp/src/main/webapp/WEB-INF/classes/AppConstants.properties" prefix="ac"/>
<propertyfile file="${build.dir}/IAF.properties">
<entry key="timestamp" type="date" pattern="yyyyMMdd-HHmm" value="now"/>
</propertyfile>
<property file="${build.dir}/IAF.properties" prefix="iaf"/>
</target>
<!-- ================================================================== -->
<target name="jar" description="Create the jar file" depends="init">
<jar destfile="${build.dir}/AdapterFramework ${ac.application.version}.jar" duplicate="preserve">
<fileset dir="coolgen/src/main/java"/>
<fileset dir="core/src/main/java"/>
<fileset dir="core/src/main/resources"/>
<fileset dir="ibm/src/main/java"/>
<fileset dir="ifsa/src/main/java"/>
<fileset dir="sap/src/main/java"/>
<fileset dir="tibco/src/main/java"/>
<fileset dir="webapp/src/main/webapp/WEB-INF/classes"/>
<manifest>
<attribute name="Built-By" value="${user.name}"/>
<section name="nl/nn/adapterframework/">
<attribute name="Specification-Title" value="${ac.application.name}"/>
<attribute name="Specification-Version" value="${ac.application.version}"/>
<attribute name="Specification-Vendor" value="Nationale-Nederlanden"/>
<attribute name="Implementation-Title" value="nl.nn.adapterframework"/>
<attribute name="Implementation-Version" value="${ac.application.version}_${iaf.timestamp}"/>
<attribute name="Implementation-Vendor" value="Nationale-Nederlanden"/>
</section>
</manifest>
</jar>
</target>
<!-- ================================================================== -->
<target name="javadoc" description="Create the javadoc documentation" depends="init">
<property name="javadoc.dir" value="${build.dir}/api"/>
<delete dir="${javadoc.dir}"/>
<mkdir dir="${javadoc.dir}"/>
<path id="iaf.classpath">
<!--pathelement path="D:\Data\git_home\iaf-lib\iaf-lib\sap\sapidoc-1.0.1.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\quartz-1.6.6.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\stax-1.2.0.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\saaj.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\rowset.jar;D:\Data\git_home\iaf-lib\iaf-lib\ifsa\ifsajmsXA-22.10.055(beta).jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\xml-apis-xerces-2.9.1.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\saxon9he.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\jakarta-oro.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\cglib-nodep-2.1_3.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\xmlunit1.0.jar;D:\Data\git_home\iaf-lib\iaf-lib\ifsa\ifsajcil.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\wss4j-1.5.4.jar;D:\Data\git_home\iaf-lib\iaf-lib\coolgen\NNCoolgenJavaProxies.jar;D:\Data\git_home\iaf-lib\iaf-lib\ifsa\ifsaj2ee.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\xercesImpl-2.9.1.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\log4j-1.2.16.jar;D:\Data\git_home\iaf-lib\iaf-lib\ifsa\IFSACommon.jar;D:\Data\git_home\iaf-lib\iaf-lib\sap\sapjco3.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\commons-digester-1.8.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\aspectjrt.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\commons-lang-2.6.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\IbisXtags.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\commons-logging.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\jdbc2_0-stdext.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\commons-pool-1.2.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\commons-dbcp.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\commons-collections-3.2.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\IbisXalan.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\commons-httpclient-3.0.1.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\jaxen-1.1.6.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\IbisXalanSerializer.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\commons-services.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\tibjmsadmin.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\IbisBtm.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\xmlsec-1.4.1.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\easybeans-component-carol-1.1.0-RC1.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\soap-2_3_1.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\httpcore-4.2.4.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\httpclient-4.2.5.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\aspectjweaver.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\howl.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\IbisTestTool.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\IbisServiceDispatcher_1.3.jar;D:\Data\git_home\iaf-lib\iaf-lib\ifsa\IFSARequestorEJB.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\commons-validator.jar;D:\Data\git_home\iaf-lib\iaf-lib\ibm\com.ibm.mqjms.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\tibjms.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\commons-beanutils-core-1.7.0.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\stax-utils.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\spring-2.5.6-sec01.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\cg65jpip.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\mail-1.2.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\NNCoolgenJavaProxies.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\xmlbeans-2.4.0.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\commons-resources.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\IbisJSon.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\commons-fileupload.jar;D:\Data\git_home\iaf-lib\iaf-lib\eclipse\j2ee.jar;D:\Data\git_home\iaf-lib\iaf-lib\tibco\tibjmsadmin.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\jotm.jar;D:\Data\git_home\iaf-lib\iaf-lib\tibco\tibjms.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\stax-1.1.2-dev.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\opensaml-1.0.1.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\stax-api-1.0.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\axis-1.4.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\commons-codec-1.5.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\j2ssh.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\Echo2.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\dom4j-1.6.1.jar;D:\Data\git_home\iaf-lib\iaf-lib\sap\sapjco.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\commons-cli-1.0.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\ehcache-1.5.0.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\struts-11-final-Websphere.jar;D:\Data\git_home\iaf-lib\iaf-lib\ibm\com.ibm.ws.runtime_6.1.0.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\TestTool.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\jcifs-1.3.17.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\commons-net-1.4.1.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\IbisWsdl4j-1.6.2.jar;D:\Data\git_home\iaf-lib\iaf-lib\sap\sapidocjco-1.0.2.jar;D:\Data\git_home\iaf-lib\iaf-lib\sap\sapidoc3.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\xtags.jar;D:\Data\git_home\iaf-lib\iaf-lib\ifsa\mett-server.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\activation.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\backport-util-concurrent-3.0.jar"/-->
<fileset dir="webapp/src/main/webapp/WEB-INF/lib">
<include name="**/*.jar"/>
</fileset>
<fileset dir="../iaf-lib">
<include name="**/*.jar"/>
</fileset>
</path>
<path id="iaf.sourcepath">
<!--pathelement path="D:\Data\git_home\iaf-head\core\src\main\resources;D:\Data\git_home\iaf-head\core\src\main\java;D:\Data\git_home\iaf-head\sap\src\main\java;D:\Data\git_home\iaf-head\ifsa\src\main\java;D:\Data\git_home\iaf-head\ibm\src\main\java;D:\Data\git_home\iaf-head\tibco\src\main\java;D:\Data\git_home\iaf-head\coolgen\src\main\java"/-->
<pathelement path="coolgen/src/main/java"/>
<pathelement path="core/src/main/java"/>
<pathelement path="core/src/main/resources"/>
<pathelement path="ibm/src/main/java"/>
<pathelement path="ifsa/src/main/java"/>
<pathelement path="sap/src/main/java"/>
<pathelement path="tibco/src/main/java"/>
</path>
<javadoc
classpathref="iaf.classpath"
sourcepathref="iaf.sourcepath"
destdir="${javadoc.dir}"
windowtitle="${ac.application.name} v${ac.application.version} Developer Documentation"
use="true"
author="true"
doctitle="<h1>IBIS AdapterFramework v${ac.application.version} Developer Documentation</h1>"
bottom="<i>MIX/IBIS</i>">
</javadoc>
<zip destfile="${build.dir}/api-v${ac.application.version}.zip">
<fileset dir="${javadoc.dir}" casesensitive="no" defaultexcludes="false">
<include name="**" />
<include name="*.*" />
</fileset>
</zip>
</target>
<!-- ================================================================== -->
<target name="testproject" description="Create the jar file and copy it to a test project" depends="jar">
<property name="ibis.testproject" value="Ibis4TestIAFWEB"/>
<copy file="${build.dir}/AdapterFramework ${ac.application.version}.jar" todir="../${ibis.testproject}/WebContent/WEB-INF/lib"/>
<!-- eclipse.convertPath fileSystemPath="../${ibis.testproject}/WebContent/WEB-INF/lib" property="project.resource"/>
<eclipse.refreshLocal resource="${project.resource}" depth="infinite"/ -->
</target>
</project>