commons-cli.git
13 years agoTagging rc1 of the release cli-1.2-RC1
Henri Yandell [Fri, 6 Feb 2009 07:41:12 +0000 (07:41 +0000)] 
Tagging rc1 of the release

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/tags/cli-1.2-RC1@741462 13f79535-47bb-0310-9956-ffa450edef68

13 years agoFirst attempt at release. Using 'deploy' rather than release plugin because site...
Henri Yandell [Fri, 6 Feb 2009 07:40:43 +0000 (07:40 +0000)] 
First attempt at release. Using 'deploy' rather than release plugin because site is separate

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@741461 13f79535-47bb-0310-9956-ffa450edef68

13 years agoRemoving @author from method and making it just 'author' as javadoc does not like...
Henri Yandell [Fri, 6 Feb 2009 07:32:48 +0000 (07:32 +0000)] 
Removing @author from method and making it just 'author' as javadoc does not like the @author there

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@741458 13f79535-47bb-0310-9956-ffa450edef68

13 years agoMaking it look like the output of the release plugin
Henri Yandell [Fri, 6 Feb 2009 07:18:30 +0000 (07:18 +0000)] 
Making it look like the output of the release plugin

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@741447 13f79535-47bb-0310-9956-ffa450edef68

13 years agoFolding empty xml tag in
Henri Yandell [Fri, 6 Feb 2009 07:18:03 +0000 (07:18 +0000)] 
Folding empty xml tag in

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@741446 13f79535-47bb-0310-9956-ffa450edef68

13 years agoAnt gone
Henri Yandell [Fri, 6 Feb 2009 06:37:07 +0000 (06:37 +0000)] 
Ant gone

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@741432 13f79535-47bb-0310-9956-ffa450edef68

13 years agoFixing test message
Henri Yandell [Fri, 6 Feb 2009 06:11:37 +0000 (06:11 +0000)] 
Fixing test message

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@741427 13f79535-47bb-0310-9956-ffa450edef68

13 years agoTesting the two UnsupportedOperationException method calls
Henri Yandell [Fri, 6 Feb 2009 06:11:09 +0000 (06:11 +0000)] 
Testing the two UnsupportedOperationException method calls

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@741426 13f79535-47bb-0310-9956-ffa450edef68

13 years agoChanging the Files parameter of '*' from a return null to throwing UnsupportedOperati...
Henri Yandell [Fri, 6 Feb 2009 06:10:54 +0000 (06:10 +0000)] 
Changing the Files parameter of '*' from a return null to throwing UnsupportedOperationException.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@741425 13f79535-47bb-0310-9956-ffa450edef68

13 years agoRemoving the Ant build. Given that it's generated from Maven1, and we no longer have...
Henri Yandell [Fri, 6 Feb 2009 05:55:47 +0000 (05:55 +0000)] 
Removing the Ant build. Given that it's generated from Maven1, and we no longer have that, I don't see any reason to spend time trying to keep it synced with the Maven2 pom.xml.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@741421 13f79535-47bb-0310-9956-ffa450edef68

13 years agoAdding AL 2.0 header to checkstyle.xml to satisfy RAT
Henri Yandell [Fri, 6 Feb 2009 05:53:10 +0000 (05:53 +0000)] 
Adding AL 2.0 header to checkstyle.xml to satisfy RAT

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@741420 13f79535-47bb-0310-9956-ffa450edef68

13 years agoAdding Apache license headers to html to satisfy RAT
Henri Yandell [Fri, 6 Feb 2009 05:52:19 +0000 (05:52 +0000)] 
Adding Apache license headers to html to satisfy RAT

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@741419 13f79535-47bb-0310-9956-ffa450edef68

13 years agoMoving the CLI1->2 converter into CLI2 as it would require dependency on both and...
Henri Yandell [Fri, 6 Feb 2009 05:03:30 +0000 (05:03 +0000)] 
Moving the CLI1->2 converter into CLI2 as it would require dependency on both and 1 doesn't care about 2's existence.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@741413 13f79535-47bb-0310-9956-ffa450edef68

