The version of Apache log4j used by SoundHelix.
Clone
HTTPS:
git clone https://vervis.peers.community/repos/aEp6o
SSH:
git clone USERNAME@vervis.peers.community:aEp6o
Branches
Tags
- 1.3alpha-7
- CHAINSAW_2_SANDBOX_MERGE
- CORE_VERSION
- LEVEL_REPLACES_PRIORITY
- PREALPHA_1_3_AS_OF_2004_05_12
- PRE_CHAINSAW_MODEL_CONVERSION
- PRE_UGLI_MOVE
- TAG_CHAINSAW2_MOVE
- log4j-1.2.17
- log4j-1.2.17-rc1
- v1.3alpha8
- v1.3alpha8-temp
- v1_2_1
- v1_2_10-recalled
- v1_2_11
- v1_2_11_rc1
- v1_2_11rc3
- v1_2_12
- v1_2_12_rc1
- v1_2_12_rc2
- v1_2_12_rc3
- v1_2_12_rc4
- v1_2_12_rc5
- v1_2_12_rc6
- v1_2_13
- v1_2_13_rc1
- v1_2_13_rc2
- v1_2_13_site_update
- v1_2_14
- v1_2_14_maven
- v1_2_14_rc1
- v1_2_14_site_update
- v1_2_15
- v1_2_15_rc1
- v1_2_15_rc2
- v1_2_15_rc3
- v1_2_15_rc4
- v1_2_15_rc5
- v1_2_15_rc6
- v1_2_16
- v1_2_16_rc1
- v1_2_16_rc2
- v1_2_17
- v1_2_17-rc1
- v1_2_17_rc1
- v1_2_17_rc2
- v1_2_17_rc3
- v1_2_2
- v1_2_3
- v1_2_4
- v1_2_6
- v1_2_7
- v1_2_9
- v1_2_alpha0
- v1_2_alpha7
- v1_2beta1
- v1_2final
- v1_3alpha_1
- v1_3alpha_6
- v_1_0
- v_1_0_1
- v_1_0_4
- v_1_1
- v_1_1_1
- v_1_1_2
- v_1_1_3
- v_1_1_b1
- v_1_1b2
- v_1_1b3
- v_1_1b5
- v_1_1b6
- v_1_1b7
- v_1_2beta3
PRE_UGLI_MOVE
:: log4jMini
/
build.xml
<project name="log4jMini" default="build" basedir="." >
<property name="version" value="1.2alpha"/>
<!-- The base directory relative to which most targets are built -->
<property name="base" value="."/>
<!-- The directory where source files are stored. -->
<property name="java.source.dir" value="src/java/"/>
<!-- The directory where the package-list file is found, ./ or -->
<!-- build/ -->
<property name="packaging.dir" value="build"/>
<!-- Destination for compiled files -->
<property name="javac.dest" value="dist/classes"/>
<!-- Destination for generated jar files -->
<property name="jar.dest" value="${basedir}"/>
<!-- The jar file that the jar task will generate -->
<property name="log4jMini.jar" value="log4jMini-${version}.jar"/>
<!-- Destination for documentation files generated or not -->
<property name="docs" value="docs"/>
<!-- Destination for javadoc generated files -->
<property name="javadoc.dest" value="docs/api"/>
<!-- The stem where most log4j source code is located. -->
<property name="stem" value="org/apache/log4j"/>
<!-- Some targets needs a more precise stem. -->
<property name="BSTEM" value="${java.source.dir}/${stem}"/>
<!-- Original manifest.mf file before filtering. -->
<property name="manifest.src" value="build/manifest.mf"/>
<!-- Directory where release images go. -->
<property name="dist.images" value="dist/images"/>
<!-- Directory for temporary files. -->
<property name="dist.tmp" value="dist/tmp"/>
<!-- Construct compile classpath -->
<path id="compile.classpath">
<pathelement location="${build.home}/classes"/>
</path>
<target name="junitCheck">
<available classname="junit.framework.TestCase" property="junit-present"/>
</target>
<target name="junit" depends="junitCheck" if="junit-present">
<echo message="JUnit is present."/>
</target>
<!-- ================================================================= -->
<!-- Initialize variables -->
<!-- NOTE: all directories are relative to jakarta-log4j/ -->
<!-- ================================================================= -->
<target name="init">
<tstamp />
</target>
<target name="build" depends="init">
<mkdir dir="${javac.dest}" />
<javac srcdir="${java.source.dir}"
destdir="${javac.dest}"
includes="${stem}/**/*.java, ${stem}/xml/XMLLayout.java,"
excludes="**/examples/**, ${stem}/StressCategory.java"
deprecation="${deprecation}"
debug="on">
<classpath refid="compile.classpath"/>
</javac>
</target>
<!-- ================================================================= -->
<!-- Remove all generated (compiled) class files. -->
<!-- ================================================================= -->
<target name="clean" depends="init">
<delete dir="${javac.dest}/" />
</target>
<!-- ================================================================= -->
<!-- Create log4jMini.jar, excluding tests and other odds and ends. -->
<!-- ================================================================= -->
<target name="jar" depends="build">
<delete>
<fileset dir="${jar.dest}">
<include name="${log4j.jar}"/>
</fileset>
</delete>
<jar jarfile="${jar.dest}/${log4j.jar}" basedir="${javac.dest}"
includes="${stem}/*.class,
${stem}/helpers/*.class,
${stem}/spi/*.class,
${stem}/or/*.class,
${stem}/config/PropertySetter.class
${stem}/config/PropertySetterException.class"
excludes="**/UnitTest**,
**/examples/**,
**/selectors/*.class,
**/servlet/*.class">
<manifest>
<attribute name="Manifest-version" value="1.0"/>
<section name="org/apache/log4j/">
<attribute name="Implementation-Title" value="log4jMini"/>
<attribute name="Implementation-Version" value="${version}"/>
<attribute name="Implementation-Vendor" value="Apache Software Foundation"/>
</section>
</manifest>
</jar>
</target>
<!-- ================================================================= -->
<!-- This target builds the javadoc files. -->
<!-- ================================================================= -->
<target name="javadoc" depends="init">
<mkdir dir="${javadoc.dest}" />
<javadoc sourcepath="${java.source.dir}"
destdir="${javadoc.dest}"
packagenames="org.apache.log4j,
org.apache.log4j.helpers,
org.apache.log4j.spi"
version="true"
protected="true"
author="true"
use="true"
overview="${docs}/overview.html"
doctitle="log4j MicroEdition version ${version}<br>API Specification"
windowtitle="Log4jME Version ${version}"
header="<b>Log4jME ${version}</b>"
bottom="Please <a href=http://lists.sourceforge.net/mailman/listinfo/log4j-announce><b>notify me</b></a> about new log4j releases. <hr>">
<link offline="true"
href="http://java.sun.com/products/jdk/1.2/docs/api"
packageListLoc="${packaging.dir}"/>
</javadoc>
</target>
<!-- ================================================================= -->
<!-- Build a complete distribution. Results go to ${dist.images} -->
<!-- ================================================================= -->
<target name="dist" depends="init, clean, jar">
<delete verbose="true">
<fileset dir=".">
<patternset>
<include name="**/*.bak"/>
<include name="dist/velocity.log"/>
<include name="${BSTEM}/**/temp*"/>
<include name="${BSTEM}/performance/test"/>
<include name="${BSTEM}/test/current.*"/>
<include name="${BSTEM}/test/current.*"/>
<include name="${BSTEM}/examples/test"/>
<include name="${BSTEM}/test/logging.*"/>
<include name="${BSTEM}/test/log4j.properties"/>
<include name="{$BSTEM}/test/socket.lcf"/>
<include name="${BSTEM}/test/file"/>
<include name="${BSTEM}/test/output.*"/>
<include name="${jar.dest}/manifest.mf"/>
<include name="${javac.dest}/*.class"/>
</patternset>
</fileset>
</delete>
<mkdir dir="${dist.images}" />
<mkdir dir="${dist.tmp}/log4jME-${version}" />
<copy todir="${dist.tmp}/log4jME-${version}">
<fileset dir="${base}"
includes="make/**,
src/**,
docs/**,
Makefile,
build/*, build.bat, build.sh,
build/lib/*.jar,
manifest.mf,
INSTALL,
LICENSE.txt,
dist/lib/*.jar,
org/**,
dist/classes/**"
excludes="make/make.loc,
**/*.bak, **/goEnv.bat,
**/.#*"/>
</copy>
<fixcrlf srcdir="${dist.tmp}/log4jME-${version}"
includes="build.sh" cr="remove"/>
<fixcrlf srcdir="${dist.tmp}/log4jME-${version}"
includes="build.bat" cr="add"/>
<chmod dir="${dist.tmp}/log4jME-${version}"
includes="build.sh" perm="+x"/>
<tar tarfile="${dist.images}/log4jME-${version}.tar"
basedir="${dist.tmp}"
includes="log4jME-${version}/**" />
<gzip src="${dist.images}/log4jME-${version}.tar"
zipfile="${dist.images}/log4jME-${version}.tar.gz" />
<zip zipfile="${dist.images}/log4jME-${version}.zip"
basedir="${dist.tmp}"
includes="log4jME-${version}/**" />
<delete dir="${dist.tmp}" />
</target>
</project>