commons-chain.git
14 years agoMoving to TLP tags/CHAIN_1_1_RC3 CHAIN_1_1_RC3
Henri Yandell [Sun, 29 Jul 2007 03:42:34 +0000 (03:42 +0000)] 
Moving to TLP

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/chain/tags/CHAIN_1_1_RC3@560660 13f79535-47bb-0310-9956-ffa450edef68

14 years agoMoving back :) tags/CHAIN_1_1_RC3@560659
Henri Yandell [Sun, 29 Jul 2007 03:42:15 +0000 (03:42 +0000)] 
Moving back :)

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/tags/CHAIN_1_1_RC3@560658 13f79535-47bb-0310-9956-ffa450edef68

14 years agoMoving to TLP tags/CHAIN_1_1_RC3@560657
Henri Yandell [Sun, 29 Jul 2007 03:40:41 +0000 (03:40 +0000)] 
Moving to TLP

git-svn-id: https://svn.apache.org/repos/asf/commons/commons/proper/chain/tags/CHAIN_1_1_RC3@560657 13f79535-47bb-0310-9956-ffa450edef68

16 years agoTag Chain 1.1 RC3 tags/CHAIN_1_1_RC3@560656
Niall Pemberton [Thu, 8 Jun 2006 19:32:56 +0000 (19:32 +0000)] 
Tag Chain 1.1 RC3

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/tags/CHAIN_1_1_RC3@412844 13f79535-47bb-0310-9956-ffa450edef68

16 years agoUpdate release notes tags/CHAIN_1_1_RC3@412842
Niall Pemberton [Thu, 8 Jun 2006 16:47:40 +0000 (16:47 +0000)] 
Update release notes

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@412796 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix for CHAIN-30 - ServletSessionScopeMap always forces a Session to be Created
Niall Pemberton [Thu, 8 Jun 2006 16:19:14 +0000 (16:19 +0000)] 
Fix for CHAIN-30 - ServletSessionScopeMap always forces a Session to be Created

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@412789 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd portlet mock objects and tests
Niall Pemberton [Thu, 8 Jun 2006 16:12:37 +0000 (16:12 +0000)] 
Add portlet mock objects and tests

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@412787 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix for CHAIN-31 - Portlet Map implementations' entry Set should contain Map.Entry...
Niall Pemberton [Thu, 8 Jun 2006 10:49:18 +0000 (10:49 +0000)] 
Fix for CHAIN-31 -  Portlet Map implementations' entry Set should contain Map.Entry elements

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@412719 13f79535-47bb-0310-9956-ffa450edef68

