1
0
Commit Graph

85 Commits

Author SHA1 Message Date
Robert Burrell Donkin
8bb90f49e5 Added source and javadoc archives for IDEs to distribution build.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@372283 13f79535-47bb-0310-9956-ffa450edef68
2006-01-25 18:41:55 +00:00
Robert Burrell Donkin
d3d86061ae Updated dist method to reflect modern practice. Added optional isolated compilation for releases (requires a pre-1.4 JVM to run the ant tasks and the executable.javac1.4 build property to be set). Artifacts are built in new subdirectory with file ending standardisation. Ant lacks a svn task so will consider whether the source artifacts should also be created by dist.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@372020 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 21:09:51 +00:00
Robert Burrell Donkin
d9ec5870af Default target is now 'all' and target 'all' now runs the unit tests.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@371978 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 18:46:20 +00:00
Robert Burrell Donkin
2628595a49 Removed javadoc target. Use maven for documentation including javadocs.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@371977 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 18:42:57 +00:00
Robert Burrell Donkin
a8ce53a7ea Removed properties used by the now-removed optional build.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@371976 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 18:39:24 +00:00
Robert Burrell Donkin
c450bd645e Decided that it's better to include suffix for release candidates.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@371968 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 17:59:37 +00:00
Simon Kitching
30be33c7a5 Exclude LogFactoryImpl from adapters jar; it doesn't do any harm but
will never be used as the default implementation is always loaded
via the LogFactory classloader.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@371451 13f79535-47bb-0310-9956-ffa450edef68
2006-01-23 03:20:15 +00:00
Robert Burrell Donkin
94672a6efa Upgraded version number in preparation for cutting first candidate
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@371420 13f79535-47bb-0310-9956-ffa450edef68
2006-01-22 23:26:41 +00:00
Simon Kitching
c0c647127d Exclude jdk14 logger from api jar
Include WeakHashtable in api jar
Make ant dependencies used in build be the same as those in the maven project.xml file.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@371164 13f79535-47bb-0310-9956-ffa450edef68
2006-01-22 01:47:01 +00:00
Simon Kitching
d7d7ac9454 Expose servletapi.jar as a "logical lib" for unit tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@370737 13f79535-47bb-0310-9956-ffa450edef68
2006-01-20 05:53:20 +00:00
Simon Kitching
56d0123465 Fixes for javadoc building.
Add build instructions.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@370702 13f79535-47bb-0310-9956-ffa450edef68
2006-01-20 02:40:39 +00:00
Simon Kitching
2812c29024 Remove WeakHashtable classes from the commons-logging-adapters jarfile.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@370685 13f79535-47bb-0310-9956-ffa450edef68
2006-01-20 00:39:11 +00:00
Simon Kitching
65bec30a71 Fixes due to Log4J12Logger being renamed back to Log4JLogger
and Log4J13Logger being removed.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@370674 13f79535-47bb-0310-9956-ffa450edef68
2006-01-19 23:55:30 +00:00
Robert Burrell Donkin
d215df346d Moved optional distribution into contrib.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@356008 13f79535-47bb-0310-9956-ffa450edef68
2005-12-11 20:29:58 +00:00
Simon Kitching
72a6e4f9f6 log4j tests now all work fine with <batchtest> so remove special case code for log4j.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@209738 13f79535-47bb-0310-9956-ffa450edef68
2005-07-08 11:46:41 +00:00
Simon Kitching
bfb095df60 Fail the build if any unit test fails. Also removed some redundant stuff.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@209712 13f79535-47bb-0310-9956-ffa450edef68
2005-07-08 07:03:41 +00:00
Simon Kitching
d0281e782f Added getlibs task to automatically download all dependencies.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@209455 13f79535-47bb-0310-9956-ffa450edef68
2005-07-06 13:02:33 +00:00
Simon Kitching
7bac91638b Minor tweak to unit testing stuff.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@209454 13f79535-47bb-0310-9956-ffa450edef68
2005-07-06 12:42:56 +00:00
Simon Kitching
1b26226906 Massive removal of custom test targets now most tests support the PathableTestSuite stuff.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@209453 13f79535-47bb-0310-9956-ffa450edef68
2005-07-06 12:41:30 +00:00
Simon Kitching
03f98ac40f Update the test.pathable target. Note that the optional ant junit task is
now used in this file - see comments at head of file for details.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@209252 13f79535-47bb-0310-9956-ffa450edef68
2005-07-05 09:52:57 +00:00
Simon Kitching
f19ff6e62e Add adapters jar to list of logical jars available to unit test code.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@209202 13f79535-47bb-0310-9956-ffa450edef68
2005-07-05 03:42:38 +00:00
Simon Kitching
6366c32135 Changes due to testcase classes now controlling their own classpaths.
* The Wrapper class is no longer used. 
* The log4j tests run with log4j13 in the classpath have been
  removed for now; will implement this via another mechanism in
  the near future.
