<project>
<!-- required: Name of the project -->
<name>GFSTestProject</name>
<!-- required: project base director -->
<dir>${project.home.dir}/GFSTestProject</dir>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
required: Java source directory and output directory
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<java>
<src.dir>${project.dir}/TestSource</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" />
<!-- Spring jar files -->
<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="${sharedJavaLib.dir}/junit-addons-1.4/junit-addons-1.4.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" />
<!-- Junit specific jar files-->
<pathelement location="${sharedJavaLib.dir}/junit/junit-4.8.2.jar" />
<pathelement location="${sharedJavaLib.dir}/TDD/jmock-2.5.1/cglib-nodep-2.1_3.jar" />
<pathelement location="${sharedJavaLib.dir}/TDD/jmock-2.5.1/hamcrest-core-1.1.jar" />
<pathelement location="${sharedJavaLib.dir}/TDD/jmock-2.5.1/hamcrest-library-1.1.jar" />
<pathelement location="${sharedJavaLib.dir}/TDD/jmock-2.5.1/jmock-2.5.1.jar" />
<pathelement location="${sharedJavaLib.dir}/TDD/jmock-2.5.1/jmock-junit4-2.5.1.jar" />
<pathelement location="${sharedJavaLib.dir}/TDD/jmock-2.5.1/jmock-legacy-2.5.1.jar" />
<pathelement location="${sharedJavaLib.dir}/TDD/jmock-2.5.1/jmock-script-2.5.1.jar" />
<pathelement location="${sharedJavaLib.dir}/TDD/jmock-2.5.1/objenesis-1.0.jar" />
<pathelement location="${sharedJavaLib.dir}/TDD/jmockit/jmockit.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" />
<!--DDS project jar files -->
<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="${dds.common}/atp-redis-cache-1.0.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="${dist.dir}/GFSOfflineClient.jar" />
<pathelement location="${dist.dir}/GFSOffline.jar" />
<pathelement location="${dds.common}/CommonServer.jar"/>
<pathelement location="${dds.common}/BatchClient.jar" />
<pathelement location="${dds.common}/BatchContainer.jar" />
</classpath>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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/298346.html