<project>
<!-- required: Name of the project -->
<name>GFSOffline</name>
<!-- required: project base director -->
<dir>${project.home.dir}/GFSOffline</dir>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
required: Java source directory and output directory
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<java>
<src.dir>${project.dir}/JavaSource</src.dir>
<test.dir>${project.dir}/TestSource</test.dir>
<src>${project.java.src.dir}</src>
<classes>${project.dir}/bin</classes>
</java>
<!-- required: location of configuration directory -->
<config dir="${project.java.src.dir}">
<includes>**/*.xml,**/*.properties,**/*.xsd</includes>
<excludes>**/Meta-INF/**</excludes>
</config>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
required: project build classpath
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<classpath pathid="project.classpath">
<pathelement location="${frameworks.dir}/BaseFramework.jar" />
<pathelement location="${frameworks.dir}/BusinessFramework.jar" />
<pathelement location="${frameworks.dir}/CommonFramework.jar" />
<pathelement location="${services.dir}/CachingService.jar" />
<pathelement location="${services.dir}/CachingServiceClient.jar" />
<pathelement location="${services.dir}/DateLogic.jar" />
<pathelement location="${services.dir}/DateReconciliation.jar" />
<pathelement location="${services.dir}/DirectoryCacheable.jar" />
<pathelement location="${services.dir}/DirectoryCommonServices.jar" />
<pathelement location="${services.dir}/DirectoryDataSecurityServices.jar" />
<pathelement location="${services.dir}/DirectoryServiceClient.jar" />
<pathelement location="${services.dir}/FaresPartnerSecurity.jar" />
<pathelement location="${services.dir}/LegacyGatewayServices.jar" />
<pathelement location="${services.dir}/LegacyGatewayServicesEJBClient.jar" />
<pathelement location="${services.dir}/EmailService.jar" />
<pathelement location="${sharedJavaLib.dir}/${springVersion.location}/spring-aop-${springVersion.version}.RELEASE.jar" />
<pathelement location="${sharedJavaLib.dir}/${springVersion.location}/spring-aspects-${springVersion.version}.RELEASE.jar" />
<pathelement location="${sharedJavaLib.dir}/${springVersion.location}/spring-beans-${springVersion.version}.RELEASE.jar" />
<pathelement location="${sharedJavaLib.dir}/${springVersion.location}/spring-context-${springVersion.version}.RELEASE.jar" />
<pathelement location="${sharedJavaLib.dir}/${springVersion.location}/spring-context.support-${springVersion.version}.RELEASE.jar" />
<pathelement location="${sharedJavaLib.dir}/${springVersion.location}/spring-core-${springVersion.version}.RELEASE.jar" />
<pathelement location="${sharedJavaLib.dir}/${springVersion.location}/spring-expression-${springVersion.version}.RELEASE.jar" />
<pathelement location="${sharedJavaLib.dir}/${springVersion.location}/spring-web-${springVersion.version}.RELEASE.jar" />
<pathelement location="${sharedJavaLib.dir}/${springVersion.location}/spring-jdbc-${springVersion.version}.RELEASE.jar" />
<pathelement location="${sharedJavaLib.dir}/${springVersion.location}/spring-tx-${springVersion.version}.RELEASE.jar" />
<pathelement location="${sharedJavaLib.dir}/${springVersion.location}/spring-test-${springVersion.version}.RELEASE.jar" />
<pathelement location="${sharedJavaLib.dir}/spring/aspectj-1.6.11/aspectjweaver.jar" />
<pathelement location="${sharedJavaLib.dir}/spring/aopalliance.jar" />
<pathelement location="${struts.location}/commons-beanutils-1.8.0.jar" />
<pathelement location="${db2.home.dir}/db2jcc4.jar" />
<pathelement location="${db2.home.dir}/db2jcc_license_cisuz.jar" />
<pathelement location="${sharedJavaLib.dir}/apache/lucene/lucene-core-3.6.1.jar" />
<pathelement location="${apache}/log4j/log4j-1.2.16.jar" />
<pathelement location="${apacheCommons}/commons-logging.jar" />
<pathelement location="${apacheCommons}/commons-collections-3.2.jar" />
<pathelement location="${apacheCommons}/commons-pool-1.3.jar" />
<pathelement location="${apacheCommons}/commons-lang-2.2.jar" />
<pathelement location="${apacheCommons}/commons-io-1.3.2.jar" />
<pathelement location="${apacheCommons}/commons-dbcp-1.4.jar" />
<!-- To be modified to the new path-->
<pathelement location="${dds.common}/DDSCommon.jar" />
<pathelement location="${dds.common}/DDSCommonService.jar" />
<pathelement location="${dds.common}/DDSOffline.jar" />
<pathelement location="${dds.common}/DDSOfflineClient.jar" />
<pathelement location="${dist.dir}/GFSOfflineClient.jar" />
<pathelement location="${dds.common}/atp-redis-cache-1.0.jar" />
<pathelement location="${dds.common}/CommonServer.jar" />
<pathelement location="${dds.common}/BatchClient.jar" />
<pathelement location="${dds.common}/BatchContainer.jar" />
<pathelement location="${sharedJavaLib.dir}/jedis/jedis-2.1.0.jar" />
<pathelement location="${sharedJavaLib.dir}/spring/data/spring-data-redis-1.1.0.RELEASE.jar" />
<pathelement location="${project.java.classes}" />
<pathelement location="${websphere.server.dir}/lib/activation-impl.jar"/>
<pathelement location="${websphere.server.dir}/lib/admin.config.sched.jar"/>
<pathelement location="${websphere.server.dir}/lib/batch.wccm.jar"/>
<pathelement location="${websphere.server.dir}/lib/batchprops.jar"/>
<pathelement location="${websphere.server.dir}/lib/batchutilsfep.jar"/>
<pathelement location="${websphere.server.dir}/lib/batfepapi.jar"/>
<pathelement location="${websphere.server.dir}/lib/bootstrap.jar"/>
<pathelement location="${websphere.server.dir}/lib/bsf-engines.jar"/>
<pathelement location="${websphere.server.dir}/lib/commandlineutils.jar"/>
<pathelement location="${websphere.server.dir}/lib/commons-discovery.jar"/>
<pathelement location="${websphere.server.dir}/lib/databeans.jar"/>
<pathelement location="${websphere.server.dir}/lib/EJBCommandTarget.jar"/>
<pathelement location="${websphere.server.dir}/lib/ffdcSupport.jar"/>
<pathelement location="${websphere.server.dir}/lib/htmlshell.jar"/>
<pathelement location="${websphere.server.dir}/lib/iscdeploy.jar"/>
<pathelement location="${websphere.server.dir}/lib/ivblogbr.jar"/>
<pathelement location="${websphere.server.dir}/lib/IVTClient.jar"/>
<pathelement location="${websphere.server.dir}/lib/j2ee.jar"/>
<pathelement location="${websphere.server.dir}/lib/jacl.jar"/>
<pathelement location="${websphere.server.dir}/lib/jNative2ascii.jar"/>
<pathelement location="${websphere.server.dir}/lib/jrom.jar"/>
<pathelement location="${websphere.server.dir}/lib/launchclient.jar"/>
<pathelement location="${websphere.server.dir}/lib/lmproxy.jar"/>
<pathelement location="${websphere.server.dir}/lib/mail-impl.jar"/>
<pathelement location="${websphere.server.dir}/lib/openwebbeans.jar"/>
<pathelement location="${websphere.server.dir}/lib/OTiSConvertTime.jar"/>
<pathelement location="${websphere.server.dir}/lib/pc-appext.jar"/>
<pathelement location="${websphere.server.dir}/lib/pmirm4arm.jar"/>
<pathelement location="${websphere.server.dir}/lib/rrd-appext.jar"/>
<pathelement location="${websphere.server.dir}/lib/rsadbutils.jar"/>
<pathelement location="${websphere.server.dir}/lib/rsahelpers.jar"/>
<pathelement location="${websphere.server.dir}/lib/serviceadapter.jar"/>
<pathelement location="${websphere.server.dir}/lib/setup.jar"/>
<pathelement location="${websphere.server.dir}/lib/startup.jar"/>
<pathelement location="${websphere.server.dir}/lib/tcljava.jar"/>
<pathelement location="${websphere.server.dir}/lib/urlprotocols.jar"/>
<pathelement location="${websphere.server.dir}/lib/wasservicecmd.jar"/>
<pathelement location="${websphere.server.dir}/lib/wses_dynaedge.jar"/>
<pathelement location="${websphere.server.dir}/lib/wsif-compatb.jar"/>
<pathelement location="${sharedJavaLib.dir}/websphere/8.0/websphere_apis.jar"/>
<pathelement location="${sharedJavaLib.dir}/websphere/8.0/com.ibm.jaxws.thinclient_8.0.0.jar"/>
<pathelement location="${sharedJavaLib.dir}/websphere/8.0/com.ibm.ws.admin.client_8.0.0.jar"/>
<pathelement location="${sharedJavaLib.dir}/websphere/8.0/com.ibm.ws.webservices.thinclient_8.0.0.jar"/>
<pathelement location="${sharedJavaLib.dir}/services/${framework.version}/DirectoryServiceClient.jar"/>
<pathelement location="${sharedJavaLib.dir}/services/${framework.version}/DirectoryCacheable.jar"/>
<pathelement location="${sharedJavaLib.dir}/services/${framework.version}/CachingService.jar"/>
<pathelement location="${dds.common}/CommonServer.jar"/>
</classpath>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Optional: If this project depends on other project and needs to be build
the configure it
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<depends>
<depend name="GFSOfflineClient" fileLocation="prop/gfs/GFSOfflineClient.xml" />
</depends>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
required:
Default target to be executed
This target can be overwritten from command prompt
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<default-target>jar</default-target>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
required:
The files to be included and excluded when building the project
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<jar name="${project.name}.jar">
<includes>**/*.classes,**/*.xml,**/*.properties</includes>
<!--<excludes>**/*Test*.*,**/*test*.*,**/.settings/**,**/Java Source/**,**/Test Source/**</excludes>-->
<mainfest>
<!-- Starting to think that the jar classpath is not needed (or useful)
if I am wrong,it is possible to use ${springVersion.version} in lieu of the actual spring
version string to make the ant scripts easier to maintain
<classpath>CommonFramework.jar aopalliance.jar spring-aop-3.1.0.RELEASE.jar spring-aspects-3.1.0.RELEASE.jar spring-beans-3.1.0.RELEASE.jar spring-context-3.1.0.RELEASE.jar spring-context.support-3.1.0.RELEASE.jar spring-core-3.1.0.RELEASE.jar spring-expression-3.1.0.RELEASE.jar spring-jdbc-3.1.0.RELEASE.jar spring-tx-3.1.0.RELEASE.jar spring-web-3.1.0.RELEASE.jar spring-security-core-3.1.0.RELEASE.jar</classpath>
-->
<classpath/>
</mainfest>
</jar>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Optional:
The files to be included and excluded when building the project
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<jar-src name="${project.name}_src.jar">
<excludes>**/*.class,**/.c*,**/.p*,**/.s*,**/.z* **/com/**/*,**/org/**/*</excludes>
<includes>${project.jar.name}</includes>
</jar-src>
</project>
原文链接:https://www.f2er.com/xml/298348.html