spring

java花园

  BlogJava :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理 ::
  4 随笔 :: 0 文章 :: 1 评论 :: 0 Trackbacks

2005年9月7日 #

在c建立server目录
安装jrockit,并将JAVA_HOME设到

posted @ 2005-09-07 16:32 java花园 阅读(318) | 评论 (0)编辑 收藏

2005年9月6日 #

 
    
    
<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是单页报表
posted @ 2005-09-06 12:04 java花园 阅读(631) | 评论 (1)编辑 收藏

2005年9月5日 #

升级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定义
posted @ 2005-09-05 13:48 java花园 阅读(178) | 评论 (0)编辑 收藏

  • 将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服务器等等

posted @ 2005-09-05 13:21 java花园 阅读(176) | 评论 (0)编辑 收藏

仅列出标题