13 years agoPreparing the release according to http://wiki.apache.org/commons/CreatingReleases
Siegfried Goeschl [Thu, 5 Feb 2009 18:38:24 +0000 (18:38 +0000)] 
Preparing the release according to wiki.apache.org/commons/CreatingReleases

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@741226 13f79535-47bb-0310-9956-ffa450edef68

13 years agoChanging the current OutOfMemoryError to a RuntimeException per CLI-162. A new ticket...
Henri Yandell [Sat, 17 Jan 2009 09:30:53 +0000 (09:30 +0000)] 
Changing the current OutOfMemoryError to a RuntimeException per CLI-162. A new ticket for the RuntimeException is at CLI-174

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@735257 13f79535-47bb-0310-9956-ffa450edef68

13 years agoApplying my patch from CLI-170 - TypeHandler prints messages to stderr. It doesn...
Henri Yandell [Sat, 17 Jan 2009 08:23:35 +0000 (08:23 +0000)] 
Applying my patch from CLI-170 - TypeHandler prints messages to stderr. It doesn't change the default behaviour, but it does provide a new method which maybe called to not get the stderr output and instead get a checked exception thrown.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@735247 13f79535-47bb-0310-9956-ffa450edef68

13 years agoRemoving my @author statements
Henri Yandell [Wed, 14 Jan 2009 05:56:47 +0000 (05:56 +0000)] 
Removing my @author statements

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@734339 13f79535-47bb-0310-9956-ffa450edef68

13 years agoUpdated README.txt to match the content of the 2.x branch
Emmanuel Bourg [Mon, 10 Nov 2008 10:53:30 +0000 (10:53 +0000)] 
Updated README.txt to match the content of the 2.x branch

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@712644 13f79535-47bb-0310-9956-ffa450edef68

13 years agoFixed a typo
Emmanuel Bourg [Mon, 10 Nov 2008 10:43:31 +0000 (10:43 +0000)] 
Fixed a typo

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@712643 13f79535-47bb-0310-9956-ffa450edef68

13 years agoMoved the tests related to the HelpFormatter in BugsTest into HelpFormatterTest
Emmanuel Bourg [Mon, 10 Nov 2008 10:42:35 +0000 (10:42 +0000)] 
Moved the tests related to the HelpFormatter in BugsTest into HelpFormatterTest

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@712642 13f79535-47bb-0310-9956-ffa450edef68

13 years agoMerged HelpFormatterExamples into ApplicationTest
Emmanuel Bourg [Mon, 10 Nov 2008 10:14:02 +0000 (10:14 +0000)] 
Merged HelpFormatterExamples into ApplicationTest

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@712640 13f79535-47bb-0310-9956-ffa450edef68

14 years agoFixed testStopAtExpectedArg for PosixParser
Emmanuel Bourg [Tue, 16 Sep 2008 08:05:03 +0000 (08:05 +0000)] 
Fixed testStopAtExpectedArg for PosixParser

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@695760 13f79535-47bb-0310-9956-ffa450edef68

14 years agoMerged BugCLI51Test into ParserTestCase
Emmanuel Bourg [Mon, 15 Sep 2008 22:19:11 +0000 (22:19 +0000)] 
Merged BugCLI51Test into ParserTestCase

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@695672 13f79535-47bb-0310-9956-ffa450edef68

14 years agoMerged the common parser tests into ParserTestCase
Emmanuel Bourg [Mon, 15 Sep 2008 10:25:38 +0000 (10:25 +0000)] 
Merged the common parser tests into ParserTestCase
Fixed the integration test for Groovy, highlighting a regression in CLI 1.2

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@695410 13f79535-47bb-0310-9956-ffa450edef68

14 years agoSlightly improved error message for classes not found
Emmanuel Bourg [Sun, 14 Sep 2008 15:29:32 +0000 (15:29 +0000)] 
Slightly improved error message for classes not found

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@695236 13f79535-47bb-0310-9956-ffa450edef68

