在c建立server目錄
安裝jrockit,并將JAVA_HOME設到
2005年9月5日 #
?
????
????<target?name="junit"?depends?=?"build"?description="Execute?Unit?Tests">
????????<tstamp/>
????????<echo>${build.dir}echo>????????????
????????<junit?printsummary?="yes">
????????????<formatter?type?="plain"/>????????
????????????<formatter?type?="xml"/>????????
?????????????<batchtest?todir="${report.dir}">
???????????????<fileset?dir="../${build.dir}"?includes="**/WebControllerTest.class"?/>
???????????batchtest>
????????junit>????????
????????<mkdir?dir="${report.dir}/html"/>????????
????????<junitreport?todir="${report.dir}">????????????
???????????<fileset?dir="${report.dir}">
???????????????<include?name="TEST*-*.xml"/>
???????????fileset>
????????????<report?format="noframes"?todir?="${report.dir}/html"/>
????????junitreport>
????target>

關鍵是??? 才能輸出html報表,noframes是單頁報表




















關鍵是???
升級jspWiki
- 為了支持顏色,升級了2.1版本,以下是要保留的舊版本文件
- web-inf/jspwiki.properties(版本控制和數據路徑)
- web-inf/web.xml(用于做角色控制,以及只能用https訪問)
- JSPWiki\templates\default\下的jspwiki_ie.css,LeftMenu.jsp,LeftMenuFooter.jsp,ViewTemplate.jsp,PageContent.jsp
- web/www-data
- 其余的為
- tomcat/conf/Catalina/localhost/wiki.xml(要求用數據源控制角色的定義)
- tomcat/server/lib/xxxmsRealm.jar(用自定義view的模塊)
- tomcat/conf/server.xml中加入datasource定義
- 將3.0 plugins目錄下的的quantum插件抄過3.1的plugins目錄,重啟eclipse,然后選Windows -> Open prespective ->other,重新打開quantum
- 自定義Content Assist的快捷鍵回Alt + / : Windows -> Preferences -> General -> Keys
雙擊第一行的 Content Assist 然后將Control + Space Remove掉 - ANT
- Windows -> Preferences ->Ant -> Runtime
- 在Classpath 右邊的按鍵中選Ant Home,然后再選正確的路徑
- 在Classpath下的列表中選擇Ant Home Entries 然后選右邊按鍵的Add External JARs 將eclipse/plugins/org.junit_3.8.1
下的junit.jar加上
新功能
鼠標右鍵的功能大大增強了,可以直接運行,上傳到cvs服務器等等