GFSTestProject.xml

<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>

GFSTestProject.xml,布布扣,bubuko.com

时间: 2024-10-24 10:43:55

GFSTestProject.xml的相关文章

Junit.xml

<project> <!-- Required: Name of the project --> <name>GFSJunit</name> <classpath pathid="base.classpath">    <pathelement location="${apacheCommons.dir}/commons-beanutils.jar" />    <pathelement

PerformanceTest.xml

<project> <!-- Required: Name of the project --> <name>PerformanceTest</name> <classpath pathid="base.classpath">    <pathelement location="${apacheCommons.dir}/commons-beanutils.jar" />    <pathe

Maven中,pom.xml文件报错

一:错误消息,如下图: aus 原因是本地仓库在org.codehaus.plexus:plexus-uils:pom:3.0.20下面没有jar文件,只有一个plexus-utils-3.0.20.pom.lastUpdated,如下图: 解决:将该文件夹删掉,然后右击项目:Maven->Update Project就可以了 若pom.xml里面还有类型的报错,就像这样解决就OK了

微信5.4 AndroidManifest.xml

1 <?xml version="1.0" encoding="utf-8" ?> 2 - <manifest android:versionCode="462" android:versionName="5.4.0.48_r794734" android:installLocation="auto" package="com.tencent.mm" xmlns:and

C#中XML与对象之间的序列化、反序列化

using System; using System.IO; using System.Text; using System.Xml; using System.Xml.Serialization; namespace Xml.Utility { public static class XmlUtil { /// <summary> /// 将一个对象序列化为XML字符串 /// </summary> /// <param name="o">要序列化

logback-spring.xml的schema

<?xml version="1.0" encoding="utf-8" ?> <configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.padual.com/java/logback.xsd"> </configuration>

Web.xml 中 metadata-complete 介绍

Servlet 3.0 的部署描述文件 web.xml 的顶层标签 <web-app> 有一个 metadata-complete 属性, 该属性指定当前的部署描述文件是否是完全的. 如果设置为 true,则容器在部署时将只依赖部署描述文件,忽略所有的注解(同时也会跳过 web-fragment.xml 的扫描,亦即禁用可插性支持,具体请看后文关于 可插性支持的讲解): 如果不配置该属性,或者将其设置为 false,则表示启用注解支持(和可插性支持).

关于java解析xml文件出现的问题

问题1:导入javax.xml.parsers.DocumentBuilderFactory出现问题,如图: 解决办法是:由于创建工程时有个默认的jre,重新创建工程改掉就解决了,如图: 问题2:出现1 字节的 UTF-8 序列的字节 1 无效,解决办法: 使用记事本打开xml文件--点击文件-另存为-修改编码方式为UTF-8 -覆盖保存,如图: 以后出现问题还会补充

XML

一.XML概述     定义:Extensible Makeup Language(可扩展标记语言);     作用:         1.存储数据,有良好的存储格式,多种语言通用         2.作为配置文件,许多框架都使用xml作为配置文件     语法:         1.文件后缀名必须为.xml;         2.文档声明必须写在第一行,且前面不能空格,一般写法:<?xml version="1.0" encoding="UTF-8"?>