antlets/pmd/src xbuild.xml,1.5,1.6

[email protected] Tue, 02 Mar 2004 13:16:46 -0800
Newsgroups gmane.comp.krysalis.metamorphosis.cvs
Message-ID <[email protected]>
Update of /cvsroot/metamorphosis/antlets/pmd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2412/pmd/src

Modified Files:
	xbuild.xml 
Log Message:
standardising antlets

Index: xbuild.xml
===================================================================
RCS file: /cvsroot/metamorphosis/antlets/pmd/src/xbuild.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** xbuild.xml	25 Feb 2004 22:09:48 -0000	1.5
--- xbuild.xml	2 Mar 2004 21:16:40 -0000	1.6
***************
*** 6,9 ****
--- 6,10 ----
        and generates a list of problems found.
    </description>
+   <import file="usage.xml"/>
  
    <dirname property="pmd.antlet.dir" file="${ant.file.pmd.antlet}"/>
***************
*** 18,34 ****
  
    <!-- Verbose output - names of files processed, rule counts, etc. -->    
-   <property name="pmd.antlet.verbose"   value="false"/>       
-   <!-- A comma delimited list of ruleset files 
-       ('rulesets/basic.xml,rulesets/design.xml'). 
-       If you write your own ruleset files, you can put them on the
-        classpath and plug them in here. -->     
-   <property name="pmd.antlet.rulesetfiles"       
-             value="rulesets/basic.xml,rulesets/design.xml,rulesets/strings.xml,rulesets/unusedcode.xml"/>  
-   <!-- Whether or not to fail the build if PMD finds any problems -->     
-   <property name="pmd.antlet.failonerror"      value="false"/>    
-   <!-- Whether or not to print any problems found to the Ant log/console -->          
-   <property name="pmd.antlet.printToConsole" value="false"/>     
   
    <target name="-pmd.init">
       <property name="pmd.antlet.xdocs.dir" value="${build.dir}/documentation/content/xdocs/reports"/> 
    
--- 19,30 ----
  
    <!-- Verbose output - names of files processed, rule counts, etc. -->    
   
    <target name="-pmd.init">
+ 	<xmlproperty file="${pmd.antlet.dir}/conf/properties.xml"
+     			 keeproot="false" 
+     			 collapseAttributes="true"
+     			 semanticAttributes="true"
+                  includeSemanticAttribute="true" />   
+   	
       <property name="pmd.antlet.xdocs.dir" value="${build.dir}/documentation/content/xdocs/reports"/> 
    
***************
*** 67,74 ****
      <echo message="This may take a while, please wait..." />
      
!     <!-- removed verbose="${pmd.antlet.verbose}" -->
!     <pmd rulesetfiles="${pmd.antlet.rulesetfiles}"
!          failonerror="${pmd.antlet.failonerror}"
!          printToConsole="${pmd.antlet.printToConsole}">
           <formatter type="xml" toFile="${pmd.antlet.build.dir}/pmd_raw.xml"/>
           
--- 63,70 ----
      <echo message="This may take a while, please wait..." />
      
!     <echo message="${pmd.rulesetfiles}"/>
!     <pmd rulesetfiles="${pmd.rulesetfiles}"
!          failonerror="${pmd.failonerror}"
!          printToConsole="${pmd.print-to-console}">
           <formatter type="xml" toFile="${pmd.antlet.build.dir}/pmd_raw.xml"/>
           



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click