16 years agoVarious minor changes for docs/build: tags/CHAIN_1_1_RC2@412167
Niall Pemberton [Tue, 6 Jun 2006 16:36:10 +0000 (16:36 +0000)] 
Various minor changes for docs/build:
- Add build instructions for JDK 1.3 and Changelog configuration
- Make default changelog configuration show changes in the last year (Chain doesn't change much)
- Update release notes to add missing revisions
- Add commented out dependency for JDK 1.3

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@412167 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFurther fix for CHAIN-12 - Using JDK 1.4.2_10 ContextBase can be serialized, but...
Niall Pemberton [Tue, 6 Jun 2006 15:31:50 +0000 (15:31 +0000)] 
Further fix for CHAIN-12 - Using JDK 1.4.2_10 ContextBase can be serialized, but JDK 1.4.2_11 (and 1.3.1_04) fail trying to serialize - thanks to Dennis Lundberg for spotting this.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@412150 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRemove xdoc.copy.excludes and point RELEASE-NOTES.txt to changes-report.html tags/CHAIN_1_1_RC1@411973
Niall Pemberton [Tue, 6 Jun 2006 02:34:58 +0000 (02:34 +0000)] 
Remove xdoc.copy.excludes and point RELEASE-NOTES.txt to changes-report.html

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@411973 13f79535-47bb-0310-9956-ffa450edef68

16 years agoCHAIN-28 - Provide a Map of Cookies in the WebContext
Niall Pemberton [Mon, 5 Jun 2006 23:29:02 +0000 (23:29 +0000)] 
CHAIN-28 - Provide a Map of Cookies in the WebContext

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@411948 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix for CHAIN-29 - Remove static Log instances
Niall Pemberton [Mon, 5 Jun 2006 18:59:05 +0000 (18:59 +0000)] 
Fix for CHAIN-29 - Remove static Log instances

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@411893 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix Checkstyle and Javadoc warnings
Niall Pemberton [Mon, 5 Jun 2006 18:02:19 +0000 (18:02 +0000)] 
Fix Checkstyle and Javadoc warnings

- LookupCommand's catalogFactory variable reverted to private (as it was in Chain 1.0)
- DisptachCommand's method, methods and methodKey variables changed to private (not yet released)
- add @since tags for Chain 1.1

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@411876 13f79535-47bb-0310-9956-ffa450edef68

16 years agoStart Checkstyle clean up.
Niall Pemberton [Tue, 30 May 2006 21:48:31 +0000 (21:48 +0000)] 
Start Checkstyle clean up.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@410386 13f79535-47bb-0310-9956-ffa450edef68

16 years agoIgnore target directory
Dennis Lundberg [Sat, 27 May 2006 19:08:26 +0000 (19:08 +0000)] 
Ignore target directory

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@409860 13f79535-47bb-0310-9956-ffa450edef68

16 years agoChange groupId to org.apache.commons
Dennis Lundberg [Sat, 27 May 2006 19:06:18 +0000 (19:06 +0000)] 
Change groupId to org.apache.commons
Change artifactId by prefixing it with "commons-chain-"
Update the dependencies on struts and commons-chain to use versions that are available in the repository

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@409859 13f79535-47bb-0310-9956-ffa450edef68

16 years agoChange groupId to org.apache.commons
Dennis Lundberg [Sat, 27 May 2006 19:05:08 +0000 (19:05 +0000)] 
Change groupId to org.apache.commons
Change artifactId by prefixing it with "commons-chain-"
Update the dependency on commons-chain to use a version that is available in the repository

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@409858 13f79535-47bb-0310-9956-ffa450edef68

16 years agoChange groupId to org.apache.commons
Dennis Lundberg [Sat, 27 May 2006 19:03:11 +0000 (19:03 +0000)] 
Change groupId to org.apache.commons

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@409857 13f79535-47bb-0310-9956-ffa450edef68

16 years agoadd sane 'toString()' to MapEntryImpl
Joseph Lad Germuska [Wed, 24 May 2006 14:36:11 +0000 (14:36 +0000)] 
add sane 'toString()' to MapEntryImpl

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@409177 13f79535-47bb-0310-9956-ffa450edef68

16 years agoUpdate maven build to include missing artifacts in distros.
Niall Pemberton [Wed, 24 May 2006 11:42:31 +0000 (11:42 +0000)] 
Update maven build to include missing artifacts in distros.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@409144 13f79535-47bb-0310-9956-ffa450edef68

16 years agoModify DispatchCommand so that it will compile using JDK 1.3 (remove JDK 1.4 method).
Niall Pemberton [Wed, 24 May 2006 10:38:54 +0000 (10:38 +0000)] 
Modify DispatchCommand so that it will compile using JDK 1.3 (remove JDK 1.4 method).

JIRA Issue: CHAIN-11

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@409125 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRemove dependency on commons-build and improve Chain site/documentation.
Niall Pemberton [Wed, 24 May 2006 10:22:12 +0000 (10:22 +0000)] 
Remove dependency on commons-build and improve Chain site/documentation.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@409110 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd myself to Commons Chain
Niall Pemberton [Wed, 24 May 2006 10:06:20 +0000 (10:06 +0000)] 
Add myself to Commons Chain

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@409103 13f79535-47bb-0310-9956-ffa450edef68

16 years agoCorrected site host name.
Robert Burrell Donkin [Sat, 20 May 2006 16:14:12 +0000 (16:14 +0000)] 
Corrected site host name.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@408018 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdded dependency to allow site build without maven tweaks.
Robert Burrell Donkin [Sat, 20 May 2006 16:13:03 +0000 (16:13 +0000)] 
Added dependency to allow site build without maven tweaks.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@408017 13f79535-47bb-0310-9956-ffa450edef68

16 years agoSwitched url from bugzilla to jira
Henri Yandell [Tue, 16 May 2006 05:48:03 +0000 (05:48 +0000)] 
Switched url from bugzilla to jira

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@406847 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRemove useless var
James Mitchell [Wed, 22 Mar 2006 12:52:57 +0000 (12:52 +0000)] 
Remove useless var

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@387850 13f79535-47bb-0310-9956-ffa450edef68

16 years agoModify maven build to add two non-standard attributes to the jar's manifest file...
Niall Pemberton [Tue, 14 Feb 2006 01:15:14 +0000 (01:15 +0000)] 
Modify maven build to add two non-standard attributes to the jar's manifest file to indicate the values of "maven.compile.source" and "maven.compile.target". Also modify the build to include an "Implementation-Vendor-Id" of "org.apache" in the jar's manifest.

The two non-standard entires created in the manifest file will look something like the following:

X-Compile-Source-JDK: 1.3
X-Compile-Target-JDK: 1.3

This change serves two purposes:

  1) To provide comfort to users regarding JVM compatibility.
  2) Enable releases to be checked more easily for JVM compatibility.

