Skip to content

Commit b3a942d

Browse files
committed
Prepare website for CLI 1.4 release
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/trunk@1786157 13f79535-47bb-0310-9956-ffa450edef68
1 parent 75c167e commit b3a942d

3 files changed

Lines changed: 69 additions & 4 deletions

File tree

src/site/site.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<item name="Usage scenarios" href="/usage.html"/>
3838
<item name="Option properties" href="/properties.html"/>
3939
<item name="Javadoc (Current ${project.version})" href="/apidocs/index.html"/>
40-
<item name="Javadoc (1.3.1)" href="/javadocs/api-release/index.html"/>
40+
<item name="Javadoc (1.4)" href="/javadocs/api-release/index.html"/>
4141
</menu>
4242

4343
</body>

src/site/xdoc/index.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ usage: ls
7878
The Javadoc API documents are available online:
7979
</p>
8080
<ul>
81-
<li><a href="javadocs/api-release/index.html">CLI 1.3.1 (current release)</a></li>
81+
<li><a href="javadocs/api-release/index.html">CLI 1.4 (current release)</a></li>
82+
<li><a href="javadocs/api-1.3.1/index.html">CLI 1.3.1</a></li>
8283
<li><a href="javadocs/api-1.3/index.html">CLI 1.3</a></li>
8384
<li><a href="javadocs/api-1.2/index.html">CLI 1.2</a></li>
8485
<li><a href="javadocs/api-1.1/index.html">CLI 1.1</a></li>
@@ -92,10 +93,10 @@ usage: ls
9293

9394
<section name="Releases">
9495
<p>
95-
The latest version is v1.3.1 -
96+
The latest version is v1.4 -
9697
<a href="http://commons.apache.org/cli/download_cli.cgi">Download now!</a>
9798
<br/>
98-
The <a href="release_1_3_1.html">release notes</a> are also available.
99+
The <a href="release_1_4.html">release notes</a> are also available.
99100
</p>
100101
<p>
101102
For previous releases, see the <a href="http://archive.apache.org/dist/commons/cli/">Apache Archive</a>.

src/site/xdoc/release_1_4.xml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
<?xml version="1.0"?>
2+
<!--
3+
Licensed to the Apache Software Foundation (ASF) under one or more
4+
contributor license agreements. See the NOTICE file distributed with
5+
this work for additional information regarding copyright ownership.
6+
The ASF licenses this file to You under the Apache License, Version 2.0
7+
(the "License"); you may not use this file except in compliance with
8+
the License. You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS,
14+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
See the License for the specific language governing permissions and
16+
limitations under the License.
17+
-->
18+
<document>
19+
<properties>
20+
<title>Release notes for CLI 1.4</title>
21+
<author email="dev@commons.apache.org">Commons Documentation Team</author>
22+
</properties>
23+
<body>
24+
25+
<section name="Release notes">
26+
27+
<p>These are the release notes for Commons CLI 1.4.</p>
28+
29+
<source>
30+
INTRODUCTION:
31+
32+
This document contains the release notes for this version of the Commons CLI
33+
package. Commons CLI provides a simple API for working with the command line
34+
arguments and options.
35+
36+
Commons CLI 1.4 is a feature release and binary compatible with the
37+
previous versions, except for the OptionValidator class that is no longer public
38+
(change introduced in v1.2). Commons CLI 1.4 at least requires Java 5.0.
39+
40+
More information can be found on the project site at
41+
http://commons.apache.org/cli.
42+
43+
44+
NEW FEATURES
45+
============
46+
47+
o CLI-269: Introduce CommandLine.Builder
48+
o CLI-267: Add an addRequiredOption method to Options.
49+
Thanks to Ricardo Ribeiro.
50+
51+
52+
BUG FIXES
53+
=========
54+
55+
o CLI-265: Optional argument picking up next regular option as its argument.
56+
Thanks to Martin Sandiford.
57+
o CLI-266: HelpFormatter.setOptionComparator(null) doesn't display the values
58+
in inserted order. Thanks to Ravi Teja.
59+
</source>
60+
61+
</section>
62+
63+
</body>
64+
</document>

0 commit comments

Comments
 (0)