码迷,mamicode.com
首页 > 编程语言 > 详细

fitnesse管理引进的jar包

时间:2015-01-19 20:43:36      阅读:237      评论:0      收藏:0      [点我收藏+]

标签:

如下:需要引进的jar很多,并且路径都不一样,这样增加删减jar就比较麻烦

!*> setup
!define TEST_SYSTEM {slim}
!define LOCAL_PATH  {C:\Users\qiuwy\.m2\repository}
!path ${LOCAL_PATH}\org\slf4j\slf4j-api\1.6.4\slf4j-api-1.6.4.jar
!path ${LOCAL_PATH}\org\slf4j\slf4j-log4j12\1.6.4\slf4j-log4j12-1.6.4.jar
!path ${LOCAL_PATH}\log4j\log4j\1.2.16\log4j-1.2.16.jar
!path ${LOCAL_PATH}\net\sf\json-lib\json-lib\2.4\json-lib-2.4-jdk15.jar
!path ${LOCAL_PATH}\org\apache\httpcomponents\httpclient\4.3.1\httpclient-4.3.1.jar
!path ${LOCAL_PATH}\org\apache\httpcomponents\httpcore\4.3\httpcore-4.3.jar
!path ${LOCAL_PATH}\org\json\json\20090211\json-20090211.jar
!path ${LOCAL_PATH}\org\kohsuke\stapler\json-lib\2.1\json-lib-2.1-jdk15.jar
!path ${LOCAL_PATH}\org\apache\commons\commons-lang3\3.1\commons-lang3-3.1.jar
!path ${LOCAL_PATH}\org\slf4j\jcl-over-slf4j\1.6.4\jcl-over-slf4j-1.6.4.jar
!path ${LOCAL_PATH}\com\funshion\ssh2\0.0.1\ssh2-0.0.1.jar
!path ${LOCAL_PATH}\net\sf\json-lib\json-lib\2.4\json-lib-2.4-jdk15.jar
!path ${LOCAL_PATH}\net\sf\ezmorph\ezmorph\1.0.6\ezmorph-1.0.6.jar
!path ${LOCAL_PATH}\commons-beanutils\commons-beanutils\20030211.134440\commons-beanutils-20030211.134440.jar
!path ${LOCAL_PATH}\junit\junit\4.11\junit-4.11.jar

*!

 

后来想到了一个办法,就是把需要使用的jar拿出来放在一个目录下,只要引进这个路径下的*.jar就行

下次如果要增加删除jar,fitnesse的文件就不许改动

只需要在这个路径下增加或删除相应的jar包即可

 

如下:

!*> setup
!define TEST_SYSTEM {slim}
!define LOCAL_PATH  {C:\Users\qiuwy\.m2\repository}
!path ${LOCAL_PATH}\jarPackage\*.jar

*!

fitnesse管理引进的jar包

标签:

原文地址:http://www.cnblogs.com/weiweiyao/p/4234534.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!