The manifest specification indicates that "unknown" entries in the manifest file are ignored. These entries have been prefixed with "X-" which is a sometimes used "convention" for indicating non-standard entries.

See thread: http://tinyurl.com/839zh

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@377558 13f79535-47bb-0310-9956-ffa450edef68

16 years agofixing pmc from name to url
Henri Yandell [Tue, 24 Jan 2006 14:29:48 +0000 (14:29 +0000)] 
fixing pmc from name to url

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@371924 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdding doap files for each component for the projects.apache.org site
Henri Yandell [Mon, 23 Jan 2006 16:12:55 +0000 (16:12 +0000)] 
Adding doap files for each component for the projects.apache.org site

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@371566 13f79535-47bb-0310-9956-ffa450edef68

16 years agofix bug in handling 'InvocationTargetException'
Joseph Lad Germuska [Tue, 13 Dec 2005 00:09:43 +0000 (00:09 +0000)] 
fix bug in handling 'InvocationTargetException'

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@356422 13f79535-47bb-0310-9956-ffa450edef68

16 years agoBug 37314 - Fixes to POMs
Dion Gillard [Mon, 21 Nov 2005 23:55:44 +0000 (23:55 +0000)] 
Bug 37314 - Fixes to POMs

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@348035 13f79535-47bb-0310-9956-ffa450edef68

16 years agosince the tree has changed since 1.0, update the version to avoid confusion building...
Brett Porter [Sun, 23 Oct 2005 19:30:11 +0000 (19:30 +0000)] 
since the tree has changed since 1.0, update the version to avoid confusion building from trunk

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@327839 13f79535-47bb-0310-9956-ffa450edef68

16 years agoBug 37107: Apply standard Maven naming for Sun JARs (servlet, portlet, JSF). Thanks...
Joseph Lad Germuska [Mon, 17 Oct 2005 00:15:41 +0000 (00:15 +0000)] 
Bug 37107: Apply standard Maven naming for Sun JARs (servlet, portlet, JSF).  Thanks to Wendy Smoak for the patch.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@322530 13f79535-47bb-0310-9956-ffa450edef68

16 years agoadd constructor which takes an already built map of commands, for easier use in depen...
Joseph Lad Germuska [Wed, 12 Oct 2005 21:52:37 +0000 (21:52 +0000)] 
add constructor which takes an already built map of commands, for easier use in dependency-injection environments

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@315059 13f79535-47bb-0310-9956-ffa450edef68

16 years agoadd constants to help keep return intentions clear
Joseph Lad Germuska [Wed, 12 Oct 2005 18:56:48 +0000 (18:56 +0000)] 
add constants to help keep return intentions clear

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@314997 13f79535-47bb-0310-9956-ffa450edef68

17 years agoCatch InvocationTargetException and throw its cause instead, except when the cause...
Joseph Lad Germuska [Thu, 26 May 2005 01:48:57 +0000 (01:48 +0000)] 
Catch InvocationTargetException and throw its cause instead, except when the cause is not an instance of Exception.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@178565 13f79535-47bb-0310-9956-ffa450edef68

17 years agoExpose catalogFactory so that subclasses can get at it.
Joseph Lad Germuska [Thu, 26 May 2005 01:22:21 +0000 (01:22 +0000)] 
Expose catalogFactory so that subclasses can get at it.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@178563 13f79535-47bb-0310-9956-ffa450edef68

17 years agoRefactoring to make it easier for lookups to work against a CatalogFactory of any...
Joseph Lad Germuska [Thu, 28 Apr 2005 02:11:38 +0000 (02:11 +0000)] 
Refactoring to make it easier for lookups to work against a CatalogFactory of any origin, instead of being bound to the static singleton instance returned by CatalogFactory.getInstance()

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@165087 13f79535-47bb-0310-9956-ffa450edef68

17 years agoMake ContextBase live up to the Serializable contract that it inherits
Craig R. McClanahan [Sat, 16 Apr 2005 19:55:37 +0000 (19:55 +0000)] 
Make ContextBase live up to the Serializable contract that it inherits
by virtue of extending HashMap, and add a unit test to prove it works.
Fixed in nightly build 20050417.

