workspace
努力奮斗——I believe I can fly
BlogJava
首頁
新隨筆
聯系
聚合
管理
隨筆分類
(47)
Ajax(5)
(rss)
C/C++(4)
(rss)
ExtJS(8)
(rss)
Flex(8)
(rss)
Java(13)
(rss)
Python(2)
(rss)
工程相關(4)
(rss)
數據庫(3)
(rss)
收藏夾
(2)
C++(2)
(rss)
Java
(rss)
隨筆檔案
(103)
2011年8月 (1)
2010年10月 (2)
2010年7月 (1)
2010年2月 (1)
2009年12月 (2)
2009年11月 (1)
2009年10月 (1)
2009年9月 (5)
2009年8月 (5)
2009年7月 (2)
2009年6月 (2)
2009年5月 (3)
2009年4月 (9)
2009年3月 (14)
2009年2月 (3)
2009年1月 (8)
2008年12月 (12)
2008年11月 (10)
2008年10月 (2)
2008年8月 (4)
2008年7月 (1)
2008年6月 (3)
2008年5月 (4)
2008年4月 (2)
2008年3月 (5)
文章檔案
(5)
2008年8月 (1)
2008年3月 (4)
相冊
doc
最新隨筆
1.?SSH框架的瓶頸在哪里?
2.?新中國成立以來的暴富機會 (轉載)
3.?自動執行重復任務的軟件——KarDo
4.?工作中最常用到的統計方法
5.?Oracle學習筆記
6.?企業信息化的開源解決方案
7.?Enterprise Architecture 2.0
8.?2009需要關注的新技術
9.?中了a.exe病毒
10.?讀書筆記——Flex與Spring && Flex與IOC框架
最新評論
1.?re: Emma使用過程中遇到的 錯誤
沒太看明白。。能說詳細點么
--我不愛吃魚丸
2.?re: Office 2003兼容2007格式的轉換器[未登錄]
66
--jin
3.?re: Extjs combo直接放在window里的bug報告
謝謝了,終于把這個問題解決了
--paul.qin
4.?re: Office 2003兼容2007格式的轉換器
想下載office2003兼容2007的格式轉換器
--NG FOONG LIEW
5.?re: Office 2003兼容2007格式的轉換器
想下載office2003兼容2007的格式轉換器
--張霞
integration of Ant&JUnit
Posted on 2008-03-07 14:29
Robert Su
閱讀(174)
評論(0)
編輯
收藏
<?
xml version
=
"
1.0
"
encoding
=
"
utf-8
"
?>
<
project name
=
"
test
"
default
=
"
test
"
basedir
=
"
.
"
>
<!--
配置基本屬性
-->
<
property name
=
"
src
"
value
=
"
src
"
/>
<
property name
=
"
build
"
value
=
"
build
"
/>
<
property name
=
"
lib
"
value
=
"
lib
"
/>
<
property name
=
"
dist
"
value
=
"
dist
"
/>
<
property name
=
"
classpath
"
location
=
"
${build}
"
/>
<!--
配置測試報告的屬性
-->
<
property name
=
"
report
"
value
=
"
report
"
/>
<
property name
=
"
report.xml
"
value
=
"
${report}/junit/xml
"
/>
<
property name
=
"
report.html
"
value
=
"
${report}/junit/html
"
/>
<
path id
=
"
classpath.run
"
>
<
pathelement path
=
"
${classpath}
"
/>
<
fileset dir
=
"
${lib}
"
>
<
include name
=
"
*.jar
"
/>
</
fileset
>
</
path
>
<!--
配置測試時classpath
-->
<
path id
=
"
classpath.test
"
>
<
path refid
=
"
classpath.run
"
/>
<
path location
=
"
${dist}/lib/test-${DSTAMP}.jar
"
/>
</
path
>
<!--
任務初始化
-->
<
target name
=
"
init
"
>
<
tstamp
/>
<
delete dir
=
"
${build}
"
/>
<
delete dir
=
"
${report}
"
/>
<
delete dir
=
"
${dist}
"
/>
<
mkdir dir
=
"
${build}
"
/>
</
target
>
<!--
配置編譯任務
-->
<
target name
=
"
compile
"
depends
=
"
init
"
>
<
javac srcdir
=
"
${src}
"
destdir
=
"
${build}
"
>
<
classpath refid
=
"
classpath.run
"
/>
</
javac
>
</
target
>
<
echo
>
Build into $
{dest.dir}
, successfully.
</
echo
>
<!--
配置打包任務
-->
<
target name
=
"
dist
"
depends
=
"
compile
"
>
<
mkdir dir
=
"
${dist}/lib
"
/>
<
jar jarfile
=
"
${dist}/lib/test-${DSTAMP}.jar
"
basedir
=
"
${build}
"
/>
</
target
>
<!--
配置運行任務
-->
<
target name
=
"
run
"
depends
=
"
compile, dist
"
>
<
java classname
=
"
com.test.HelloWorldTest
"
>
<
classpath
>
<
path refid
=
"
classpath.run
"
/>
</
classpath
>
</
java
>
</
target
>
<!--
配置JUnit測試,打印測試結果
-->
<
target name
=
"
test
"
depends
=
"
compile, dist
"
>
<
mkdir dir
=
"
${report.xml}
"
/>
<
mkdir dir
=
"
${report.html}
"
/>
<
junit printsummary
=
"
yes
"
haltonfailure
=
"
no
"
>
<
classpath refid
=
"
classpath.run
"
/>
<
formatter type
=
"
xml
"
/>
<
batchtest fork
=
"
yes
"
todir
=
"
${report.xml}
"
>
<
fileset dir
=
"
${src}
"
includes
=
"
**/*test.java
"
/>
</
batchtest
>
</
junit
>
<
junitreport todir
=
"
${report.html}
"
>
<
fileset dir
=
"
${report.xml}
"
>
<
include name
=
"
*.xml
"
/>
</
fileset
>
<
report format
=
"
frames
"
todir
=
"
${report.html}
"
/>
</
junitreport
>
<
echo
>
JUnit Success
!</
echo
>
</
target
>
</
project
>
新用戶注冊
刷新評論列表
只有注冊用戶
登錄
后才能發表評論。
網站導航:
博客園
IT新聞
Chat2DB
C++博客
博問
管理
常用鏈接
我的隨筆
我的文章
我的評論
我的參與
最新評論
friend
Bill Hsu
擅自鏈接~值得研讀的一個blog
My C++ blog-Wonderland
(rss)
Web設計
業內新聞BLOG
業內新聞BLOG
個人博客之數據分析
北銀消費金融公司
大牛BLOG
私自鏈接收藏
曲強
有夢想的xiegang
老鄉的blog
評論排行榜
1.?Office 2003兼容2007格式的轉換器(20)
2.?基于EXT+XSL的的RSS訂閱系統(8)
3.?谷歌金山詞霸使用感受(7)
4.?ERROR:JDWP Unable to get JNI 1.2 environment ,jvm-> GetEvn() return =-2(7)
5.?職業發展道路必備技能(7)
閱讀排行榜
1.?java.lang.NoClassDefFoundError與classpath設置(25899)
2.?Office 2003兼容2007格式的轉換器(22575)
3.?一個Ext Tree例子(11906)
4.?ExtJS的tbar布局(5738)
5.?Hibernate怎樣獲取其用Oracle sequence自動生成的主鍵(5189)
posts - 103, comments - 104, trackbacks - 0, articles - 5
Copyright © Robert Su
主站蜘蛛池模板:
葵青区
|
东山县
|
如皋市
|
兴海县
|
福贡县
|
丹阳市
|
南充市
|
碌曲县
|
伊川县
|
延川县
|
浪卡子县
|
德化县
|
北流市
|
石棉县
|
泸西县
|
长宁县
|
唐河县
|
青州市
|
和平区
|
探索
|
双牌县
|
三门县
|
沽源县
|
南投县
|
饶平县
|
潞城市
|
师宗县
|
辛集市
|
安丘市
|
南投市
|
嘉定区
|
盈江县
|
二连浩特市
|
博湖县
|
佳木斯市
|
郑州市
|
津市市
|
沅陵县
|
澄迈县
|
始兴县
|
高要市
|