<project> <!-- Required: Name of the project --> <name>GFSOfflineClient</name> <!-- Required: project base director --> <dir>${project.home.dir}/GFSOfflineClient</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}/DirectoryServiceClient.jar" /> <pathelement location="${services.dir}/DirectoryCacheable.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}/apache/log4j/log4j-1.2.16.jar" /> <pathelement location="${sharedJavaLib.dir}/apache/common/commons-logging.jar" />
<!-- To be modified to the new path--> <pathelement location="${dds.common}/DDSCommon.jar" /> <pathelement location="${dds.common}/DDSCommonService.jar" /> <pathelement location="${dds.common}/DDSOfflineClient.jar" /> <pathelement location="${dds.common}/BatchClient.jar" />
<pathelement location="${project.java.classes}" />
</classpath>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Optional: If this project depends on other project and needs to be build the configure it - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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> (编辑:李大同)
【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!
|