However, this unit test pointed out a problem with the design of the
concrete WebContext subclasses (ServletWebContext, PortletWebContext,
FacesWebContext).  It is not going to be possible to make these classes
Serializable because the underlying container objects they wrap are not
Serializable -- and there is no way to un-inherit the "implements Serializable"
characteristic of the ContextBase base class.

PR:  Bugzilla #34409
Submitted By:  Jeff Ramsdale <jramsdale AT solutionsiq.com>

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@161600 13f79535-47bb-0310-9956-ffa450edef68

17 years agoRemove obsolete information about a default context attribute being set if none is...
Martin Cooper [Wed, 30 Mar 2005 18:49:03 +0000 (18:49 +0000)] 
Remove obsolete information about a default context attribute being set if none is specified in web.xml.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@159506 13f79535-47bb-0310-9956-ffa450edef68

17 years agoFix references to <chains> to be <catalog> instead.
Martin Cooper [Tue, 29 Mar 2005 22:59:38 +0000 (22:59 +0000)] 
Fix references to <chains> to be <catalog> instead.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@159443 13f79535-47bb-0310-9956-ffa450edef68

17 years agoAdd eclipse project files to svn:ignore.
Joseph Lad Germuska [Wed, 16 Mar 2005 03:14:18 +0000 (03:14 +0000)] 
Add eclipse project files to svn:ignore.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@157635 13f79535-47bb-0310-9956-ffa450edef68

17 years agoFactor out the comma-delimited parsing into a separate method, fix the whitespace...
Martin Cooper [Wed, 9 Mar 2005 04:38:51 +0000 (04:38 +0000)] 
Factor out the comma-delimited parsing into a separate method, fix the whitespace-skipping bugs in it, and add unit tests to verify that.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@156615 13f79535-47bb-0310-9956-ffa450edef68

17 years agoconvert .cvsignore to svn:ignore
Dirk Verbeeck [Sat, 26 Feb 2005 13:43:33 +0000 (13:43 +0000)] 
convert .cvsignore to svn:ignore

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@155482 13f79535-47bb-0310-9956-ffa450edef68

17 years agosvn:keywords correction
Dirk Verbeeck [Sat, 26 Feb 2005 12:52:46 +0000 (12:52 +0000)] 
svn:keywords correction

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@155403 13f79535-47bb-0310-9956-ffa450edef68

17 years agoAdd support for using LookupCommand in a way which does not pass through the
Joseph Lad Germuska [Wed, 23 Feb 2005 04:19:49 +0000 (04:19 +0000)] 
Add support for using LookupCommand in a way which does not pass through the
result from the looked up command.  This will allow chains used by Lookup to
"abort" (by having some command return 'false') without aborting the chain from
which the lookup was performed.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@154949 13f79535-47bb-0310-9956-ffa450edef68

17 years agoremove used import
James Mitchell [Wed, 2 Feb 2005 22:17:52 +0000 (22:17 +0000)] 
remove used import

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@151071 13f79535-47bb-0310-9956-ffa450edef68

17 years agoUse SVN changelog
Dirk Verbeeck [Sun, 30 Jan 2005 23:01:01 +0000 (23:01 +0000)] 
Use SVN changelog

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@149179 13f79535-47bb-0310-9956-ffa450edef68

17 years agoFix simply typo
James Mitchell [Sat, 8 Jan 2005 19:54:16 +0000 (19:54 +0000)] 
Fix simply typo

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142927 13f79535-47bb-0310-9956-ffa450edef68

17 years agoAdding new DispatchLookupCommand and test case.
James Mitchell [Sat, 8 Jan 2005 18:02:28 +0000 (18:02 +0000)] 
Adding new DispatchLookupCommand and test case.

Altered the visibility of LookupCommand.getCommand()

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142926 13f79535-47bb-0310-9956-ffa450edef68

17 years agofix keyword
James Mitchell [Sat, 8 Jan 2005 04:22:49 +0000 (04:22 +0000)] 
fix keyword

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142925 13f79535-47bb-0310-9956-ffa450edef68

17 years agoAdd new test for LookupCommand.
James Mitchell [Sat, 8 Jan 2005 04:17:56 +0000 (04:17 +0000)] 
Add new test for LookupCommand.

Thanks Sean!!

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142924 13f79535-47bb-0310-9956-ffa450edef68