Note that there are expected to be more cleanups applied to this
file in the near future.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@202473 13f79535-47bb-0310-9956-ffa450edef68
2005-06-30 03:27:56 +00:00
Simon Kitching
486c9ab798 Need to include discovery as dependency for any target that tries
to test xxx.present variables.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@201967 13f79535-47bb-0310-9956-ffa450edef68
2005-06-27 11:04:03 +00:00
Simon Kitching
c68672222d Add dependency on prepare targets for new compile targets, so that if they
are run independently the destination dirs will exist.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@201921 13f79535-47bb-0310-9956-ffa450edef68
2005-06-26 23:08:36 +00:00
Simon Kitching
e939036229 Improve warning messages for missing libs (thanks to Dennis Lundberg).
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@201824 13f79535-47bb-0310-9956-ffa450edef68
2005-06-26 04:17:11 +00:00
Simon Kitching
0ecda83b98 Split compile target into separate pieces in order to assist gump.
Target compile-only is now:
  show-lib-presence,compile-non-log4j,compile-log4j12,compile-log4j13,build-jar


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@201823 13f79535-47bb-0310-9956-ffa450edef68
2005-06-26 04:11:08 +00:00
Simon Kitching
98c3f0eb0a Change version# to 1.1-dev
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@201549 13f79535-47bb-0310-9956-ffa450edef68
2005-06-24 03:02:13 +00:00
Simon Kitching
549db6b069 Split Log4JLogger into Log4J12Logger and Log4J13Logger
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@193079 13f79535-47bb-0310-9956-ffa450edef68
2005-06-23 05:40:32 +00:00
Simon Kitching
330e17e0ed The created jarfiles now have the version# embedded in their names, so the
test wrapper class can't just hard-wire their names any more. Instead, we
pass the jarfile names in from the build.xml file as system properties.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@191630 13f79535-47bb-0310-9956-ffa450edef68
2005-06-21 06:21:55 +00:00
Simon Kitching
d3c6139f66 Minor cleanups.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@190899 13f79535-47bb-0310-9956-ffa450edef68
2005-06-16 11:35:22 +00:00
Simon Kitching
70458b7b6e Add an implementation of ServletContextListener for use in avoiding memory leaks in webapps.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@190891 13f79535-47bb-0310-9956-ffa450edef68
2005-06-16 09:59:40 +00:00
Simon Kitching
2b9b9b6f24 Add version into jarname as done by maven, eg commons-logging-1.x.x.jar
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@190888 13f79535-47bb-0310-9956-ffa450edef68
2005-06-16 09:23:03 +00:00
Simon Kitching
c563002215 Create commons-logging-adapters.jar file in dist target.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@190887 13f79535-47bb-0310-9956-ffa450edef68
2005-06-16 08:06:43 +00:00
Simon Kitching
d71598bd0f Exclude package.html files from the jar files.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@179559 13f79535-47bb-0310-9956-ffa450edef68
2005-06-02 08:35:54 +00:00
Simon Kitching
df0d0ed341 Ensure class files generated are compatible with 1.1 JVMs
(although we only support 1.2+ at the moment).


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@179511 13f79535-47bb-0310-9956-ffa450edef68
2005-06-02 05:05:18 +00:00
Robert Burrell Donkin
6e2408d553 Updated HEAD version.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@153296 13f79535-47bb-0310-9956-ffa450edef68
2005-02-10 21:57:11 +00:00
Robert Burrell Donkin
5627a9fc8b Fixed bug in distribution build. Issue 33323. Contributed by Brian Stansberry.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@151619 13f79535-47bb-0310-9956-ffa450edef68
2005-02-06 19:44:27 +00:00
Robert Burrell Donkin
7a03f06584 LogFactory's Hashtable implementation (used to store LogFactoryImpl by classloader) can now be subclassed. This will default to WeakHashtable when this is present on the classpath, Hashtable otherwise. The implementation class can be specified by a system property. Based on a contribution by Brian Stansberry.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139056 13f79535-47bb-0310-9956-ffa450edef68
2004-11-10 23:00:47 +00:00
Robert Burrell Donkin
23e71e6d58 Added new optional subcomponent consisting of non-core implementations. Initial contents MemoryLog, a log implementation intended for use when unit testing. Issue #27663. Contributed by Joerg Schaible.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139055 13f79535-47bb-0310-9956-ffa450edef68
2004-11-04 23:03:59 +00:00
Robert Burrell Donkin
ed0269ef72 New test case for simple log date time setting
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139033 13f79535-47bb-0310-9956-ffa450edef68
2004-05-30 10:32:25 +00:00
Robert Burrell Donkin
f3152683ee Added optional tests for Log4JLogger against 1.2.x
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139030 13f79535-47bb-0310-9956-ffa450edef68
2004-05-19 21:02:10 +00:00
Craig R. McClanahan
0421b481aa Tweak the release notes to include the last enhancement.
Update version number to 1.0.4 in both build.xml and MANIFEST.MF (in the
original Ant based build mechanisms, we used to use filter replacement
so you only had to change this in one place; is there some technique to
regain that benefit that works with both Ant and Maven?).


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139023 13f79535-47bb-0310-9956-ffa450edef68
2004-03-06 22:20:54 +00:00
Dirk Verbeeck
8cdc7ae4e4 remove usersguide.html to fix gump build
(patch from Antoine L�vy-Lambert)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139020 13f79535-47bb-0310-9956-ffa450edef68
2004-03-03 19:13:48 +00:00
Robert Burrell Donkin
c350b20082 Changed build script so that the javadocs contain the license boilerplate and also that the NOTICE file is copied to the dist directory (as well as the LICENSE file).
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139018 13f79535-47bb-0310-9956-ffa450edef68
2004-03-02 21:02:51 +00:00
Craig R. McClanahan
ef2a5e4383 Finish migration to the new Apache License (version 2.0):
* Add updated LICENSE.txt and new NOTICE.txt files.
* Add license header to currently unlicensed text files
  (html, xml, properties).


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139009 13f79535-47bb-0310-9956-ffa450edef68
2004-02-28 22:10:53 +00:00
Craig R. McClanahan
a4eb04167c Add support for Lumberjack (a project that supports JSR-47 compatible
logging on a JDK 1.2 or JDK 1.3 system).

