sebb        2003/10/18 17:08:30

  Modified:    .        build.xml
  Log:
  Added some info on Gump; new findbugs target to run findbugs
  
  Revision  Changes    Path
  1.122     +76 -2     jakarta-jmeter/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-jmeter/build.xml,v
  retrieving revision 1.121
  retrieving revision 1.122
  diff -u -r1.121 -r1.122
  --- build.xml 18 Oct 2003 04:40:58 -0000      1.121
  +++ build.xml 19 Oct 2003 00:08:30 -0000      1.122
  @@ -25,10 +25,28 @@
   
       To diagnose usage of deprecated APIs:
         ant -Ddeprecation=on clean compile
  -      
  +    
       Version: $Revision$ Last Updated: $Date$
     </description>
     
  +  <!--
  +
  +  Note
  +  ====
  +  As with most other Jakarta projects, Gump (http://jakarta.apache.org/gump/) is 
used to
  +  perform automated builds and tests on JMeter.
  +  
  +  Gump uses its project/jakarta-jmeter.xml file to determine which target to use.
  +  The current setting is: <ant target="dist">
  +  
  +  Any changes to the dependency list for dist may affect Gump.
  +  
  +  Now the dist target depends on "assume-libs-present", so if additional libraries 
are added to that,
  +  the Gump project file for JMeter must also be updated.
  +
  +  Jars that are not required by the dist target do not need to be added to the Gump 
project file.
  +
  +  -->
     <!-- Renamed targets -->
     <target name="all-docs">
       <echo message="Target has been renamed to docs-all"/>
  @@ -55,6 +73,58 @@
       <antcall target="dist-src"/>
      </target>
      
  +   <!-- Findbugs task and target -->
  +   <!--
  +   Findbugs is licensed under the Lesser GNU Public License
  +   HomePage: http://www.cs.umd.edu/~pugh/java/bugs/
  +   
  +   To use the findbugs target, download and install the findbugs binary distribution
  +   Set the value of findbugs.home according to where you installed findbugs, for 
example:
  +   ant findbugs -Dfindbugs.home=/etc/findbugs
  +   [The default is /findbugs]
  +   -->
  +   <property name="findbugs.home" value="/findbugs" />
  +   <target name="findbugs">
  +    <taskdef name="findbugs" 
  +        classpath="${findbugs.home}/lib/findbugs-ant.jar" 
  +        classname="edu.umd.cs.findbugs.anttask.FindBugsTask"/>
  +    <findbugs home="${findbugs.home}"
  +              output="xml"
  +              excludeFilter="fb-excludes.xml"
  +              outputFile="jmeter-fb.xml" >
  +      <class location="${dest.jar}/*.jar" />
  +      <class location="${dest.jar.jmeter}/*.jar" />
  +      <sourcePath path="${src.core}" />
  +      <sourcePath path="${src.http}" />
  +      <sourcePath path="${src.ftp}" />
  +      <sourcePath path="${src.java}" />
  +      <sourcePath path="${src.jdbc}" />
  +      <sourcePath path="${src.ldap}" />
  +      <sourcePath path="${src.components}" />
  +      <sourcePath path="${src.functions}" />
  +      <class location="${lib.dir}/jorphan.jar" />
  +      <sourcePath path="${src.jorphan}" />
  +      <!--
  +      <class location="${lib.dir}/htmlparser.jar" />
  +      <sourcePath path="${src.htmlparser}" />
  +      -->
  +      <auxClasspath path="${jakarta-oro.jar}" />
  +      <auxClasspath path="${junit.jar}" />
  +      <auxClasspath path="${soap.jar}" />
  +      <auxClasspath path="${jdom.jar}" />
  +      <auxClasspath path="${tidy.jar}" />
  +      <auxClasspath path="${logkit.jar}" />
  +      <auxClasspath path="${avalon-excalibur.jar}" />
  +      <auxClasspath path="${avalon-framework.jar}" />
  +      <auxClasspath path="${commons-collections.jar}" />
  +      <auxClasspath path="${bsf.jar}" />
  +      <auxClasspath path="${bsh.jar}" />
  +      
  +    </findbugs>
  +  </target>
  +<!--
  +      <sourcePath path="${src.core}" />
  +      -->
      
      
     <!-- Where the Sources live -->
  @@ -173,6 +243,10 @@
       <include name="${jdom.jar}"/>
     </patternset>
   
  +  <!-- Additional, optional jars, not included in distribution -->
  +  <property name="bsf.jar" value="${lib.dir}/bsfasf.jar"/>
  +  <property name="bsh.jar" value="${lib.dir}/bsh-1.3.0.jar"/>
  +  
     <!-- Build classpath -->
     <path id="classpath">
       <fileset dir="${lib.dir}" includes="*.jar"/>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to