17 years agoFix bad test. Thanks Sean
James Mitchell [Sat, 8 Jan 2005 04:15:23 +0000 (04:15 +0000)] 
Fix bad test.  Thanks Sean

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142923 13f79535-47bb-0310-9956-ffa450edef68

17 years agoadd DispatchCommand and test case
Joseph Lad Germuska [Fri, 7 Jan 2005 21:10:29 +0000 (21:10 +0000)] 
add DispatchCommand and test case

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142922 13f79535-47bb-0310-9956-ffa450edef68

17 years agoadd myself
Joseph Lad Germuska [Fri, 7 Jan 2005 21:06:40 +0000 (21:06 +0000)] 
add myself

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142921 13f79535-47bb-0310-9956-ffa450edef68

17 years agoadd myself
James Mitchell [Fri, 7 Jan 2005 19:23:23 +0000 (19:23 +0000)] 
add myself

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142920 13f79535-47bb-0310-9956-ffa450edef68

17 years agoFix for bug 32894
James Mitchell [Fri, 7 Jan 2005 19:18:03 +0000 (19:18 +0000)] 
Fix for bug 32894

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142919 13f79535-47bb-0310-9956-ffa450edef68

17 years agoImplement enhanced lookup for commands that takes "catalog:command" argument
Craig R. McClanahan [Fri, 31 Dec 2004 02:28:07 +0000 (02:28 +0000)] 
Implement enhanced lookup for commands that takes "catalog:command" argument
as a single string.

PR:  Bugzilla #32881
Submitted By:  Joe Germuska <joe AT germuska.com>

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142918 13f79535-47bb-0310-9956-ffa450edef68

17 years agoBug #32655: Code fragment incorrect.
Martin Cooper [Sun, 12 Dec 2004 16:40:15 +0000 (16:40 +0000)] 
Bug #32655: Code fragment incorrect.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142917 13f79535-47bb-0310-9956-ffa450edef68

17 years agoTweaks to the web site in preparation for 1.0 release. tags/CHAIN_1_0@142915
Martin Cooper [Fri, 10 Dec 2004 05:11:55 +0000 (05:11 +0000)] 
Tweaks to the web site in preparation for 1.0 release.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142915 13f79535-47bb-0310-9956-ffa450edef68

17 years agoMake sure that testPristine() comes first. Relying on the order of methods
Martin Cooper [Thu, 9 Dec 2004 05:23:14 +0000 (05:23 +0000)] 
Make sure that testPristine() comes first. Relying on the order of methods
in the source being the order in which they are called is not exactly a
best practice, but on the eve of a 1.0 release, switching the order of a
couple of methods is the most expedient way to resolve the failing tests.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142914 13f79535-47bb-0310-9956-ffa450edef68

17 years agoNow that the MyFaces version of the JSF API is available at ibiblio, change
Martin Cooper [Wed, 8 Dec 2004 06:33:13 +0000 (06:33 +0000)] 
Now that the MyFaces version of the JSF API is available at ibiblio, change
the Maven and Ant builds to depend on that, rather than the JSF API RI,
which cannot be made available in the same way.

This change should allow the nightly builds of Chain to succeed - or at
least not fail so early because the dependencies were not available.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142913 13f79535-47bb-0310-9956-ffa450edef68

17 years agoFix around 660 Checkstyle errors prior to the 1.0 release.
Martin Cooper [Tue, 30 Nov 2004 05:52:23 +0000 (05:52 +0000)] 
Fix around 660 Checkstyle errors prior to the 1.0 release.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142912 13f79535-47bb-0310-9956-ffa450edef68

17 years agoUpdate version for 1.0 release.
Martin Cooper [Tue, 30 Nov 2004 05:50:08 +0000 (05:50 +0000)] 
Update version for 1.0 release.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142911 13f79535-47bb-0310-9956-ffa450edef68

17 years agoRegenerate Ant build file to pick up changes to project.xml.
Martin Cooper [Mon, 22 Nov 2004 01:59:50 +0000 (01:59 +0000)] 
Regenerate Ant build file to pick up changes to project.xml.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142910 13f79535-47bb-0310-9956-ffa450edef68

17 years agoUpdate BeanUtils and Digester versions; remove Collections dependency;
Martin Cooper [Mon, 22 Nov 2004 01:55:12 +0000 (01:55 +0000)] 
Update BeanUtils and Digester versions; remove Collections dependency;
update version number to 1.0-dev in anticipation of a 1.0 release soon.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142909 13f79535-47bb-0310-9956-ffa450edef68