PR:  Bugzilla #21455.
Submitted By:  Vince Eagen <vince256 at comcast.net>


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@138992 13f79535-47bb-0310-9956-ffa450edef68
2003-08-16 22:35:16 +00:00
Craig R. McClanahan
45c7fb43cb Make o.a.c.l.impl.SimpleLog Serializable.
Add more comprehensive unit tests for SimpleLog, including the ability
to serialize and deserialize instances.

This work will form the basis for making similar changes to the other
Log implementations (and their corresponding test cases).


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@138990 13f79535-47bb-0310-9956-ffa450edef68
2003-08-16 21:25:54 +00:00
Robert Burrell Donkin
482961e7b5 Modified build script so that user guide is copied into distribution.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@138984 13f79535-47bb-0310-9956-ffa450edef68
2003-05-22 13:55:28 +00:00
Robert Burrell Donkin
7539845c43 Made implementation of AvalonLogger more robust (avoiding NPEs when nulls are passed in) together with a testcase. Improved build by compiling tests for only those optional components whose dependencies are present. Submitted by Neeme Praks.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@138983 13f79535-47bb-0310-9956-ffa450edef68
2003-05-14 11:14:24 +00:00
Robert Burrell Donkin
d618afdfc9 Added AvalonLogger which wraps the logger used by the Avalon framework. Also added an optional dependency on avalon-framework.jar. Added better warnings to build about which loggers are going to be created.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@138979 13f79535-47bb-0310-9956-ffa450edef68
2003-05-07 16:02:20 +00:00