1
0

Commit Graph

  • 65bec30a71 Fixes due to Log4J12Logger being renamed back to Log4JLogger and Log4J13Logger being removed. Simon Kitching 2006-01-19 23:55:30 +00:00
  • 468b013d05 Fixes due to renaming of Log4J12Logger back to Log4JLogger Simon Kitching 2006-01-19 23:53:55 +00:00
  • fc9408a84f Remove Log4J13Logger; log4j 1.3 is not yet released. Rename Log4J12Logger back to old name of Log4JLogger. Simon Kitching 2006-01-19 23:52:23 +00:00
  • 28b2152f7c Adding myself as a developer. Dennis Lundberg 2006-01-19 23:06:22 +00:00
  • 7fd0e64429 Javadoc improvements. Contributed by Boris Unckel. Issue #38174. Robert Burrell Donkin 2006-01-19 22:48:16 +00:00
  • 209b1f0688 Javadoc improvements. Contributed by Boris Unckel. Issue #38174. Robert Burrell Donkin 2006-01-19 22:31:02 +00:00
  • ec82b0f579 Javadoc improvements. Contributed by Boris Unckel. Issue #38174. Robert Burrell Donkin 2006-01-19 22:23:48 +00:00
  • 64a4980cc3 Javadoc improvements. Contributed by Boris Unckel. Issue #38174. Robert Burrell Donkin 2006-01-19 22:12:10 +00:00
  • ef58065fb1 Update version to 1.1 in MANIFEST.MF Simon Kitching 2006-01-19 21:16:47 +00:00
  • 1f391b01cf Javadoc improvements. Contributed by Boris Unckel. Issue #38174. Robert Burrell Donkin 2006-01-19 20:59:36 +00:00
  • 65b0cc351b Javadoc improvements. Contributed by Boris Unckel. Issue #38174. Robert Burrell Donkin 2006-01-19 20:50:46 +00:00
  • 82703af9c8 Javadoc improvements. Contributed by Boris Unckel. Issue #38174. Robert Burrell Donkin 2006-01-19 20:32:32 +00:00
  • de40e38a37 Walk the entire hierarchy of ClassLoaders, releasing memory for the current webapp from each copy of LogFactory found. Simon Kitching 2006-01-19 12:16:56 +00:00
  • c0de38481c Some updates (not complete yet). Simon Kitching 2006-01-19 05:31:09 +00:00
  • 73f2a07e70 Added note into javadocs about the fact that getFactory is not gauranteed to return the same instance per classloader environment. Issue #38026. Robert Burrell Donkin 2006-01-18 21:57:10 +00:00
  • 19a76b429b Add tests for new feature to disable loading of Log implementations via the TCCL. Move existing tests for disabling loading of LogFactory via TCCL to subdir "logfactory". Simon Kitching 2006-01-18 03:42:52 +00:00
  • 1b6895e3c5 Add feature to disable loading of Log implementations from the TCCL. Simon Kitching 2006-01-18 03:38:38 +00:00
  • aecdf1ebec Clean up imports Simon Kitching 2006-01-18 02:35:03 +00:00
  • 1a88e2bd50 Clean up imports only. Simon Kitching 2006-01-18 02:34:05 +00:00
  • d08dc18e1c Clean up imports only. Simon Kitching 2006-01-18 02:33:03 +00:00
  • 69cc4ff86d Fix bug in test; custom MyFactory class wasn't specified in commons-logging.properties! Also, use constants instead of repeating custom class name as literal. Simon Kitching 2006-01-17 11:29:42 +00:00
  • 7ff4b00fef Tests for new feature to disable loading of LogFactory implementation via the TCCL. Simon Kitching 2006-01-17 10:40:00 +00:00
  • 89a0e10f95 If config file has use_tccl=false, then don't load LogFactory implementation from the TCCL. Simon Kitching 2006-01-17 10:39:30 +00:00
  • c9a298dd65 Remove debug print statement accidentally left in code. Simon Kitching 2006-01-17 09:54:42 +00:00
  • 1693599580 Removed unused imports Simon Kitching 2006-01-17 08:41:27 +00:00
  • 9a1ec952ae Unit tests for the new LogFactory feature which loads the commons-logging.properties file with the highest priority. Simon Kitching 2006-01-17 08:01:08 +00:00
  • 477165adb1 Implement feature to load the commons-logging.properties file with the highest priority value, not just the first one found on the classpath. Simon Kitching 2006-01-17 07:56:00 +00:00
  • 5f4f76c19c Provide facility to add URLs to the classpath. Simon Kitching 2006-01-17 07:53:44 +00:00
  • dac6d6bee6 Remove unused imports Simon Kitching 2006-01-17 07:52:41 +00:00
  • e934c30030 Simple code cleanup; classloader for LogFactory class is computed once at startup. Simon Kitching 2006-01-17 07:22:21 +00:00
  • 0137795092 Tidy imports only Simon Kitching 2006-01-01 07:42:12 +00:00
  • 2f2b9d43eb Added WeakHashtable to standard distribution. Robert Burrell Donkin 2005-12-11 21:21:10 +00:00
  • d215df346d Moved optional distribution into contrib. Robert Burrell Donkin 2005-12-11 20:29:58 +00:00
  • ae7e0b3157 Moved demonstration away from the main source directory to a holding area. The aim is to clean up the source distribution. Robert Burrell Donkin 2005-12-11 16:52:00 +00:00
  • 5b27788079 Fixed version number. Robert Burrell Donkin 2005-11-22 23:31:17 +00:00
  • dee4fb2492 Bug 37314 - Fixes to POMs Dion Gillard 2005-11-22 00:27:09 +00:00
  • 001f359d58 Workaround for buggy reflection. Thanks to Dennis Lundberg for discovering this problem. Robert Burrell Donkin 2005-11-17 21:39:26 +00:00
  • 010135be0d Fixed broken link. Thanks to Ortwin Glück for spotting this problem. Robert Burrell Donkin 2005-11-03 20:32:34 +00:00
  • 8878a2a0ff Added comments about dependencies. Robert Burrell Donkin 2005-11-02 23:39:37 +00:00
  • 01562fa6c4 PR: 37014 Submitted by: Carlos Sanchez improved dependency information for maven2 users in future releases Brett Leslie Porter 2005-10-14 13:46:09 +00:00
  • 8b1398cfa1 Concrete subclass of the generic log4j tests, bound to log4j12. Simon Kitching 2005-07-21 06:09:51 +00:00
  • b1d6285f15 Implement a cleaner mechanism for setting up a test suite for classes whose dependent libs are not present in the system classpath. The class containing the suite() method *does not have to be* the class that contains the test methods. By taking advantage of this, we can avoid the reflection stuff and the trivial helper class that was introduced earlier to solve this same problem. Simon Kitching 2005-07-21 06:07:30 +00:00
  • 72a6e4f9f6 log4j tests now all work fine with <batchtest> so remove special case code for log4j. Simon Kitching 2005-07-08 11:46:41 +00:00
  • 697b414639 Fix up log4j12 tests so no log4j lib needs to be in the classpath when the suite() method is called on any TestCase class. Simon Kitching 2005-07-08 11:45:25 +00:00
  • a9958f04f8 Remove obsolete unit test files; see StandardTests class and its concrete subclasses. Simon Kitching 2005-07-08 10:09:39 +00:00
  • 41c4b10250 Major restructure of log4j unit tests. All the same tests are done as before, but in a (hopefully) clearer and more maintainable way. Simon Kitching 2005-07-08 10:08:25 +00:00
  • 8831d63879 Minor tweak to javadocs Simon Kitching 2005-07-08 10:07:13 +00:00
  • 9d0c1a7422 Rename LogTest to LogTestCase for consistency. Simon Kitching 2005-07-08 07:08:54 +00:00
  • bfb095df60 Fail the build if any unit test fails. Also removed some redundant stuff. Simon Kitching 2005-07-08 07:03:41 +00:00
  • 4bd1bd70a0 * renamed test cases from Test.java to TestCase.java for consistency. * removed unneeded suite and constructor methods. Simon Kitching 2005-07-08 07:02:20 +00:00
  • d163dc0a8f Tweaked test to improve portability across JVMs. (Added sorting of resource to ensure known order.) Robert Burrell Donkin 2005-07-07 20:16:25 +00:00
  • dfc008fc82 Tweaked test to improve portability across JVMs. (Added sorting of resource to ensure known order.) Robert Burrell Donkin 2005-07-07 18:59:21 +00:00
  • 9e417f2e72 The tests need JUnit version 3.8 or higher to run. Robert Burrell Donkin 2005-07-07 18:36:47 +00:00
  • 3083b9a334 Removed method PathableClassLoader.getResources as in java1.4 and earlier this method is final (can't be overridden). This means changing the associated unit test too. As getResources doesn't explicitly indicate the order in which resources will be returned this is technically ok, though a little ugly. Simon Kitching 2005-07-07 07:32:16 +00:00
  • d0281e782f Added getlibs task to automatically download all dependencies. Simon Kitching 2005-07-06 13:02:33 +00:00
  • 7bac91638b Minor tweak to unit testing stuff. Simon Kitching 2005-07-06 12:42:56 +00:00
  • 1b26226906 Massive removal of custom test targets now most tests support the PathableTestSuite stuff. Simon Kitching 2005-07-06 12:41:30 +00:00
  • 4c8d747d37 Use custom classloader setups to work around SimpleLog static insanity. Simon Kitching 2005-07-06 12:37:25 +00:00
  • 2649aa8c6d Remove unused constructor Set necessary System properties in code rather than assuming build.xml will set them. Call LogFactory.releaseAll before each test for cleanliness. Simon Kitching 2005-07-06 12:09:58 +00:00
  • 35b1d6c80e Remove unused constructor, and clear LogFactory.factories cache before each test for cleanliness. Simon Kitching 2005-07-06 12:07:40 +00:00
  • b808fe4666 Minor comment fix. Simon Kitching 2005-07-06 12:06:32 +00:00
  • 02ee1e9086 Rename from BadHashtablePropertyTest to BadHashtablePropertyTestCase for consistency. Simon Kitching 2005-07-06 07:18:39 +00:00
  • 6ceb7c0ab3 Change to using PathableTestSuite - this permits the test to be significantly simplified. Simon Kitching 2005-07-06 07:17:45 +00:00
  • ac38503d3b Added comments re this class and junit reloadable classloaders. Simon Kitching 2005-07-06 07:14:03 +00:00
  • b69deb90dd Move duplicated testResetContext tests out of ParentFirst and ChildFirst into GeneralTestCase. Simon Kitching 2005-07-06 06:28:24 +00:00
  • c542c21c29 New test case for additional PathableTestSuite functionality. Simon Kitching 2005-07-06 06:26:02 +00:00
  • 4a0c892957 Save and restore system properties around tests. Simon Kitching 2005-07-06 06:19:32 +00:00
  • 1996c5af1b Renamed AltHashtableTest to AltHashtableTestCase for consistency. Also removed unneeded constructor. Simon Kitching 2005-07-06 05:29:57 +00:00
  • 1ac4b57165 Rename AvalonLoggerTest to AvalonLoggerTestCase for consistency. Also remove unneeded constructor. Simon Kitching 2005-07-06 05:15:39 +00:00
  • 85836bd32e JUnit TestCase class has had a default constructor for a long while now, so remove pointless constructors for TestCase subclasses. Simon Kitching 2005-07-06 05:14:12 +00:00
  • 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. Simon Kitching 2005-07-05 09:52:57 +00:00
  • ec7eab0150 Added test cases for child-first behaviour of PathableClassLoader. Simon Kitching 2005-07-05 08:50:41 +00:00
  • ab117df3c7 Fix bugs with child-first behaviour. Simon Kitching 2005-07-05 08:49:54 +00:00
  • b1f4809445 Renamed to ParentFirstTestCase. Simon Kitching 2005-07-05 08:49:03 +00:00
  • 773fe5af3c Renamed from PathableTestCase, as it really tests parent-first classloading. Simon Kitching 2005-07-05 08:10:19 +00:00
  • f19ff6e62e Add adapters jar to list of logical jars available to unit test code. Simon Kitching 2005-07-05 03:42:38 +00:00
  • 184e3781ef Remove unused imports. Simon Kitching 2005-07-05 03:42:02 +00:00
  • 27d2386598 Added more unit tests. Simon Kitching 2005-07-05 03:40:50 +00:00
  • 14cd0d8326 Fix copyright statements on new files. Simon Kitching 2005-06-30 03:36:02 +00:00
  • 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. Simon Kitching 2005-06-30 03:27:56 +00:00
  • 9b59c323f6 Allow testcases to control the classloader hierarchy used during the test. Simon Kitching 2005-06-30 03:21:03 +00:00
  • 8c1e4752ba Update version number to 1.1-dev Simon Kitching 2005-06-30 02:24:57 +00:00
  • 486c9ab798 Need to include discovery as dependency for any target that tries to test xxx.present variables. Simon Kitching 2005-06-27 11:04:03 +00:00
  • c68672222d Add dependency on prepare targets for new compile targets, so that if they are run independently the destination dirs will exist. Simon Kitching 2005-06-26 23:08:36 +00:00
  • e939036229 Improve warning messages for missing libs (thanks to Dennis Lundberg). Simon Kitching 2005-06-26 04:17:11 +00:00
  • 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 Simon Kitching 2005-06-26 04:11:08 +00:00
  • 98c3f0eb0a Change version# to 1.1-dev Simon Kitching 2005-06-24 03:02:13 +00:00
  • 549db6b069 Split Log4JLogger into Log4J12Logger and Log4J13Logger Simon Kitching 2005-06-23 05:40:32 +00:00
  • 60c7478968 Add comments only. Simon Kitching 2005-06-21 11:59:31 +00:00
  • 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. Simon Kitching 2005-06-21 06:21:55 +00:00
  • 0f272fa209 Issue warning instead of error when ALLOW_FLAWED_CONTEXT is true and the context classloader is not related to the classloader used for LogFactoryImpl. This can happen with JBoss' Unified Classloader approach. See bugzilla#35423. Thanks to Brian Stansberry for the patch. Simon Kitching 2005-06-20 10:09:51 +00:00
  • e2a17e8fb8 Simplify discovery by using table of classes to check. Also enhance diagnostics a little. There are no functional changes in this patch. Simon Kitching 2005-06-17 08:09:22 +00:00
  • 5af28f1cff Add note re isXXXAvailable methods in LogFactoryImpl. Simon Kitching 2005-06-16 12:11:50 +00:00
  • d3c6139f66 Minor cleanups. Simon Kitching 2005-06-16 11:35:22 +00:00
  • 3e05e7977f Initial cut at releasenotes for next release. Simon Kitching 2005-06-16 11:08:10 +00:00
  • 9da2f04b89 Minor simplification. Simon Kitching 2005-06-16 11:06:30 +00:00
  • fe9bc1bc5f Utility class for users of commons-logging in webapps. Simon Kitching 2005-06-16 11:02:47 +00:00
  • 70458b7b6e Add an implementation of ServletContextListener for use in avoiding memory leaks in webapps. Simon Kitching 2005-06-16 09:59:40 +00:00
  • 2b9b9b6f24 Add version into jarname as done by maven, eg commons-logging-1.x.x.jar Simon Kitching 2005-06-16 09:23:03 +00:00
  • c563002215 Create commons-logging-adapters.jar file in dist target. Simon Kitching 2005-06-16 08:06:43 +00:00