17 years agoUpdating for 1.0 release, removed old cookbook file
Donald J. Brown [Wed, 17 Nov 2004 08:05:39 +0000 (08:05 +0000)] 
Updating for 1.0 release, removed old cookbook file

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142908 13f79535-47bb-0310-9956-ffa450edef68

17 years agoMade CatalogBase thread-safe by synchronizing the map of commands
Donald J. Brown [Wed, 17 Nov 2004 07:59:18 +0000 (07:59 +0000)] 
Made CatalogBase thread-safe by synchronizing the map of commands
PR: 32015

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142907 13f79535-47bb-0310-9956-ffa450edef68

17 years agoConvert the DocBook chapter into Maven format and add it to the web site
Martin Cooper [Tue, 16 Nov 2004 20:43:03 +0000 (20:43 +0000)] 
Convert the DocBook chapter into Maven format and add it to the web site
as a Cookbook.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142906 13f79535-47bb-0310-9956-ffa450edef68

17 years agoNow that we have CatalogFactory, make LookupCommand leverage it by expecting
Craig R. McClanahan [Fri, 22 Oct 2004 18:06:47 +0000 (18:06 +0000)] 
Now that we have CatalogFactory, make LookupCommand leverage it by expecting
a Catalog name instead of a Catalog instance.  If not specified, the default
Catalog for this application will be consulted.

PR: Bugzilla #31844
Submitted By:  Sean Schofield <sean DOT schofield AT gmail.com>

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142905 13f79535-47bb-0310-9956-ffa450edef68

17 years agoAdjust the example chain configuration file to reflect the default
Craig R. McClanahan [Thu, 21 Oct 2004 05:14:45 +0000 (05:14 +0000)] 
Adjust the example chain configuration file to reflect the default
behavior of expecting a <catalog> outermost element, which will register
the included chains and commands into the default catalog for this app.

PR:  Bugzilla #31807
Submitted by:  Sean Schofield <sean.schofield AT gmail.com>

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142904 13f79535-47bb-0310-9956-ffa450edef68

17 years agoAdd forgotten new class.
Craig R. McClanahan [Mon, 18 Oct 2004 18:47:12 +0000 (18:47 +0000)] 
Add forgotten new class.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142903 13f79535-47bb-0310-9956-ffa450edef68

17 years agoUpdate ChainListener and ChainServlet (and the subordinate servlet related
Craig R. McClanahan [Mon, 18 Oct 2004 01:48:52 +0000 (01:48 +0000)] 
Update ChainListener and ChainServlet (and the subordinate servlet related
processing commands) to make the presence of the attribute init parameter
(org.apache.commons.chain.CONFIG_ATTR) select the previous behavior
where a Catalog is registered as an application scope parameter.  Absence
of this init parameter will trigger the new-style behavior where config
files are assumed to contain <catalog> elements, which will cause the catalogs
to be registered with the CatalogFactory for this application.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142902 13f79535-47bb-0310-9956-ffa450edef68

17 years agoUpdate tests to reflect the modified APIs and logic.
Craig R. McClanahan [Mon, 18 Oct 2004 01:09:06 +0000 (01:09 +0000)] 
Update tests to reflect the modified APIs and logic.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142901 13f79535-47bb-0310-9956-ffa450edef68

17 years agoMake CatalogFactory an abstract class instead of an interface, and make
Craig R. McClanahan [Mon, 18 Oct 2004 01:07:42 +0000 (01:07 +0000)] 
Make CatalogFactory an abstract class instead of an interface, and make
the getInstance() and clear() methods static on this class.  This is
necessary both to avoid applications having to reference CatalogFactoryBase,
but also to ensure that the clear() method actually releases all references
to the relevant class loader -- in the original scheme, we would still have
been leaving garbage lying around.

Refine ConfigRuleSet so that multiple <factory> elements with the same
catalog name will cause the nested chain and command definitions to be
merged, instead of replacing the entire catalog with only the contents
of the last <factory> element.

FIXME: Modify ConfigureListener and ConfigureServlet to use the new
mechanisms that expect a <factory> element -- but find a backwards
compatible way to continue supporting existing use cases.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142900 13f79535-47bb-0310-9956-ffa450edef68

17 years agoAdd a unit test for CatalogFactoryBase.
Craig R. McClanahan [Sun, 17 Oct 2004 22:39:00 +0000 (22:39 +0000)] 
Add a unit test for CatalogFactoryBase.

Hmm ... having to explictly reference CatalogFactoryBase to call getInstance()
seems a little odd ... maybe we should make CatalogFactory itself a concrete
class instead of an interface (analogous to LogFactory in [logging]).

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142899 13f79535-47bb-0310-9956-ffa450edef68

17 years agoAdd a clear() method to CatalogFactory() so that, for example, a web
Craig R. McClanahan [Sun, 17 Oct 2004 01:53:53 +0000 (01:53 +0000)] 
Add a clear() method to CatalogFactory() so that, for example, a web
application can clean up allocated catalogs when it shuts down.

Commit a new CatalogFactoryBase concrete implementation of CatalogFactory,
originally contribted by Sean Schofield, with the following tweaks:

* Use Java2 collections classes (including necessary synchronization)
  instead of Hashtable.

* Make the private string constant used to name the default Catalog
  instance less susceptible to being stepped on by applications.

* Support the getNames() and clear() methods that were added to
  the CatalogFactory interface.

* Factor out the common logic used to look up the relevant class
  loader (also making it more robust by using the class loader that
  loaded this class if there is no thread context class loader)
  and the logic to retrieve the appropriate Map of Catalogs related
  to a particular ClassLoader.

Hint hint ... we still need unit tests for this class :-).

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142898 13f79535-47bb-0310-9956-ffa450edef68

