1
0
Commit Graph

841 Commits

Author SHA1 Message Date
Dennis Lundberg
a4f2277bfa Remove the exclusion of the failing test class. The Maven build now runs all the tests that the Ant build does and with the same result. A total of 105 tests, with one failure because of LOGGING-119.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1370541 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 21:31:04 +00:00
Dennis Lundberg
c453d4e95a Use maven-failsafe-plugin to run the tests, as this plugin is bound to the "integration-test" phase which comes after the "package" phase. This is what commons-logging needs for most of its tests.
The normal "test" phase is handled by maven-surefire-plugin. We "disable" that by only running a single test class, one that can be run at the "test" phase. This a hack. To do it the Maven way would mean renaming all integration test source files. But, because we still have an Ant build to maintain I prefer to make as few changes as possible.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1370536 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 21:27:52 +00:00
Sebastian Bazley
960adb8ed9 Add missing property definitions for integration tests
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1363623 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 02:04:51 +00:00
Sebastian Bazley
d02c93bf15 Allow test cases to run OK under Maven/Surefire
[does not seem to be needed for Ant testing]

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1363622 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 02:04:03 +00:00
Sebastian Bazley
5ac3f688f2 Fix version
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1363618 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 01:57:36 +00:00
Sebastian Bazley
a2e0e2c06a LOGGING-148 - LogFactory.diagnosticPrefix and diagnosticsStream could be final
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1363177 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 23:47:49 +00:00
Sebastian Bazley
7eada4cf49 LOGGING-147 - SimpleLog.log - unsafe update of shortLogName
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1363173 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 23:30:03 +00:00
Sebastian Bazley
e8c77e524e Spelling
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1363039 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 18:42:54 +00:00
Sebastian Bazley
2a9617af3b Make immutable private fields final
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1363037 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 18:32:49 +00:00
Sebastian Bazley
6f9fdc1198 LOGGING-128 - Static analysis suggests a number of potential improvements
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1363030 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 17:58:22 +00:00
Sebastian Bazley
a00901e787 Remove obsolete comment; this class is only intended for use with log4j 1.2.x
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1363011 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 16:37:56 +00:00
Sebastian Bazley
ef1b0fbaad Log4JLogger uses deprecated static members of Priority such as INFO
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1363001 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 16:17:32 +00:00
Sebastian Bazley
850fbd475b LOGGING-145 - LogFactoryImpl.setAttribute - possible NPE
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1362996 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 16:08:15 +00:00
Sebastian Bazley
e2adf3571a Replace deprecated field references
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1362982 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 15:34:45 +00:00
Sebastian Bazley
57b30e333b LOGGING-130 - Potential missing privileged block for class loader
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1362978 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 15:19:22 +00:00
Sebastian Bazley
2904fe65df Unnecessary cast
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1362970 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 14:48:32 +00:00
Sebastian Bazley
8316eb1fa1 Test cases don't need main() methods
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1362969 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 14:40:37 +00:00
Sebastian Bazley
b16794f11a Unnecessary casts
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1362968 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 14:37:13 +00:00
Sebastian Bazley
821ac94474 Redundant null check
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1362964 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 14:30:31 +00:00
Sebastian Bazley
cabf9b0bc0 Redundant null check: have already checked for null in enclosing conditional
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1362962 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 14:29:17 +00:00
Sebastian Bazley
66c1dcbf47 Redundant semi-colons
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1362959 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 14:14:29 +00:00
Sebastian Bazley
7297a70b96 Organize imports (don't use wildcards)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1362902 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 12:08:08 +00:00
Sebastian Bazley
3f5848ecbf Increase number of loops to try again to cause Continuum to fail
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1362740 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 01:48:25 +00:00
Sebastian Bazley
2b99f1c33c Double number of loops to try and Continuum to fail
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1362738 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 01:26:31 +00:00
Sebastian Bazley
cd798d00eb Quieten Avalon tests
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1362737 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 01:22:22 +00:00
Sebastian Bazley
c5b7fcfec2 LOGGING-119 deadlock on re-registration of logger
Added test case showing the problem

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1362553 13f79535-47bb-0310-9956-ffa450edef68
2012-07-17 16:11:25 +00:00
Sebastian Bazley
28aaac738b Need more recent Surefire version to support systemPropertyVariables
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1228365 13f79535-47bb-0310-9956-ffa450edef68
2012-01-06 19:44:08 +00:00
Sebastian Bazley
f513458770 Replace deprecated systemProperties with systemPropertyVariables
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1164329 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 02:12:46 +00:00
Gary D. Gregory
75d4c7ca2b Ignore eclipse project files.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1087174 13f79535-47bb-0310-9956-ffa450edef68
2011-03-31 03:47:04 +00:00
Niall Kegan Pemberton
71068c7f1c COMMONSSITE-57 Fix announce mod_mbox link
(I used version 1.4-SNAPSHOT of the commons-build-plugin to do this - need to release it and update commons-parent at some point)

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1005115 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 16:38:08 +00:00
Sebastian Bazley
f130c8ce3e Renove redundant profile; logging has long since moved of from commons-parent-5
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@962850 13f79535-47bb-0310-9956-ffa450edef68
2010-07-10 14:36:01 +00:00
Niall Kegan Pemberton
6666d731b6 Remove site logo hack now it has moved to src/site/resources/images
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@936513 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 21:07:24 +00:00
Niall Kegan Pemberton
6fc06ad199 Generate custom Mailing List pages for components (using "mvn commons:mail-page")
See http://commons.apache.org/commons-build-plugin/mail-page.html

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@936225 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 09:29:42 +00:00
Niall Kegan Pemberton
78b0c2adae Upgrade to commons-parent version 15
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@936207 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 09:02:56 +00:00
Niall Kegan Pemberton
7ae71ede58 Move/rename "xdocs" directory to standard m2 "src/site/xdoc"
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@933590 13f79535-47bb-0310-9956-ffa450edef68
2010-04-13 13:04:51 +00:00
Sebastian Bazley
eb77b4a329 Fix up jakarta download references
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@929316 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 21:50:28 +00:00
Niall Kegan Pemberton
ad21a79870 Remove m1 cvs-usage.xml & navigation.xml files
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@928537 13f79535-47bb-0310-9956-ffa450edef68
2010-03-28 23:58:39 +00:00
Henri Yandell
644995a472 Removing M1 build, M2 build seems fine - missed the project.properties
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@928516 13f79535-47bb-0310-9956-ffa450edef68
2010-03-28 23:08:05 +00:00
Henri Yandell
5866743e10 Removing M1 build, M2 build seems fine
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@928514 13f79535-47bb-0310-9956-ffa450edef68
2010-03-28 23:07:18 +00:00
Niall Kegan Pemberton
45e9ed895b Upgrade to commons-parent-14 (and maven-javadoc-plugin 2.5 when specified)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@923495 13f79535-47bb-0310-9956-ffa450edef68
2010-03-15 23:10:18 +00:00
Niall Kegan Pemberton
5a5d966f6f Update components to point to the new download pages
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@923339 13f79535-47bb-0310-9956-ffa450edef68
2010-03-15 17:04:53 +00:00
Niall Kegan Pemberton
4407cc9d2c Re-generate the download pages using the new commons-build-plugin .12 (via commons-parent version 13)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@920156 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 00:11:50 +00:00
Niall Kegan Pemberton
b9319191f0 Upgrade to version 13 of commons-parent
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@920154 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 00:05:47 +00:00
Niall Kegan Pemberton
4b41831486 Update to commons-parent-12
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@827830 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 23:00:29 +00:00
Sebastian Bazley
827e18a791 Re-Fix DOAP tags
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@779543 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 10:25:05 +00:00
Sebastian Bazley
4dba55c04c Fix DOAP tags
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@779525 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 10:06:42 +00:00
Simon Kitching
36c73c13e2 LOGGING-127: Fix issue introduced in LOGGING-126 - use setUseCache, not setDefaultUseCache
Thanks to Christopher Sahnwaldt for the report.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@697387 13f79535-47bb-0310-9956-ffa450edef68
2008-09-20 16:33:51 +00:00
Simon Kitching
487dcaadea Trivial change: remove unused import
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@695209 13f79535-47bb-0310-9956-ffa450edef68
2008-09-14 12:31:09 +00:00
Simon Kitching
12f0edf24b Fix LOGGING-126: loading of commons-logging.properties file locks jars on windows.
Thanks to Philippe Mouawad for the report and patch.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@695208 13f79535-47bb-0310-9956-ffa450edef68
2008-09-14 12:26:03 +00:00
Niall Kegan Pemberton
78475d429b Upgrade to latest clirr plugin version 2.2.2 (fixes problem downloading the old artifact from the repo)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@687301 13f79535-47bb-0310-9956-ffa450edef68
2008-08-20 12:56:25 +00:00