14 years agoFixed a typo in the release notes
Emmanuel Bourg [Sun, 14 Sep 2008 15:26:10 +0000 (15:26 +0000)] 
Fixed a typo in the release notes

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@695235 13f79535-47bb-0310-9956-ffa450edef68

14 years agoSimplified the Gump profile
Emmanuel Bourg [Wed, 6 Aug 2008 08:49:31 +0000 (08:49 +0000)] 
Simplified the Gump profile

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@683174 13f79535-47bb-0310-9956-ffa450edef68

14 years agoAdded a test for the Groovy command line
Emmanuel Bourg [Wed, 6 Aug 2008 08:19:28 +0000 (08:19 +0000)] 
Added a test for the Groovy command line

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@683156 13f79535-47bb-0310-9956-ffa450edef68

14 years agoRemoved the old Gump related files
Emmanuel Bourg [Mon, 4 Aug 2008 12:55:10 +0000 (12:55 +0000)] 
Removed the old Gump related files
Added a profile for Gump into the POM

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@682371 13f79535-47bb-0310-9956-ffa450edef68

14 years agoRemoved the javadoc plugin configuration redundant with the parent pom
Emmanuel Bourg [Thu, 31 Jul 2008 11:12:41 +0000 (11:12 +0000)] 
Removed the javadoc plugin configuration redundant with the parent pom
Disabled the maven ant plugin (it doesn't install well everywhere)

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@681340 13f79535-47bb-0310-9956-ffa450edef68

14 years agoMinor improvement to testLs() (added the arg name for block-size)
Emmanuel Bourg [Wed, 30 Jul 2008 15:06:03 +0000 (15:06 +0000)] 
Minor improvement to testLs() (added the arg name for block-size)

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@681076 13f79535-47bb-0310-9956-ffa450edef68

14 years agoRelease notes for CLI 1.2
Emmanuel Bourg [Tue, 29 Jul 2008 23:57:51 +0000 (23:57 +0000)] 
Release notes for CLI 1.2

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@680886 13f79535-47bb-0310-9956-ffa450edef68

14 years agoAdded the clirr report
Emmanuel Bourg [Tue, 29 Jul 2008 14:53:24 +0000 (14:53 +0000)] 
Added the clirr report

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@680722 13f79535-47bb-0310-9956-ffa450edef68

14 years agoRemove the MANIFEST entries that make it look like its been generated automatically...
Niall Kegan Pemberton [Tue, 29 Jul 2008 14:24:11 +0000 (14:24 +0000)] 
Remove the MANIFEST entries that make it look like its been generated automatically by the Bnd tool

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@680709 13f79535-47bb-0310-9956-ffa450edef68

14 years agoGenerated a new Ant build with Maven 2 + minor tweaks
Emmanuel Bourg [Tue, 29 Jul 2008 13:44:08 +0000 (13:44 +0000)] 
Generated a new Ant build with Maven 2 + minor tweaks
Removed the Maven 1 build
Updated the manifest used by Ant to include the OSGI stuff

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@680694 13f79535-47bb-0310-9956-ffa450edef68

14 years agoStyle update
Emmanuel Bourg [Tue, 29 Jul 2008 08:13:48 +0000 (08:13 +0000)] 
Style update

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@680644 13f79535-47bb-0310-9956-ffa450edef68

14 years agoReplaced occurences of 'Jakarta'
Emmanuel Bourg [Mon, 28 Jul 2008 21:15:12 +0000 (21:15 +0000)] 
Replaced occurences of 'Jakarta'

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@680503 13f79535-47bb-0310-9956-ffa450edef68

14 years agoRemoved the unused code from PosixParser
Emmanuel Bourg [Mon, 28 Jul 2008 10:36:48 +0000 (10:36 +0000)] 
Removed the unused code from PosixParser

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@680316 13f79535-47bb-0310-9956-ffa450edef68

14 years agoImproved the test coverage for OptionGroup and Options
Emmanuel Bourg [Mon, 28 Jul 2008 10:25:09 +0000 (10:25 +0000)] 
Improved the test coverage for OptionGroup and Options

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@680311 13f79535-47bb-0310-9956-ffa450edef68

14 years agoFixed PosixParser when an unrecognized long option is found (CLI-165)
Emmanuel Bourg [Mon, 28 Jul 2008 09:47:05 +0000 (09:47 +0000)] 
Fixed PosixParser when an unrecognized long option is found (CLI-165)

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@680299 13f79535-47bb-0310-9956-ffa450edef68

14 years agoFixed the handling of unrecognized options starting with '-' by PosixParser (CLI...
Emmanuel Bourg [Mon, 28 Jul 2008 08:43:28 +0000 (08:43 +0000)] 
Fixed the handling of unrecognized options starting with '-' by PosixParser (CLI-164) (stopAtNonOption=false case)

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@680289 13f79535-47bb-0310-9956-ffa450edef68

14 years agoFixed the handling of unrecognized options starting with '-' by PosixParser (CLI...
Emmanuel Bourg [Mon, 28 Jul 2008 08:27:46 +0000 (08:27 +0000)] 
Fixed the handling of unrecognized options starting with '-' by PosixParser (CLI-164)

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@680287 13f79535-47bb-0310-9956-ffa450edef68

14 years agoFixed PosixParser to stop bursting tokens when a non option character is found (CLI...
Emmanuel Bourg [Sun, 27 Jul 2008 23:38:21 +0000 (23:38 +0000)] 
Fixed PosixParser to stop bursting tokens when a non option character is found (CLI-163)

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@680208 13f79535-47bb-0310-9956-ffa450edef68

14 years agoImproved the test coverage of TypeHandler and PatternOptionBuilder
Emmanuel Bourg [Fri, 25 Jul 2008 16:23:38 +0000 (16:23 +0000)] 
Improved the test coverage of TypeHandler and PatternOptionBuilder

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@679851 13f79535-47bb-0310-9956-ffa450edef68

14 years agoRemoved the unused test files
Emmanuel Bourg [Fri, 25 Jul 2008 14:21:10 +0000 (14:21 +0000)] 
Removed the unused test files

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@679813 13f79535-47bb-0310-9956-ffa450edef68

14 years agoChanged AlreadySelectedException to include the related option group and the option...
Emmanuel Bourg [Thu, 24 Jul 2008 22:55:58 +0000 (22:55 +0000)] 
Changed AlreadySelectedException to include the related option group and the option that triggered the exception

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@679606 13f79535-47bb-0310-9956-ffa450edef68

14 years agoChanged UnrecognizedOptionException to include the option that wasn't recognized
Emmanuel Bourg [Thu, 24 Jul 2008 22:25:38 +0000 (22:25 +0000)] 
Changed UnrecognizedOptionException to include the option that wasn't recognized

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@679583 13f79535-47bb-0310-9956-ffa450edef68

14 years agoAdded the missing @since tag on getOptionProperties()
Emmanuel Bourg [Tue, 22 Jul 2008 12:56:08 +0000 (12:56 +0000)] 
Added the missing @since tag on getOptionProperties()

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@678748 13f79535-47bb-0310-9956-ffa450edef68

14 years agoUpdated the version in the Javadoc
Emmanuel Bourg [Tue, 22 Jul 2008 10:04:04 +0000 (10:04 +0000)] 
Updated the version in the Javadoc

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@678697 13f79535-47bb-0310-9956-ffa450edef68

14 years agoReplaced fully qualified names with imports
Emmanuel Bourg [Tue, 22 Jul 2008 09:23:14 +0000 (09:23 +0000)] 
Replaced fully qualified names with imports

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@678690 13f79535-47bb-0310-9956-ffa450edef68

14 years agoMissingArgumentException now references the option with the missing argument
Emmanuel Bourg [Tue, 22 Jul 2008 09:17:44 +0000 (09:17 +0000)] 
MissingArgumentException now references the option with the missing argument

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@678688 13f79535-47bb-0310-9956-ffa450edef68

14 years agoChanged the visibility of OptionValidator to package private since all its methods...
Emmanuel Bourg [Tue, 22 Jul 2008 08:41:41 +0000 (08:41 +0000)] 
Changed the visibility of OptionValidator to package private since all its methods are either private or package private

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@678678 13f79535-47bb-0310-9956-ffa450edef68

14 years agoAdded the missing @since tags for the classes and methods added in CLI 1.1
Emmanuel Bourg [Tue, 22 Jul 2008 07:55:36 +0000 (07:55 +0000)] 
Added the missing @since tags for the classes and methods added in CLI 1.1

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@678667 13f79535-47bb-0310-9956-ffa450edef68

14 years agoChanged MissingOptionException to include the list of missing options and build itsel...
Emmanuel Bourg [Tue, 22 Jul 2008 07:30:18 +0000 (07:30 +0000)] 
Changed MissingOptionException to include the list of missing options and build itself the exception message

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@678662 13f79535-47bb-0310-9956-ffa450edef68

14 years agochange commons-parent to version 11
Niall Kegan Pemberton [Mon, 21 Jul 2008 17:44:16 +0000 (17:44 +0000)] 
change commons-parent to version 11

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@678496 13f79535-47bb-0310-9956-ffa450edef68

14 years agoAdd property test for Posix Parser
Sebastian Bazley [Fri, 13 Jun 2008 17:24:04 +0000 (17:24 +0000)] 
Add property test for Posix Parser

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@667600 13f79535-47bb-0310-9956-ffa450edef68

14 years agoAdded the method getOptionProperties() in CommandLine to retrieve easily a set of...
Emmanuel Bourg [Fri, 13 Jun 2008 17:03:31 +0000 (17:03 +0000)] 
Added the method getOptionProperties() in CommandLine to retrieve easily a set of properties specified by an option (-Dparam=value)

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@667595 13f79535-47bb-0310-9956-ffa450edef68

14 years agoCheck remaining arg(s)
Sebastian Bazley [Fri, 13 Jun 2008 16:47:29 +0000 (16:47 +0000)] 
Check remaining arg(s)

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@667592 13f79535-47bb-0310-9956-ffa450edef68

14 years agoAdded a test for parsing properties like options
Emmanuel Bourg [Fri, 13 Jun 2008 16:21:58 +0000 (16:21 +0000)] 
Added a test for parsing properties like options

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@667585 13f79535-47bb-0310-9956-ffa450edef68

14 years agoRestored the CLI 1.0 behavior regarding repeated options and the number of arguments...
Emmanuel Bourg [Fri, 13 Jun 2008 15:08:56 +0000 (15:08 +0000)] 
Restored the CLI 1.0 behavior regarding repeated options and the number of arguments per option (CLI-137)

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@667565 13f79535-47bb-0310-9956-ffa450edef68

14 years agoChanged the assertions checking the number of values in ValuesTest to use assertEqual...
Emmanuel Bourg [Mon, 2 Jun 2008 19:49:00 +0000 (19:49 +0000)] 
Changed the assertions checking the number of values in ValuesTest to use assertEquals instead of assertTrue

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@662534 13f79535-47bb-0310-9956-ffa450edef68

14 years agoFixed the parsing of --foo=bar and -f=bar options with the GnuParser (CLI-157)
Emmanuel Bourg [Sun, 1 Jun 2008 10:01:50 +0000 (10:01 +0000)] 
Fixed the parsing of --foo=bar and -f=bar options with the GnuParser (CLI-157)

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@662192 13f79535-47bb-0310-9956-ffa450edef68

14 years agoRemoved fail() in catch blocks in ValueTest and ValuesTest
Emmanuel Bourg [Fri, 30 May 2008 19:10:27 +0000 (19:10 +0000)] 
Removed fail() in catch blocks in ValueTest and ValuesTest

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@661820 13f79535-47bb-0310-9956-ffa450edef68

14 years agoMerged ParseTest into PosixParserTest
Emmanuel Bourg [Fri, 30 May 2008 19:08:52 +0000 (19:08 +0000)] 
Merged ParseTest into PosixParserTest

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@661819 13f79535-47bb-0310-9956-ffa450edef68

14 years agoRenamed GnuParseTest into GnuParserTest + style reformatting
Emmanuel Bourg [Fri, 30 May 2008 18:59:37 +0000 (18:59 +0000)] 
Renamed GnuParseTest into GnuParserTest + style reformatting

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@661816 13f79535-47bb-0310-9956-ffa450edef68

14 years agoMerged BuildTest into OptionsTest
Emmanuel Bourg [Fri, 30 May 2008 18:42:32 +0000 (18:42 +0000)] 
Merged BuildTest into OptionsTest

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@661813 13f79535-47bb-0310-9956-ffa450edef68

14 years agoAdded a test for parsing negative values with GnuParser
Emmanuel Bourg [Fri, 30 May 2008 18:27:38 +0000 (18:27 +0000)] 
Added a test for parsing negative values with GnuParser

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@661807 13f79535-47bb-0310-9956-ffa450edef68

14 years agoMore tests for the Option class covering the hasArgs, hasArgName and getValue methods
Emmanuel Bourg [Fri, 30 May 2008 14:11:32 +0000 (14:11 +0000)] 
More tests for the Option class covering the hasArgs, hasArgName and getValue methods

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@661726 13f79535-47bb-0310-9956-ffa450edef68

14 years agoSimplified Options.helpOptions(), the loop looking into the lonOpts wasn't necessary...
Emmanuel Bourg [Fri, 30 May 2008 12:57:45 +0000 (12:57 +0000)] 
Simplified Options.helpOptions(), the loop looking into the lonOpts wasn't necessary since all options are already in shortOpts
Minor style & doc improvements

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@661699 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTest coverage for OptionGroup.toString()
Emmanuel Bourg [Fri, 30 May 2008 11:47:29 +0000 (11:47 +0000)] 
Test coverage for OptionGroup.toString()

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@661665 13f79535-47bb-0310-9956-ffa450edef68

14 years agoImproved test coverage for HelpFormatter.printHelp() with a null or empty cmdLineSynt...
Emmanuel Bourg [Fri, 30 May 2008 11:21:34 +0000 (11:21 +0000)] 
Improved test coverage for HelpFormatter.printHelp() with a null or empty cmdLineSyntax parameter

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@661652 13f79535-47bb-0310-9956-ffa450edef68

14 years agoAdded tests for the accessors of HelpFormatter
Emmanuel Bourg [Fri, 30 May 2008 11:13:13 +0000 (11:13 +0000)] 
Added tests for the accessors of HelpFormatter

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@661649 13f79535-47bb-0310-9956-ffa450edef68

14 years agoFull test coverage for HelpFormatter.setOptionComparator()
Emmanuel Bourg [Fri, 30 May 2008 10:53:09 +0000 (10:53 +0000)] 
Full test coverage for HelpFormatter.setOptionComparator()

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@661641 13f79535-47bb-0310-9956-ffa450edef68

14 years agoFull test coverage for HelpFormatter.rtrim()
Emmanuel Bourg [Fri, 30 May 2008 10:30:48 +0000 (10:30 +0000)] 
Full test coverage for HelpFormatter.rtrim()

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@661638 13f79535-47bb-0310-9956-ffa450edef68

14 years agoAdded a formatter test for options with a null or empty named argument
Emmanuel Bourg [Fri, 30 May 2008 10:22:49 +0000 (10:22 +0000)] 
Added a formatter test for options with a null or empty named argument

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@661634 13f79535-47bb-0310-9956-ffa450edef68

14 years agoReformatting of the exceptions
Emmanuel Bourg [Fri, 30 May 2008 10:19:46 +0000 (10:19 +0000)] 
Reformatting of the exceptions

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@661632 13f79535-47bb-0310-9956-ffa450edef68

14 years agoAdded tests for the formatting of option groups
Emmanuel Bourg [Fri, 30 May 2008 09:46:41 +0000 (09:46 +0000)] 
Added tests for the formatting of option groups

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@661620 13f79535-47bb-0310-9956-ffa450edef68

14 years agoImproved test coverage for OptionBuilder
Emmanuel Bourg [Fri, 30 May 2008 09:22:08 +0000 (09:22 +0000)] 
Improved test coverage for OptionBuilder

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@661612 13f79535-47bb-0310-9956-ffa450edef68

14 years agoAdded a test for Options.toString()
Emmanuel Bourg [Fri, 30 May 2008 09:11:57 +0000 (09:11 +0000)] 
Added a test for Options.toString()

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@661607 13f79535-47bb-0310-9956-ffa450edef68

14 years agoAdded a test case for BasicParser
Emmanuel Bourg [Fri, 30 May 2008 09:04:02 +0000 (09:04 +0000)] 
Added a test case for BasicParser

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@661604 13f79535-47bb-0310-9956-ffa450edef68

14 years agoSimplified the GnuParser by removing the unused code due to mutually exclusive condit...
Emmanuel Bourg [Fri, 30 May 2008 08:49:00 +0000 (08:49 +0000)] 
Simplified the GnuParser by removing the unused code due to mutually exclusive conditions. Also added some comments to the code. Cobertura coverage is now 100%

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@661593 13f79535-47bb-0310-9956-ffa450edef68

14 years agoAdded a unit test for Util.stripLeadingAndTrailingQuotes
Emmanuel Bourg [Fri, 30 May 2008 08:13:16 +0000 (08:13 +0000)] 
Added a unit test for Util.stripLeadingAndTrailingQuotes

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@661586 13f79535-47bb-0310-9956-ffa450edef68

14 years agoMinor simplification in GnuParser to make the token list local to the flatten method
Emmanuel Bourg [Fri, 30 May 2008 07:44:33 +0000 (07:44 +0000)] 
Minor simplification in GnuParser to make the token list local to the flatten method

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@661583 13f79535-47bb-0310-9956-ffa450edef68

14 years agoset svn:eol-style to native
Niall Kegan Pemberton [Thu, 29 May 2008 22:38:43 +0000 (22:38 +0000)] 
set svn:eol-style to native

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@661513 13f79535-47bb-0310-9956-ffa450edef68

14 years agoAdd m2 assembly descriptors (copied from trunk)
Niall Kegan Pemberton [Thu, 29 May 2008 22:15:48 +0000 (22:15 +0000)] 
Add m2 assembly descriptors (copied from trunk)

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@661504 13f79535-47bb-0310-9956-ffa450edef68

14 years agoAdjusted the Maven 2 groupId to match the Maven 1 groupId for CLI 1.x
Emmanuel Bourg [Thu, 29 May 2008 21:42:32 +0000 (21:42 +0000)] 
Adjusted the Maven 2 groupId to match the Maven 1 groupId for CLI 1.x

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@661495 13f79535-47bb-0310-9956-ffa450edef68

14 years agoFirst version of a Maven 2 POM for the 1.x branch.
Dennis Lundberg [Thu, 29 May 2008 21:03:06 +0000 (21:03 +0000)] 
First version of a Maven 2 POM for the 1.x branch.
Copied from trunk and modified to fit the branch.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@661479 13f79535-47bb-0310-9956-ffa450edef68

14 years agoSimplified the test cases by removing the unnecessary fail() calls in the catch blocks
Emmanuel Bourg [Thu, 29 May 2008 16:11:48 +0000 (16:11 +0000)] 
Simplified the test cases by removing the unnecessary fail() calls in the catch blocks

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@661378 13f79535-47bb-0310-9956-ffa450edef68

14 years agoRenamed the test case LongOptionWithShort into PosixParserTest to make it executed...
Emmanuel Bourg [Thu, 29 May 2008 15:39:35 +0000 (15:39 +0000)] 
Renamed the test case LongOptionWithShort into PosixParserTest to make it executed by Maven

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@661363 13f79535-47bb-0310-9956-ffa450edef68

14 years agoRemoved the unused constructors, suite() and teardown() methods from the test cases
Emmanuel Bourg [Thu, 29 May 2008 15:30:40 +0000 (15:30 +0000)] 
Removed the unused constructors, suite() and teardown() methods from the test cases

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@661358 13f79535-47bb-0310-9956-ffa450edef68

14 years agoParser no longer removes the required options from the Options instance (CLI-156)
Emmanuel Bourg [Thu, 29 May 2008 13:35:20 +0000 (13:35 +0000)] 
Parser no longer removes the required options from the Options instance (CLI-156)

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@661332 13f79535-47bb-0310-9956-ffa450edef68

14 years agoUpdated the current version to 1.2-SNAPSHOT
Emmanuel Bourg [Thu, 29 May 2008 11:55:43 +0000 (11:55 +0000)] 
Updated the current version to 1.2-SNAPSHOT

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@661305 13f79535-47bb-0310-9956-ffa450edef68

14 years agoMaking the OptionComparator modifiable so people can change the order in which argume...
Henri Yandell [Tue, 13 May 2008 04:54:59 +0000 (04:54 +0000)] 
Making the OptionComparator modifiable so people can change the order in which arguments are printed by the HelpFormatter - as requested in CLI-155

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@655735 13f79535-47bb-0310-9956-ffa450edef68

14 years agoAdding comma delimited whitespace to the exception message that lists missing require...
Henri Yandell [Thu, 8 May 2008 06:56:36 +0000 (06:56 +0000)] 
Adding comma delimited whitespace to the exception message that lists missing required options as requested in CLI-149. I didn't add the requested -, as it could be -- or some other prefix. Unit tests also added.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@654431 13f79535-47bb-0310-9956-ffa450edef68

14 years agoApplying Henning's patch to make the Parser more extendable - CLI-142
Henri Yandell [Thu, 8 May 2008 06:43:14 +0000 (06:43 +0000)] 
Applying Henning's patch to make the Parser more extendable - CLI-142

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@654429 13f79535-47bb-0310-9956-ffa450edef68

14 years agoApplying J. Lewis Muir's patch from CLI-151 fixing HelpFormatter so it wraps properly...
Henri Yandell [Thu, 8 May 2008 06:40:58 +0000 (06:40 +0000)] 
Applying J. Lewis Muir's patch from CLI-151 fixing HelpFormatter so it wraps properly on multiple lines

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@654428 13f79535-47bb-0310-9956-ffa450edef68

14 years agoRemoving the duplication 'version' option as pointed out by Andrew Kutz
Henri Yandell [Sat, 26 Apr 2008 17:31:48 +0000 (17:31 +0000)] 
Removing the duplication 'version' option as pointed out by Andrew Kutz

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@651842 13f79535-47bb-0310-9956-ffa450edef68

14 years agoApplying Bjorn's 'yes' patch from CLI-140
Henri Yandell [Sun, 18 Nov 2007 21:43:23 +0000 (21:43 +0000)] 
Applying Bjorn's 'yes' patch from CLI-140

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@596142 13f79535-47bb-0310-9956-ffa450edef68

14 years agoAdded patch to CLI-141 that makes Option Serializable - Thanks to Henning and Bjorn
Henri Yandell [Sun, 18 Nov 2007 21:41:21 +0000 (21:41 +0000)] 
Added patch to CLI-141 that makes Option Serializable - Thanks to Henning and Bjorn

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@596140 13f79535-47bb-0310-9956-ffa450edef68

14 years agoFixing the source to reference the correct reference number, ie) CLI-138
Henri Yandell [Sat, 27 Oct 2007 18:36:12 +0000 (18:36 +0000)] 
Fixing the source to reference the correct reference number, ie) CLI-138

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@589175 13f79535-47bb-0310-9956-ffa450edef68