17 years agoPer discussion on the Commons Developer list, remove the getInstance() method
Craig R. McClanahan [Sun, 17 Oct 2004 01:23:01 +0000 (01:23 +0000)] 
Per discussion on the Commons Developer list, remove the getInstance() method
that doesn't really belong here.  Also, add a getNames() method to iterate
over the names of all known catalogs, similar to how Catalog can iterate over
the names of all known commands.

Finally, change line endings from DOS to UNIX (which will probably make the
diff report unreadable, but only this time) since I'm committing on a Unix
system.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142897 13f79535-47bb-0310-9956-ffa450edef68

17 years agoCommit the proposed CatalogFactory interface, from Sean Schofield. This is
Craig R. McClanahan [Sat, 2 Oct 2004 19:20:55 +0000 (19:20 +0000)] 
Commit the proposed CatalogFactory interface, from Sean Schofield.  This is
primarily for discussion at this point; I'm not (quite) ready to consider it
to be part of the final API for [chain].

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142896 13f79535-47bb-0310-9956-ffa450edef68

17 years agoUpdating Pluto url
Donald J. Brown [Wed, 29 Sep 2004 19:18:54 +0000 (19:18 +0000)] 
Updating Pluto url

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142895 13f79535-47bb-0310-9956-ffa450edef68

17 years agoChanged all servlet Map implementations to use the Map.Entry implementation
Donald J. Brown [Fri, 10 Sep 2004 22:43:20 +0000 (22:43 +0000)] 
Changed all servlet Map implementations to use the Map.Entry implementation
MapEntry, rather than returning the values which caused Map.putAll() to
throw confusing ClassCastExceptions

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142894 13f79535-47bb-0310-9956-ffa450edef68

17 years agoAdding postGoal to copy css stylesheets from commons-build when site is generated...
Mark R. Diggory [Tue, 17 Aug 2004 15:38:44 +0000 (15:38 +0000)] 
Adding postGoal to copy css stylesheets from commons-build when site is generated. Please maintain this modification for consistent look and feel across commons subprojects.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142893 13f79535-47bb-0310-9956-ffa450edef68

17 years agoEnhance the readability/writeability of configuration files for command
Craig R. McClanahan [Fri, 16 Jul 2004 19:06:01 +0000 (19:06 +0000)] 
Enhance the readability/writeability of configuration files for command
chains, by supporting a new <define> element that dynamically adds new
Digester rules to the running instance, allowing use of elements without
having to specify the command or chain implementation class every time.
For example, assume you wanted to use two different instances of a
particular command in two different chains:

  <chains>
    ...
    <chain ...>
      ...
      <command className="com.mycompany.mycommands.FooCommand"/>
      ...
    </chain>
    <chain ...>
      ...
      <command clasName="com.mycompany.mycommands.FooCommand"/>
      ...
    </chain>
    ...
  </chains>

Now, you can define an alias for this command and reuse it:

  <chains>
    ...
    <define name="foo" className="com.mycompany.mycommands.FooCommand"/>
    ...
    <chain ...>
      ...
      <foo>
      ...
    </chain>
    <chain ...>
      ...
      <foo>
      ...
    </chain>
    ...
  </chains>

