Emmanuel Bourg [Sat, 19 Jun 2010 19:41:47 +0000 (19:41 +0000)]
Created the CLI 1.2 tag from the latest release candidate (7)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/tags/cli-1.2@956272
13f79535-47bb-0310-9956-
ffa450edef68
Henri Yandell [Mon, 16 Mar 2009 07:29:40 +0000 (07:29 +0000)]
Tagging RC7 of CLI-1.2
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/tags/cli-1.2-RC7@754833
13f79535-47bb-0310-9956-
ffa450edef68
Henri Yandell [Mon, 16 Mar 2009 07:27:41 +0000 (07:27 +0000)]
RC7 time
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@754831
13f79535-47bb-0310-9956-
ffa450edef68
Henri Yandell [Mon, 16 Mar 2009 07:26:44 +0000 (07:26 +0000)]
Applying Jorg Schaible's patch from CLI-177 to fix the OptionBuilder's not resetting when an Exception is thrown
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@754830
13f79535-47bb-0310-9956-
ffa450edef68
Henri Yandell [Wed, 11 Mar 2009 02:28:03 +0000 (02:28 +0000)]
6th attempt lucky?
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@752352
13f79535-47bb-0310-9956-
ffa450edef68
Henri Yandell [Wed, 11 Mar 2009 02:27:44 +0000 (02:27 +0000)]
Moving to JDK 1.4.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@752351
13f79535-47bb-0310-9956-
ffa450edef68
Henri Yandell [Sun, 8 Mar 2009 00:40:27 +0000 (00:40 +0000)]
Preparing for RC5
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@751342
13f79535-47bb-0310-9956-
ffa450edef68
Joerg Schaible [Fri, 6 Mar 2009 22:45:57 +0000 (22:45 +0000)]
Make JDK 1.4 compatible again.
Fix spelling.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@751120
13f79535-47bb-0310-9956-
ffa450edef68
Henri Yandell [Wed, 4 Mar 2009 07:29:32 +0000 (07:29 +0000)]
Moving to RC4
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@749934
13f79535-47bb-0310-9956-
ffa450edef68
Henri Yandell [Sat, 28 Feb 2009 21:55:47 +0000 (21:55 +0000)]
Appling Oliver Heger's patch from CLI-175 to fix the build on Windows
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@748927
13f79535-47bb-0310-9956-
ffa450edef68
Henri Yandell [Sat, 28 Feb 2009 20:02:51 +0000 (20:02 +0000)]
Changing the toString test so it is not dependent on insertion ordering
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@748914
13f79535-47bb-0310-9956-
ffa450edef68
Henri Yandell [Fri, 27 Feb 2009 09:38:36 +0000 (09:38 +0000)]
Moving to RC3
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@748464
13f79535-47bb-0310-9956-
ffa450edef68
Henri Yandell [Fri, 27 Feb 2009 09:38:10 +0000 (09:38 +0000)]
Adjusting - best is to switch to an indent of 1 than do silly things like having every line have 1 character. CLI-162
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@748463
13f79535-47bb-0310-9956-
ffa450edef68
Henri Yandell [Fri, 27 Feb 2009 09:34:11 +0000 (09:34 +0000)]
Switching from the IllegalStateException to trying hard to work. A better user experience and didn't end up with the code being any more evil. CLI-162
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@748461
13f79535-47bb-0310-9956-
ffa450edef68
Henri Yandell [Fri, 27 Feb 2009 09:18:38 +0000 (09:18 +0000)]
Improving the order of the code - no point using a variable before it is tested
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@748453
13f79535-47bb-0310-9956-
ffa450edef68
Henri Yandell [Fri, 20 Feb 2009 05:09:44 +0000 (05:09 +0000)]
Adding Javadoc note on IllegalStateException throwing
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@746142
13f79535-47bb-0310-9956-
ffa450edef68
Henri Yandell [Fri, 20 Feb 2009 05:00:59 +0000 (05:00 +0000)]
Applying additional patch to throw IllegalStateException when the specified width is not enough to fit the flags, indent and 1 character for the description. This closes out CLI-162 (for now :) ).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@746137
13f79535-47bb-0310-9956-
ffa450edef68
Henri Yandell [Thu, 19 Feb 2009 07:14:40 +0000 (07:14 +0000)]
Adding another test
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@745762
13f79535-47bb-0310-9956-
ffa450edef68
Henri Yandell [Thu, 19 Feb 2009 06:43:49 +0000 (06:43 +0000)]
Fixing the previous commit so the right variable is used. There's no reason to share the options class between methods, so deleting the setUp()
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@745755
13f79535-47bb-0310-9956-
ffa450edef68
Henri Yandell [Thu, 19 Feb 2009 06:34:17 +0000 (06:34 +0000)]
Getting rid of the unnecessary testPrintHelp method
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@745753
13f79535-47bb-0310-9956-
ffa450edef68
Henri Yandell [Thu, 19 Feb 2009 05:07:04 +0000 (05:07 +0000)]
Always hard to remember to drop the braces in CLI
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@745727
13f79535-47bb-0310-9956-
ffa450edef68
Henri Yandell [Thu, 19 Feb 2009 05:06:16 +0000 (05:06 +0000)]
Adjusting so that long lines are mercilessly cut off at the maxwidth and continued as before on the following line.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@745725
13f79535-47bb-0310-9956-
ffa450edef68
Henri Yandell [Wed, 18 Feb 2009 05:42:58 +0000 (05:42 +0000)]
Applying my second attempt at a patch to CLI-162. This fixes Gary's reported bug (one of which was an example of CLI-162, and one a bug in my first attempt to patch). Open question is whether to output text that is too long, or try and break it up to fit the screen width.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@745388
13f79535-47bb-0310-9956-
ffa450edef68
Sebastian Bazley [Fri, 13 Feb 2009 11:17:08 +0000 (11:17 +0000)]
Typo
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@744070
13f79535-47bb-0310-9956-
ffa450edef68
Gary D. Gregory [Tue, 10 Feb 2009 04:46:12 +0000 (04:46 +0000)]
[CLI-162] new long lines test cause a RuntimeException.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@742845
13f79535-47bb-0310-9956-
ffa450edef68
Henri Yandell [Sun, 8 Feb 2009 20:39:09 +0000 (20:39 +0000)]
Moving to RC2 as NOTICE has had the copyright date updated
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@742159
13f79535-47bb-0310-9956-
ffa450edef68
Henri Yandell [Sun, 8 Feb 2009 19:56:04 +0000 (19:56 +0000)]
Updating copyright to 2009 based on changes made so far this year
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@742151
13f79535-47bb-0310-9956-
ffa450edef68
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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