You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by ca...@apache.org on 2007/07/18 07:06:08 UTC
svn commit: r557152 - in /logging/log4j/trunk: build.xml pom.xml
src/assembly/ src/java/ src/main/ src/main/java/ src/ntdll/ tests/build.xml
Author: carnold
Date: Tue Jul 17 22:06:07 2007
New Revision: 557152
URL: http://svn.apache.org/viewvc?view=rev&rev=557152
Log:
Bug 37930: Maven build for log4j 1.3
Added:
logging/log4j/trunk/src/assembly/
- copied from r557131, logging/log4j/branches/v1_2-branch/src/assembly/
logging/log4j/trunk/src/main/
logging/log4j/trunk/src/main/java/
- copied from r557115, logging/log4j/trunk/src/java/
logging/log4j/trunk/src/ntdll/
- copied from r557131, logging/log4j/branches/v1_2-branch/src/ntdll/
Removed:
logging/log4j/trunk/src/java/
Modified:
logging/log4j/trunk/build.xml
logging/log4j/trunk/pom.xml
logging/log4j/trunk/tests/build.xml
Modified: logging/log4j/trunk/build.xml
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/build.xml?view=diff&rev=557152&r1=557151&r2=557152
==============================================================================
--- logging/log4j/trunk/build.xml (original)
+++ logging/log4j/trunk/build.xml Tue Jul 17 22:06:07 2007
@@ -21,7 +21,18 @@
<!-- The build.properties file defines the parth to local jar files -->
<property file="build.properties"/>
- <property name="version" value="1.3alpha-8"/>
+ <!-- if a Maven build has been attempted,
+ the Maven repository can provide all the dependencies. -->
+ <property name="m2_repo" location="${user.home}/.m2/repository"/>
+ <property name="javamail.jar" location="${m2_repo}/javax/mail/mail/1.4/mail-1.4.jar"/>
+ <property name="jms.jar" location="${m2_repo}/javax/jms/jms/1.1/jms-1.1.jar"/>
+ <property name="jmx.jar" location="${m2_repo}/com/sun/jmx/jmxri/1.2.1/jmxri-1.2.1.jar"/>
+ <property name="jmx-extra.jar" location="${m2_repo}/com/sun/jdmk/jmxtools/1.2.1/jmxtools-1.2.1.jar"/>
+ <property name="oro.version" value="2.0.8"/>
+ <property name="jakarta-oro.jar" location="${m2_repo}/oro/oro/${oro.version}/oro-${oro.version}.jar"/>
+ <property name="servlet-api.version" value="2.5"/>
+ <property name="servlet-api.jar" location="${m2_repo}/javax/servlet/servlet-api/${servlet-api.version}/servlet-api-${servlet-api.version}.jar"/>
+ <property name="version" value="1.3alpha-9"/>
<property name="target" value="1.2"/>
<property name="source" value="1.3"/>
@@ -30,7 +41,7 @@
<property name="base" value="."/>
<!-- The directory where source files are stored. -->
- <property name="java.source.dir" value="src/java/"/>
+ <property name="java.source.dir" value="src/main/java/"/>
<!-- The directory where the package-list file is found, ./ or -->
<!-- build/ -->
Modified: logging/log4j/trunk/pom.xml
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/pom.xml?view=diff&rev=557152&r1=557151&r2=557152
==============================================================================
--- logging/log4j/trunk/pom.xml (original)
+++ logging/log4j/trunk/pom.xml Tue Jul 17 22:06:07 2007
@@ -1,181 +1,458 @@
-<?xml version="1.0"?>
-
-<project>
-
-<modelVersion>4.0.0</modelVersion>
-
-<groupId>
-org.apache.log4j
-</groupId>
-
-<artifactId>
-log4j
-</artifactId>
-<name>log4j</name>
-<version>
-1.3
-</version>
-<description>Logging services for Java</description>
-<url>http://logging.apache.org/log4j</url>
-<issueManagement>
- <system>Bugzilla</system>
- <url>http://issues.apache.org/bugzilla</url>
-</issueManagement>
-<inceptionYear>1999</inceptionYear>
-<mailingLists>
- <mailingList>
- <name>log4j-user</name>
- <subscribe>log4j-user-subscribe@logging.apache.org</subscribe>
- <unsubscribe>log4j-user-unsubscribe@logging.apache.org</unsubscribe>
- <post>log4j-user@logging.apache.org</post>
- <archive>http://mail-archives.apache.org/mod_mbox/logging-log4j-dev/</archive>
- <otherArchives>
- <otherArchive>http://marc.theaimsgroup.com/?l=log4j-user&r=1&w=2</otherArchive>
- <otherArchive>http://dir.gmane.org/gmane.comp.jakarta.log4j.user</otherArchive>
- </otherArchives>
- </mailingList>
- <mailingList>
- <name>log4j-dev</name>
- <subscribe>log4j-dev-subscribe@logging.apache.org</subscribe>
- <unsubscribe>log4j-dev-unsubscribe@logging.apache.org</unsubscribe>
- <post>log4j-dev@logging.apache.org</post>
- <archive>http://mail-archives.apache.org/mod_mbox/logging-log4j-dev/</archive>
- <otherArchives>
- <otherArchive>http://marc.theaimsgroup.com/?l=log4j-dev&r=1&w=2</otherArchive>
- <otherArchive>http://dir.gmane.org/gmane.comp.jakarta.log4j.devel</otherArchive>
- </otherArchives>
- </mailingList>
-</mailingLists>
-<developers>
- <developer>
- <id>mwomack</id>
- <name>Mark Womack</name>
- <email>mwomack@apache.org</email>
- </developer>
- <developer>
- <id>carnold</id>
- <name>Curt Arnold</name>
- <email>carnold@apache.org</email>
- </developer>
- <developer>
- <id>sdeboy</id>
- <name>Scott Deboy</name>
- <email>sdeboy@apache.org</email>
- </developer>
- <!-- TODO: Many more need to be here -->
-</developers>
-<licenses>
- <license>
- <name>Apache License, Version 2.0</name>
- <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
- <distribution>repo</distribution>
- </license>
-</licenses>
-<scm>
- <connection>scm:svn:http://svn.apache.org/repos/asf/logging/log4j/trunk</connection>
- <developerConnection>scm:svn:https://svn.apache.org/repos/asf/logging/log4j/trunk</developerConnection>
- <url>http://svn.apache.org/viewcvs.cgi/logging/log4j/trunk</url>
-</scm>
-<organization>
- <name>Apache Software Foundation</name>
- <url>http://www.apache.org</url>
-</organization>
-<build>
- <plugins>
- <plugin>
- <artifactId>maven-checkstyle-plugin</artifactId>
- <dependencies>
- <dependency>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- <version>1.2.12</version>
- </dependency>
- </dependencies>
- </plugin>
- </plugins>
- <sourceDirectory>src/java</sourceDirectory>
- <testSourceDirectory>tests/src/java</testSourceDirectory>
-</build>
-<dependencies>
- <dependency>
- <groupId>javax.activation</groupId>
- <artifactId>activation</artifactId>
- <version>1.0.2</version>
- </dependency>
- <dependency>
- <groupId>javax.mail</groupId>
- <artifactId>mail</artifactId>
- <version>1.3.3</version>
- </dependency>
- <dependency>
- <groupId>javax.jms</groupId>
- <artifactId>jms</artifactId>
- <version>1.1</version>
- </dependency>
- <dependency>
- <groupId>com.sun.jmx</groupId>
- <artifactId>jmxri</artifactId>
- <version>1.2.1</version>
- </dependency>
- <dependency>
- <groupId>oro</groupId>
- <artifactId>oro</artifactId>
- <version>2.0.8</version>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- <version>2.4</version>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
- </dependency>
- <dependency>
- <groupId>jetty</groupId>
- <artifactId>org.mortbay.jetty.plus</artifactId>
- <version>5.1.9</version>
- </dependency>
- <dependency>
- <groupId>jetty</groupId>
- <artifactId>org.mortbay.jetty</artifactId>
- <version>5.1.9</version>
- </dependency>
-</dependencies>
- <reporting>
- <plugins>
- <plugin>
- <artifactId>maven-checkstyle-plugin</artifactId>
- </plugin>
- <plugin>
- <artifactId>maven-pmd-plugin</artifactId>
- </plugin>
- <plugin>
- <artifactId>maven-javadoc-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-project-info-reports-plugin</artifactId>
- </plugin>
- <!-- plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>jxr-maven-plugin</artifactId>
- </plugin -->
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>changelog-maven-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>changes-maven-plugin</artifactId>
- </plugin>
- </plugins>
- </reporting>
-<distributionManagement>
- <site>
- <id>website</id>
- <url>scp://people.apache.org/public_html/log4j_13/</url>
- </site>
-</distributionManagement>
-</project>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <packaging>jar</packaging>
+ <name>Apache Log4j</name>
+ <version>1.3alpha9-SNAPSHOT</version>
+ <description>Apache Log4j 1.3</description>
+ <url>http://logging.apache.org:80/log4j/1.3/</url>
+ <issueManagement>
+ <system>Bugzilla</system>
+ <url>http://issues.apache.org/bugzilla/</url>
+ </issueManagement>
+ <ciManagement>
+ <system>Gump</system>
+ <url>http://vmgump.apache.org/gump/public/logging-log4j/logging-log4j/index.html</url>
+ </ciManagement>
+ <inceptionYear>1999</inceptionYear>
+ <mailingLists>
+ <mailingList>
+ <name>log4j-user</name>
+ <subscribe>log4j-user-subscribe@logging.apache.org</subscribe>
+ <unsubscribe>log4j-user-unsubscribe@logging.apache.org</unsubscribe>
+ <post>log4j-user@logging.apache.org</post>
+ <archive>http://mail-archives.apache.org/mod_mbox/logging-log4j-dev/</archive>
+ <otherArchives>
+ <otherArchive>http://marc.info/?l=log4j-user</otherArchive>
+ <otherArchive>http://dir.gmane.org/gmane.comp.jakarta.log4j.user</otherArchive>
+ </otherArchives>
+ </mailingList>
+ <mailingList>
+ <name>log4j-dev</name>
+ <subscribe>log4j-dev-subscribe@logging.apache.org</subscribe>
+ <unsubscribe>log4j-dev-unsubscribe@logging.apache.org</unsubscribe>
+ <post>log4j-dev@logging.apache.org</post>
+ <archive>http://mail-archives.apache.org/mod_mbox/logging-log4j-dev/</archive>
+ <otherArchives>
+ <otherArchive>http://marc.info/?l=log4j-dev</otherArchive>
+ <otherArchive>http://dir.gmane.org/gmane.comp.jakarta.log4j.devel</otherArchive>
+ </otherArchives>
+ </mailingList>
+ </mailingLists>
+ <licenses>
+ <license>
+ <name>The Apache Software License, Version 2.0</name>
+ <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+ <scm>
+ <connection>scm:svn:http://svn.apache.org/repos/asf/logging/log4j/trunk</connection>
+ <developerConnection>scm:svn:https://svn.apache.org/repos/asf/logging/log4j/trunk</developerConnection>
+ <url>http://svn.apache.org/viewcvs.cgi/logging/log4j/trunk</url>
+ </scm>
+ <organization>
+ <name>Apache Software Foundation</name>
+ <url>http://www.apache.org</url>
+ </organization>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <workingDirectory>tests</workingDirectory>
+ <reportFormat>plain</reportFormat>
+ <forkMode>pertest</forkMode>
+ <skip>true</skip>
+ <includes>
+ <include>org/apache/log4j/LevelTest.java</include>
+ <include>org/apache/log4j/PriorityTest.java</include>
+ <include>org/apache/log4j/CategoryTest.java</include>
+ <include>org/apache/log4j/FileAppenderTest.java</include>
+ <include>org/apache/log4j/LogManagerTest.java</include>
+ <include>org/apache/log4j/helpers.LogLogTest.java</include>
+ <include>org/apache/log4j/LayoutTest.java</include>
+ <include>org/apache/log4j/helpers.DateLayoutTest.java</include>
+ <include>org/apache/log4j/TTCCLayoutTest.java</include>
+ <include>org/apache/log4j/xml.XMLLayoutTest.java</include>
+ <include>org/apache/log4j/HTMLLayoutTest.java</include>
+ <include>org/apache/log4j/PatternLayoutTest.java</include>
+ <include>org/apache/log4j/spi.LoggingEventTest.java</include>
+ <include>org/apache/log4j/spi.ThrowableInformationTest.java</include>
+ <include>org/apache/log4j/spi.LocationInfoTest.java</include>
+ <include>org/apache/log4j/PropertyConfiguratorTest.java</include>
+ <include>org/apache/log4j/MinimumTestCase.java</include>
+ <include>org/apache/log4j/LoggerTestCase.java</include>
+ <include>org/apache/log4j/PatternLayoutTestCase.java</include>
+ <include>org/apache/log4j/HierarchyThresholdTestCase.java</include>
+ <include>org/apache/log4j/xml/DOMTestCase.java</include>
+ <include>org/apache/log4j/xml/CustomLevelTestCase.java</include>
+ <include>org/apache/log4j/customLogger/XLoggerTestCase.java</include>
+ <!-- DefaultInit -->
+ <!-- SocketServer -->
+ <include>org/apache/log4j/xml/XMLLayoutTestCase.java</include>
+ <include>org/apache/log4j/xml/AsyncAppenderTestCase.java</include>
+ <include>org/apache/log4j/varia/LevelMatchFilterTestCase.java</include>
+
+ <!-- ErrorHandlerTestCase is not run in Ant build either
+ <include>org/apache/log4j/varia/ErrorHandlerTestCase.java</include>
+ -->
+ <!-- include>org/apache/log4j/helpers/OptionConverterTestCase.java</include -->
+ <include>org/apache/log4j/helpers/BoundedFIFOTestCase.java</include>
+ <include>org/apache/log4j/helpers/CyclicBufferTestCase.java</include>
+ <include>org/apache/log4j/helpers/PatternParserTestCase.java</include>
+ <include>org/apache/log4j/or/ORTestCase.java</include>
+ <include>org/apache/log4j/DRFATestCase.java</include>
+ <include>org/apache/log4j/RFATestCase.java</include>
+ <include>org/apache/log4j/varia/ERFATestCase.java</include>
+ <include>org/apache/log4j/net/SyslogAppenderTest</include>
+ <include>org/apache/log4j/nt/NTEventLogAppenderTest</include>
+ <include>org/apache/log4j/net/SocketAppenderTest</include>
+ </includes>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.2</source>
+ <target>1.1</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <archive>
+ <manifestSections>
+ <manifestSection>
+ <name>org.apache.log4j</name>
+ <manifestEntries>
+ <Implementation-Title>log4j</Implementation-Title>
+ <Implementation-Version>${project.version}</Implementation-Version>
+ <Implementation-Vendor>"Apache Software Foundation"</Implementation-Vendor>
+ </manifestEntries>
+ </manifestSection>
+ </manifestSections>
+ </archive>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <!-- generate NTEventLogAppender.dll -->
+ <execution>
+ <phase>process-classes</phase>
+ <id>ntdll</id>
+ <configuration>
+ <tasks>
+ <ant antfile="src/ntdll/build.xml">
+ <property name="target.dir" location="target" />
+ <property name="classes.dir" location="target/classes" />
+ <property name="src.dir" location="src/ntdll" />
+ <property name="jni.include.dir" location="${java.home}/../include" />
+ </ant>
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ <!-- create tests/output prior to test run -->
+ <execution>
+ <phase>test-compile</phase>
+ <id>mkdir_tests_output</id>
+ <configuration>
+ <tasks>
+ <mkdir dir="tests/output" />
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ <execution>
+ <phase>clean</phase>
+ <id>rmdir_tests_output</id>
+ <configuration>
+ <tasks>
+ <delete dir="tests/output" />
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ <execution>
+ <phase>test</phase>
+ <id>runAll</id>
+ <configuration>
+ <tasks>
+ <ant dir="tests" target="runAll">
+ <property name="junit.jar" location="${user.home}/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar" />
+ <property name="jakarta-oro.jar" location="${user.home}/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar" />
+ <property name="servlet-api.jar" location="${user.home}/.m2/repository/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar" />
+ <property name="javamail.jar" location="${user.home}/.m2/repository/javax/mail/mail/1.4/mail-1.4.jar" />
+ <property name="activation.jar" location="${user.home}/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar" />
+ <property name="project.classes.home" location="target/classes" />
+ <property name="project.lib.home" location="target" />
+ <property name="basedir" location="tests" />
+ </ant>
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ <!-- release builds will put SVN tags into the SCM page, this changes it back to a branch -->
+ <execution>
+ <phase>site</phase>
+ <id>untag-site</id>
+ <configuration>
+ <tasks>
+ <taskdef name="replaceregexp" classname="org.apache.tools.ant.taskdefs.optional.ReplaceRegExp" />
+ <replaceregexp file="target/site/source-repository.html" match="/tags/[^ ]*" replace="/branches/v1_2-branch" flags="g" />
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>ant</groupId>
+ <artifactId>ant-nodeps</artifactId>
+ <version>1.6.5</version>
+ </dependency>
+ <dependency>
+ <groupId>ant</groupId>
+ <artifactId>ant-junit</artifactId>
+ <version>1.6.5</version>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ </dependency>
+ <dependency>
+ <groupId>sun.jdk</groupId>
+ <artifactId>tools</artifactId>
+ <version>1.4.2</version>
+ <scope>system</scope>
+ <systemPath>${tools.jar}</systemPath>
+ </dependency>
+ </dependencies>
+ </plugin>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <configuration>
+ <descriptors>
+ <descriptor>src/assembly/bin.xml</descriptor>
+ </descriptors>
+ <appendAssemblyId>false</appendAssemblyId>
+ </configuration>
+ <executions>
+ <execution>
+ <goals>
+ <goal>assembly</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>jar</goal>
+ <goal>javadoc</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-source-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <!--
+ clirr:check will fail with NullPointerException
+ due to missing javax.jms.MessageListener,
+ however it will trigger download of supporting components
+ which can allow "ant clirr" to succeed.
+ Could possibly run on a JavaEE platform.
+ -->
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>clirr-maven-plugin</artifactId>
+ <configuration>
+ <comparisonVersion>1.2.14</comparisonVersion>
+ </configuration>
+ </plugin>
+ </plugins>
+ <testSourceDirectory>tests/src/java</testSourceDirectory>
+ <testResources>
+ <testResource>
+ <directory>tests/resources</directory>
+ </testResource>
+ </testResources>
+</build>
+<profiles>
+ <profile>
+ <id>mac</id>
+ <activation>
+ <os><family>mac</family></os>
+ </activation>
+ <properties>
+ <tools.jar>${java.home}/../Classes/classes.jar</tools.jar>
+ </properties>
+ </profile>
+ <profile>
+ <id>default</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <properties>
+ <tools.jar>${java.home}/../lib/tools.jar</tools.jar>
+ </properties>
+ </profile>
+ </profiles>
+<repositories>
+ <repository>
+ <id>java.net</id>
+ <url>https://maven-repository.dev.java.net/nonav/repository</url>
+ <layout>legacy</layout>
+ </repository>
+</repositories>
+<dependencies>
+ <dependency>
+ <groupId>javax.mail</groupId>
+ <artifactId>mail</artifactId>
+ <version>1.4</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.jms</groupId>
+ <artifactId>jms</artifactId>
+ <version>1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <version>2.5</version>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.jdmk</groupId>
+ <artifactId>jmxtools</artifactId>
+ <version>1.2.1</version>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.jmx</groupId>
+ <artifactId>jmxri</artifactId>
+ <version>1.2.1</version>
+ </dependency>
+ <dependency>
+ <groupId>oro</groupId>
+ <artifactId>oro</artifactId>
+ <version>2.0.8</version>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>jetty</groupId>
+ <artifactId>org.mortbay.jetty.plus</artifactId>
+ <version>4.2.25</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>jetty</groupId>
+ <artifactId>jetty</artifactId>
+ <version>4.2.12</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.activation</groupId>
+ <artifactId>activation</artifactId>
+ <version>1.1</version>
+ <scope>test</scope>
+ </dependency>
+</dependencies>
+ <reporting>
+ <excludeDefaults>true</excludeDefaults>
+ <plugins>
+ <plugin>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ <reportSets>
+ <reportSet>
+ <reports>
+ <report>scm</report>
+ <report>dependencies</report>
+ <report>cim</report>
+ <report>issue-tracking</report>
+ <report>mailing-list</report>
+ <report>license</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>jxr-maven-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <artifactId>maven-release-plugin</artifactId>
+ <configuration>
+ <goals>site-deploy</goals>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-changes-plugin</artifactId>
+ <reportSets>
+ <reportSet>
+ <reports>
+ <report>changes-report</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ <configuration>
+ <issueLinkTemplate>%URL%/show_bug.cgi?id=%ISSUE%</issueLinkTemplate>
+ </configuration>
+ </plugin>
+ </plugins>
+ </reporting>
+ <distributionManagement>
+ <repository>
+ <id>logging.repo</id>
+ <url>scp://people.apache.org/www/people.apache.org/builds/logging/repo/</url>
+ </repository>
+ <site>
+ <id>logging.site</id>
+ <url>scp://people.apache.org/www/logging.apache.org/log4j/1.3/</url>
+ </site>
+ </distributionManagement>
+</project>
Modified: logging/log4j/trunk/tests/build.xml
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/tests/build.xml?view=diff&rev=557152&r1=557151&r2=557152
==============================================================================
--- logging/log4j/trunk/tests/build.xml (original)
+++ logging/log4j/trunk/tests/build.xml Tue Jul 17 22:06:07 2007
@@ -25,6 +25,18 @@
<project name="log4j-tests" default="usage" basedir="." >
<property file="build.properties"/>
+
+ <!-- if a Maven build has been attempted,
+ the Maven repository can provide all the dependencies. -->
+ <property name="m2_repo" location="${user.home}/.m2/repository"/>
+ <property name="oro.version" value="2.0.8"/>
+ <property name="jakarta-oro.jar" location="${m2_repo}/oro/oro/${oro.version}/oro-${oro.version}.jar"/>
+ <property name="checkstyle.version" value="4.1"/>
+ <property name="checkstyle.jar" location="${m2_repo}/checkstyle/checkstyle/${checkstyle.version}/checkstyle-${checkstyle.version}.jar"/>
+ <property name="servlet-api.jar" location="${m2_repo}/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar" />
+ <property name="javamail.jar" location="${m2_repo}/javax/mail/mail/1.4/mail-1.4.jar" />
+ <property name="activation.jar" location="${m2_repo}/javax/activation/activation/1.1/activation-1.1.jar" />
+
<!-- The base directory relative to which most targets are built -->
<property name="base" value="."/>
@@ -47,6 +59,7 @@
<path id="tests.classpath">
+ <pathelement location="${log4j.jar}"/>
<pathelement location="${project.classes.home}"/>
<pathelement location="${project.source.home}"/>
<pathelement location="${tests.source.home}"/>
@@ -58,6 +71,7 @@
<pathelement location="${clover.jar}"/>
<pathelement location="${xml-api.jar}"/>
<pathelement location="${xml-impl.jar}"/>
+ <pathelement location="${junit.jar}"/>
<fileset dir="./lib/">
<include name="*.jar"/>
</fileset>
@@ -129,7 +143,7 @@
<!-- Clean the parent project -->
<!-- ================================================================= -->
- <target name="parentClean">
+ <target name="parentClean" unless="log4j.jar">
<ant dir=".." target="clean" inheritRefs="true"/>
</target>
@@ -138,7 +152,7 @@
<!-- ================================================================= -->
<!-- Build the parent project -->
<!-- ================================================================= -->
- <target name="parentBuild">
+ <target name="parentBuild" unless="log4j.jar">
<ant dir=".." target="build.core" inheritRefs="false"/>
<ant dir=".." target="build.servletAPI" inheritRefs="false"/>
<ant dir=".." target="build.oro" inheritRefs="false"/>
@@ -291,7 +305,7 @@
<!-- ================================================================= -->
<target name="Core" depends="check, build, cleanOutputDir">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false"/>
<test name="org.apache.log4j.CoreTestSuite" />
@@ -300,7 +314,7 @@
<target name="Minimum" depends="check, build, cleanOutputDir">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false"/>
<test name="org.apache.log4j.MinimumTest" />
@@ -308,7 +322,7 @@
</target>
<target name="Logger" depends="check, build, cleanOutputDir">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false"/>
<test name="org.apache.log4j.LoggerTest" />
@@ -316,7 +330,7 @@
</target>
<target name="AppenderContract" depends="check, build, cleanOutputDir">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false"/>
<test name="org.apache.log4j.AbstractAppenderTest" />
@@ -324,7 +338,7 @@
</target>
<target name="PatternLayout" depends="check, build, cleanOutputDir">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false"/>
<test name="org.apache.log4j.PatternLayoutTestCase" />
@@ -333,7 +347,7 @@
<target name="HierarchyThreshold" depends="check, build, cleanOutputDir">
<delete file="output/temp"/>
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false"/>
<test name="org.apache.log4j.HierarchyThresholdTestCase" />
@@ -341,7 +355,7 @@
</target>
<target name="DOM" depends="check, build, cleanOutputDir">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<jvmarg value="-Dlog4j.debug=TRUE"/>
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false"/>
@@ -351,7 +365,7 @@
</target>
<target name="NDC" depends="check, build, cleanOutputDir">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false"/>
<test name="org.apache.log4j.NDCTestCase" />
@@ -359,7 +373,7 @@
</target>
<target name="CustomLevel" depends="check, build, cleanOutputDir">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false" />
<test name="org.apache.log4j.xml.CustomLevelTestCase" />
@@ -367,7 +381,7 @@
</target>
<target name="CustomLogger" depends="check, build, cleanOutputDir">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false" />
<test name="org.apache.log4j.customLogger.XLoggerTestCase" />
@@ -379,14 +393,14 @@
<delete file="classes/log4j.xml"/>
<delete file="classes/log4j.properties"/>
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false"/>
<test fork="true" name="org.apache.log4j.defaultInit.TestCase1" />
</junit>
<copy file="input/xml/defaultInit.xml" tofile="classes/log4j.xml"/>
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false"/>
<test fork="true" name="org.apache.log4j.defaultInit.TestCase2" />
@@ -408,7 +422,7 @@
<!-- test default initialization from log4j.xml -->
<copy file="input/defaultInit3.properties" tofile="classes/log4j.properties"/>
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false"/>
<test fork="true" name="org.apache.log4j.defaultInit.TestCase3" />
@@ -418,7 +432,7 @@
<!-- test default initialization from log4j.properties -->
<copy file="input/xml/defaultInit.xml" tofile="classes/log4j.xml"/>
<copy file="input/defaultInit3.properties" tofile="classes/log4j.properties"/>
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false"/>
<test fork="true" name="org.apache.log4j.defaultInit.TestCase4" />
@@ -430,14 +444,14 @@
<target name="SocketServer" depends="check, build, cleanOutputDir">
<parallel>
- <java classname="org.apache.log4j.net.ShortSocketServer" fork="yes">
+ <java classname="org.apache.log4j.net.ShortSocketServer" fork="yes" dir="${basedir}">
<arg value="8"/>
<arg value="input/net/socketServer"/>
<classpath refid="tests.classpath"/>
</java>
<sequential>
<sleep seconds="2"/>
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false" />
<test name="org.apache.log4j.net.SocketServerTestCase" />
@@ -447,7 +461,7 @@
</target>
<target name="XMLLayout" depends="check, build, cleanOutputDir">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false" />
<test name="org.apache.log4j.xml.XMLLayoutTestCase" />
@@ -455,7 +469,7 @@
</target>
<target name="AsyncAppender" depends="check, build, cleanOutputDir">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false" />
<test name="org.apache.log4j.AsyncAppenderTestCase" />
@@ -463,7 +477,7 @@
</target>
<target name="VariaLevelMatchFilter" depends="check, build, cleanOutputDir">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false"/>
<test name="org.apache.log4j.varia.LevelMatchFilterTestCase" />
@@ -471,7 +485,7 @@
</target>
<target name="VariaLevelRangeFilter" depends="check, build, cleanOutputDir">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false"/>
<test name="org.apache.log4j.varia.LevelRangeFilterTestCase" />
@@ -479,7 +493,7 @@
</target>
<target name="FiltersLevelMatchFilter" depends="check, build, cleanOutputDir">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false"/>
<test name="org.apache.log4j.filter.LevelMatchFilterTestCase" />
@@ -487,7 +501,7 @@
</target>
<target name="LevelMatchFilter" depends="check, build, cleanOutputDir">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false"/>
<test name="org.apache.log4j.varia.LevelMatchFilterTestCase" />
@@ -495,7 +509,7 @@
</target>
<target name="SimpleFilter" depends="check, build, cleanOutputDir">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false"/>
<test name="org.apache.log4j.filter.SimpleFilterTest" />
@@ -503,7 +517,7 @@
</target>
<target name="OptionSubstitutionTest" depends="check, build, cleanOutputDir">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false"/>
<test name="org.apache.log4j.helpers.OptionSubstitutionTest" />
@@ -511,7 +525,7 @@
</target>
<target name="LevelOptionConverterTest" depends="check, build, cleanOutputDir">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false"/>
<test name="org.apache.log4j.helpers.LevelOptionConverterTest" />
@@ -519,7 +533,7 @@
</target>
<target name="BoundedFIFO" depends="check, build, cleanOutputDir">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false"/>
<test name="org.apache.log4j.helpers.BoundedFIFOTestCase" />
@@ -527,7 +541,7 @@
</target>
<target name="CyclicBuffer" depends="check, build, cleanOutputDir">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false"/>
<test name="org.apache.log4j.helpers.CyclicBufferTestCase" />
@@ -535,7 +549,7 @@
</target>
<target name="PatternParser" depends="check, build, cleanOutputDir">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false"/>
<test name="org.apache.log4j.pattern.PatternParserTest" />
@@ -543,7 +557,7 @@
</target>
<target name="OR" depends="check, build, cleanOutputDir">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false"/>
<test name="org.apache.log4j.or.ORTestCase" />
@@ -551,7 +565,7 @@
</target>
<target name="Plugins" depends="check, build, cleanOutputDir">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false"/>
<test name="org.apache.log4j.plugins.PluginTestCase" />
@@ -559,7 +573,7 @@
</target>
<target name="FileWatchdog" depends="check, build, cleanOutputDir">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false"/>
<test name="org.apache.log4j.watchdog.FileWatchdogTestCase" />
@@ -567,7 +581,7 @@
</target>
<target name="FileNamePattern" depends="check, build, cleanOutputDir">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false"/>
<test name="org.apache.log4j.rolling.helper.FileNamePatternTestCase" />
@@ -575,7 +589,7 @@
</target>
<target name="SizeBasedRolling" depends="check, build, cleanOutputDir">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false"/>
<test name="org.apache.log4j.rolling.SizeBasedRollingTest" />
@@ -583,7 +597,7 @@
</target>
<target name="TimeBasedRolling" depends="check, build, cleanOutputDir">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false"/>
<test name="org.apache.log4j.rolling.TimeBasedRollingTest" />
@@ -591,7 +605,7 @@
</target>
<target name="FilterBasedRolling" depends="check, build, cleanOutputDir">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false"/>
<test name="org.apache.log4j.rolling.FilterBasedRollingTest" />
@@ -600,7 +614,7 @@
<target name="MultiplexAppenderTest" depends="check, build, cleanOutputDir">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false"/>
<test name="org.apache.log4j.multiplex.MultiplexAppenderTest" />
@@ -615,7 +629,7 @@
<copy file="input/compress1.copy" toFile="input/compress1.txt"/>
<copy file="input/compress2.copy" toFile="input/compress2.txt"/>
<copy file="input/compress3.copy" toFile="input/compress3.txt"/>
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false"/>
<test name="org.apache.log4j.rolling.helper.CompressTestCase" />
@@ -628,14 +642,14 @@
-->
<target name="Renaming" depends="check, build, cleanOutputDir">
<parallel>
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false" />
<test name="org.apache.log4j.rolling.RenamingTest" />
</junit>
<sequential>
<sleep seconds="1"/>
- <java classname="org.apache.log4j.rolling.FileOpener" fork="yes">
+ <java classname="org.apache.log4j.rolling.FileOpener" fork="yes" dir="${basedir}">
<classpath refid="tests.classpath"/>
</java>
</sequential>
@@ -643,7 +657,7 @@
</target>
<target name="Pattern" depends="check, build, cleanOutputDir">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false" />
<test name="org.apache.log4j.joran.PatternTest" />
@@ -651,7 +665,7 @@
</target>
<target name="SimpleStore" depends="check, build, cleanOutputDir">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false" />
<test name="org.apache.log4j.joran.SimpleStoreTest" />
@@ -660,7 +674,7 @@
<target name="Interpreter" depends="check, build, cleanOutputDir">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false" />
<test name="org.apache.log4j.joran.InterpreterTest" />
@@ -668,7 +682,7 @@
</target>
<target name="SkipInInterpreter" depends="check, build, cleanOutputDir">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false" />
<test name="org.apache.log4j.joran.SkippingInInterpreterTest" />
@@ -676,7 +690,7 @@
</target>
<target name="JoranConfigurator" depends="check, build, cleanOutputDir">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false" />
<test name="org.apache.log4j.joran.JoranConfiguratorTest" />
@@ -684,7 +698,7 @@
</target>
<target name="TokenStream" depends="check, build, cleanOutputDir">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false" />
<test name="org.apache.log4j.lbel.TokenStreamTest" />
@@ -692,7 +706,7 @@
</target>
<target name="CoreParser" depends="check, build, cleanOutputDir">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false" />
<test name="org.apache.log4j.lbel.CoreParserTest" />
@@ -700,7 +714,7 @@
</target>
<target name="EventEvaluation" depends="check, build, cleanOutputDir">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false" />
<test name="org.apache.log4j.lbel.EventEvaluationTest" />
@@ -708,7 +722,7 @@
</target>
<target name="Scheduler" depends="check, build, cleanOutputDir">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false" />
<test name="org.apache.log4j.scheduler.SchedulerTest" />
@@ -717,7 +731,7 @@
<target name="ThrowableInformation" depends="check, build, cleanOutputDir">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false"/>
<test name="org.apache.log4j.spi.ThrowableInformationTest" />
@@ -726,7 +740,7 @@
<target name="LocationInfo" depends="check, build, cleanOutputDir">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false"/>
<test name="org.apache.log4j.spi.location.LocationInfoTest" />
@@ -734,7 +748,7 @@
</target>
<target name="CachedDateFormat" depends="check, build, cleanOutputDir">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false"/>
<test name="org.apache.log4j.pattern.CachedDateFormatTest" />
@@ -742,7 +756,7 @@
</target>
<target name="Encoding" depends="check, build, cleanOutputDir">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false"/>
<test name="org.apache.log4j.EncodingTest" />
@@ -750,7 +764,7 @@
</target>
<target name="ExternallyRolled" depends="check, build, cleanOutputDir">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false"/>
<test name="org.apache.log4j.varia.ExternallyRolledFileAppenderTest" />
@@ -780,7 +794,7 @@
</target>
<target name="DRFA" depends="build">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false"/>
<test name="org.apache.log4j.DRFATestCase" />
@@ -788,7 +802,7 @@
</target>
<target name="RFA" depends="build">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false"/>
<test name="org.apache.log4j.RFATestCase" />
@@ -796,7 +810,7 @@
</target>
<target name="ERFA" depends="build">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false"/>
<test name="org.apache.log4j.varia.ERFATestCase" />
@@ -806,7 +820,7 @@
<target name="Syslog" depends="build">
- <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false"/>
<test name="org.apache.log4j.net.SyslogAppenderTest" />
@@ -814,7 +828,7 @@
</target>
<target name="Concurrent" depends="check, build">
- <junit printsummary="yes" fork="no" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="no" haltonfailure="${haltonfailure}" dir="${basedir}">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false"/>
<test name="org.apache.log4j.concurrent.RollingFileAppenderTest" />
@@ -832,7 +846,7 @@
<target name="ReaderWriterLock" depends="check, build, cleanOutputDir">
- <junit printsummary="yes" fork="no" haltonfailure="${haltonfailure}">
+ <junit printsummary="yes" fork="no" haltonfailure="${haltonfailure}" dir="${basedir}">
<sysproperty key="runLen" value="100"/>
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org