User: ejort   
  Date: 01/12/19 19:39:40

  Modified:    .        build.xml
  Log:
  Compliance targets - initial attempt
  
  Revision  Changes    Path
  1.6       +69 -22    jmx/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jmx/build.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- build.xml 2001/12/20 02:11:23     1.5
  +++ build.xml 2001/12/20 03:39:40     1.6
  @@ -12,7 +12,7 @@
   <!--                                                                        -->
   <!-- ====================================================================== -->
   
  -<!-- $Id: build.xml,v 1.5 2001/12/20 02:11:23 squirest Exp $ -->
  +<!-- $Id: build.xml,v 1.6 2001/12/20 03:39:40 ejort Exp $ -->
   
   <project default="main" name="JBoss/JMX">
   
  @@ -75,7 +75,7 @@
       <path id="oswego.concurrent.classpath">
         <pathelement path="${oswego.concurrent.lib}/concurrent.jar"/>
       </path>
  -    
  +
       <!-- JDOM -->
       <property name="jdom.root" value="${project.thirdparty}/jdom"/>
       <property name="jdom.lib" value="${jdom.root}/beta-7/lib"/>
  @@ -89,7 +89,7 @@
       <path id="sax.classpath">
         <pathelement path="${sax.lib}/sax2.jar"/>
       </path>
  -    
  +
       <!-- JUnit -->
       <property name="junit.junit.root" value="${project.thirdparty}/junit/junit"/>
       <property name="junit.junit.lib" value="${junit.junit.root}/lib"/>
  @@ -171,15 +171,15 @@
     <!-- Compile                                                            -->
     <!-- ================================================================== -->
   
  -  <!-- 
  +  <!--
        | Compile everything.
        |
  -     | This target should depend on other compile-* targets for each 
  +     | This target should depend on other compile-* targets for each
        | different type of compile that needs to be performed, short of
        | documentation compiles.
      -->
   
  -  <target name="compile" 
  +  <target name="compile"
          description="Compile all source files."
          depends="compile-classes"/>
   
  @@ -208,15 +208,15 @@
     <!-- Archives                                                           -->
     <!-- ================================================================== -->
   
  -  <!-- 
  +  <!--
        | Build all jar files.
      -->
  -  <target name="jars" 
  +  <target name="jars"
          description="Builds all jar files."
          depends="compile">
   
       <mkdir dir="${build.lib}"/>
  -    
  +
       <!-- Build the jboss-jmx.jar -->
       <jar jarfile="${build.lib}/jboss-jmx.jar">
         <fileset dir="${build.classes}">
  @@ -230,7 +230,7 @@
     <!-- Documents                                                          -->
     <!-- ================================================================== -->
   
  -  <!-- 
  +  <!--
        | Create all generated documenation.
        |
        | This target should depend on other docs-* targets for each 
  @@ -261,8 +261,8 @@
     </target>        
   
     <!-- Generate Javadoc if we are out of date -->
  -  <target name="docs-javadocs" 
  -       depends="docs-javadocs-check" 
  +  <target name="docs-javadocs"
  +       depends="docs-javadocs-check"
          unless="docs-javadocs.disable">
   
       <mkdir dir="${build.api}"/>
  @@ -281,7 +281,7 @@
                private="${javadoc.private}"
                encoding="${javadoc.encoding}"
                use="${javadoc.use}"
  -          verbose="${javadoc.verbose}"> 
  +          verbose="${javadoc.verbose}">
         <group title="JBoss JMX" packages="org.jboss.mx*"/>
       </javadoc>
     </target>
  @@ -293,21 +293,21 @@
     <!-- Install & Release                                                  -->
     <!-- ================================================================== -->
   
  -  <target name="install" 
  +  <target name="install"
          description="Install the structure for a release."
          depends="all, _buildmagic:install:default"/>
   
     <target name="release" depends="install"/>
   
  -  <target name="release-zip" 
  +  <target name="release-zip"
          description="Builds a ZIP distribution."
          depends="release, _buildmagic:release:zip"/>
   
  -  <target name="release-tar" 
  +  <target name="release-tar"
          description="Builds a TAR distribution."
          depends="release, _buildmagic:release:tar"/>
   
  -  <target name="release-tgz" 
  +  <target name="release-tgz"
          description="Builds a TAR-GZ distribution."
          depends="release, _buildmagic:release:tgz"/>
   
  @@ -321,13 +321,13 @@
     <!-- ================================================================== -->
   
     <!-- Clean up all build output -->
  -  <target name="clean" 
  +  <target name="clean"
          description="Cleans up most generated files."
          depends="_buildmagic:clean">
     </target>
   
     <!-- Clean up all generated files -->
  -  <target name="clobber" 
  +  <target name="clobber"
          description="Cleans up all generated files."
          depends="_buildmagic:clobber, clean">
     </target>
  @@ -340,19 +340,66 @@
     <target name="main"
          description="Executes the default target (most)."
          depends="most"/>
  -    
  +
     <target name="all"
          description="Builds everything."
          depends="jars, docs"/>
   
  -  <target name="most" 
  +  <target name="most"
          description="Builds almost everything."
          depends="jars"/>
   
  -  <target name="help" 
  +  <target name="help"
             description="Show this help message."
          depends="_buildmagic:help:standard"/>
   
  +
  +  <!-- ================================================================== -->
  +  <!-- Compliance - Run the complicance suite                             -->
  +  <!-- ================================================================== -->
  +
  +  <!--
  +     | There are two targets, one for the RI for for JBossMX
  +     | WARNING, everthing is compiled over JBossMX, but the RI test
  +     | has jmxri.jar at the front of the classpath.
  +   -->
  +
  +
  +  <!-- Reference Implementation compliance -->
  +  <target name="test-compliance-RI" depends="compile"
  +          description="Run compliance test against RI">
  +
  +  <path id="compliance.RI.classpath">
  +      <pathelement path="${project.thirdparty}/sun/jmx/lib/jmxri.jar"/>
  +      <pathelement path="${build.classes}"/>
  +      <path refid="thirdparty.classpath"/>
  +    </path>
  +
  +    <java classname="test.compliance.ComplianceSUITE">
  +       <classpath refid="compliance.RI.classpath"/>
  +    </java>
  +
  +  </target>
  +
  +  <!-- JBossMX Implementation compliance -->
  +  <target name="test-compliance-JBossMX" depends="compile"
  +          description="Run compliance test against JBossMX">
  +
  +  <path id="compliance.JBossMX.classpath">
  +      <pathelement path="${build.classes}"/>
  +      <path refid="thirdparty.classpath"/>
  +    </path>
  +
  +    <java classname="test.compliance.ComplianceSUITE">
  +       <classpath refid="compliance.JBossMX.classpath"/>
  +    </java>
  +
  +  </target>
  +
  +  <!-- Run both compliance tests -->
  +  <target name="test-compliance" depends="test-compliance-RI, 
test-compliance-JBossMX"
  +          description="Run compliance test against JBossMX">
  +  </target>
   
     <!-- ================================================================== -->
     <!-- Test - TEMPORARY -  replace with proper test suite                 -->
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to