The dynamically generated rules include a Set Properties rule, so that you
can configure properties on aliased commands just like you can with the
<chain> or <command> elements directly.

See the unit test input file (test-config-2.xml) below for more examples.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142892 13f79535-47bb-0310-9956-ffa450edef68

17 years agoReformat to restore indentation. No functional changes.
Craig R. McClanahan [Fri, 16 Jul 2004 17:53:39 +0000 (17:53 +0000)] 
Reformat to restore indentation.  No functional changes.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142891 13f79535-47bb-0310-9956-ffa450edef68

17 years agoAllow a global default to be set for the o.a.c.c.Chain implementation class
Craig R. McClanahan [Fri, 9 Jul 2004 00:03:25 +0000 (00:03 +0000)] 
Allow a global default to be set for the o.a.c.c.Chain implementation class
to be used when instantiating a new chain.

Submitted by:  Manfred Wolff <wolff AT manfred-wolff.de>

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142890 13f79535-47bb-0310-9956-ffa450edef68

17 years agoAdded deploy info based of jxpath's config
Donald J. Brown [Sat, 3 Jul 2004 18:51:48 +0000 (18:51 +0000)] 
Added deploy info based of jxpath's config

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142889 13f79535-47bb-0310-9956-ffa450edef68

18 years agoGot the site to build completely
Donald J. Brown [Thu, 1 Jul 2004 21:46:45 +0000 (21:46 +0000)] 
Got the site to build completely

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142888 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdding checkstyle config from jxpath, modified maven build to get
Donald J. Brown [Thu, 1 Jul 2004 21:34:09 +0000 (21:34 +0000)] 
Adding checkstyle config from jxpath, modified maven build to get
unit tests to run and documents built

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142887 13f79535-47bb-0310-9956-ffa450edef68

18 years agoChanged references from sandbox to commons proper, added self to dev
Donald J. Brown [Thu, 1 Jul 2004 21:19:21 +0000 (21:19 +0000)] 
Changed references from sandbox to commons proper, added self to dev
list, modified maven config to get it to build

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142886 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdd properties for sdocbook plugin. Several JARs have to be downloaded manually,...
Ted Nathan Husted [Mon, 21 Jun 2004 17:50:49 +0000 (17:50 +0000)] 
Add properties for sdocbook plugin. Several JARs have to be downloaded manually, making the sdocbook plugin a pain to install.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142885 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdd generated HTML while we adjust the build. Edits should be made to sdocbook/chapte...
Ted Nathan Husted [Mon, 21 Jun 2004 17:49:43 +0000 (17:49 +0000)] 
Add generated HTML while we adjust the build. Edits should be made to sdocbook/chapter-chain.xml.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142884 13f79535-47bb-0310-9956-ffa450edef68

18 years agoMove to default sdocbook directory
Ted Nathan Husted [Mon, 21 Jun 2004 17:48:42 +0000 (17:48 +0000)] 
Move to default sdocbook directory

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142883 13f79535-47bb-0310-9956-ffa450edef68

18 years agoInitial checkin of the Commons Chain Cookbook. This is in DocBook and needs to be...
Ted Nathan Husted [Mon, 21 Jun 2004 16:48:08 +0000 (16:48 +0000)] 
Initial checkin of the Commons Chain Cookbook. This is in DocBook and needs to be integrated with the Maven build, but I wanted to get it under CVS. We may need to downsize it to Simplified DocBook.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142882 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdd controller application.
Ted Nathan Husted [Tue, 1 Jun 2004 00:56:48 +0000 (00:56 +0000)] 
Add controller application.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142881 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdd tests.
Ted Nathan Husted [Tue, 1 Jun 2004 00:52:47 +0000 (00:52 +0000)] 
Add tests.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142880 13f79535-47bb-0310-9956-ffa450edef68

18 years agoJavadoc and code formatting.
Ted Nathan Husted [Tue, 1 Jun 2004 00:51:18 +0000 (00:51 +0000)] 
Javadoc and code formatting.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142879 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdd simple CommandAction class.
Ted Nathan Husted [Tue, 1 Jun 2004 00:49:17 +0000 (00:49 +0000)] 
Add simple CommandAction class.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142878 13f79535-47bb-0310-9956-ffa450edef68

18 years agoJavadoc updates.
Ted Nathan Husted [Tue, 1 Jun 2004 00:48:41 +0000 (00:48 +0000)] 
Javadoc updates.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142877 13f79535-47bb-0310-9956-ffa450edef68