The version of Apache log4j used by SoundHelix.

[[ 🗃 ^aEp6o apache-log4j ]] :: [📥 Inbox] [📤 Outbox] [🐤 Followers] [🤝 Collaborators] [🛠 Commits]

Clone

HTTPS: git clone https://vervis.peers.community/repos/aEp6o

SSH: git clone USERNAME@vervis.peers.community:aEp6o

Branches

Tags

v1_2_14_site_update :: tests /

ugli-test.xml

<project name="testing-UGLI" default="usage" basedir="." >

  <!-- The build.properties file defines the parth to local jar files -->
  <property file="build.properties"/>

  <!-- The directory where source files are stored. -->
  <property name="tests.source.home" value="./src/java/"/>

  <!-- The directory where source files are stored. -->
  <property name="version" value="1.0alpha"/>

  <!-- Deprecation warning? -->
  <property name="deprecation" value="on"/>

  <!-- Destination for compiled files -->
  <property name="javac.dest" value="classes"/>


  <path id="basic.classpath">
    <pathelement location="${tests.source.home}"/>
    <pathelement location="${javac.dest}"/>
    <pathelement location="${jakarta-oro.jar}"/>
  </path>

  <path id="compile.classpath">
    <path refid="basic.classpath"/>
    <pathelement location="${slf4j-api.jar}"/>
  </path>

   <path id="log4j.classpath">
     <path refid="basic.classpath"/>
     <fileset dir="..">
       <include name="log4j-*.jar"/>
     </fileset>
  </path>



  <!-- ================================================================= -->
  <!-- Default target                                                    -->
  <!-- ================================================================= -->
  <target name="usage">
    <echo>
      These are some of the targets supported by this ANT build scpript:

      build - compile all project files, if a certain library is missing,
              then the compilation of its dependents are skipped.

      runAll - run all available tests

    </echo>
  </target>

  <target name="build">
    <mkdir dir="${javac.dest}"/>
    <javac srcdir="${tests.source.home}"
           destdir="${javac.dest}"
           includes="org/apache/ugli/**.java"
           deprecation="${deprecation}"
           debug="on">
      <classpath refid="compile.classpath"/>
    </javac>
  </target>


  <target name="log4j.jar">
    <!-- The main build is big enough to have its own properties -->
    <ant  dir=".." antfile="build.xml" target="log4j.jar" inheritAll="false">
        <property name="slf4j" value="true"/>
    </ant>
  </target>

  <!-- ================================================================= -->
  <!-- Run all tests                                                     -->
  <!-- ================================================================= -->
  <target name="runAll" depends="regression"/>

  <!-- ================================================================= -->
  <!-- Tests multiple parts of log4j. These tests are much more fragile  -->
  <!-- unit tests. Regression tests compare output with a previously     -->
  <!-- created witness file.                                             -->
  <!-- ================================================================= -->
  <target name="regression" depends="InvokeLog4J"/>



  <target name="InvokeLog4J" depends="build, log4j.jar">

    <copy file="input/ugli/basic.xml" tofile="${javac.dest}/log4j.xml"/>

    <junit printsummary="yes" fork="yes" haltonfailure="yes">
      <classpath refid="log4j.classpath"/>
      <formatter type="plain" usefile="false"/>
      <test name="org.apache.ugli.InvokingUGLI" />
    </junit>

    <delete file="${javac.dest}/log4j.xml"/>

  </target>


</project>

[See repo JSON]