Skip to content

Commit de24647

Browse files
committed
Updating site. Bringing some of the 2.0 content in; removing the stubbed out 2.0 examples; updating the nav and adding the all important '1.x vs 2.x?' section to the front page
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/cli/trunk@546345 13f79535-47bb-0310-9956-ffa450edef68
1 parent d833bef commit de24647

7 files changed

Lines changed: 31 additions & 227 deletions

File tree

xdocs/building.xml

Lines changed: 0 additions & 87 deletions
This file was deleted.

xdocs/examples/cp.xml

Lines changed: 0 additions & 36 deletions
This file was deleted.

xdocs/examples/cvs.xml

Lines changed: 0 additions & 36 deletions
This file was deleted.

xdocs/examples/index.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,11 @@
3939
found on the <code>commons-user@jakarta.apache.org</code> mailing list.
4040
</p>
4141
</section>
42+
43+
<section name="Examples">
44+
<ul>
45+
<li><a href="ant.html">ant</a></li>
46+
</ul>
47+
</section>
4248
</body>
4349
</document>

xdocs/examples/ls.xml

Lines changed: 0 additions & 36 deletions
This file was deleted.

xdocs/index.xml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,19 @@
2929
<section name="Commons CLI">
3030
<p>
3131
The Jakarta Commons CLI library provides an API for processing command line interfaces.
32-
It was formed by the merger of ideas and code from three different libraries -
33-
Werken, Avalon and Optz.
32+
</p>
33+
</section>
34+
<!-- ================================================== -->
35+
<section name="1.x vs 2.x?">
36+
<p>
37+
Commons CLI 1.0 was formed from the merger of ideas and code from three different libraries -
38+
Werken, Avalon and Optz. In dealing with the bugs and the feature requests a freshly designed and not backwards compatible
39+
CLI 2.0 was created, but never finished or released. Since then a CLI 1.1 bugfix release has been made.
40+
</p>
41+
<p>
42+
There are currently no plans to continue the 1.x line beyond bugfixes. The 2.x design is generally preferred and is in use,
43+
however there is no current activity to make a 2.0 release. To this end, the 1.1 release is recommended to most users
44+
while the 2.x line is recommended for anyone interested in helping to get this better API released.
3445
</p>
3546
</section>
3647
<!-- ================================================== -->

xdocs/navigation.xml

Lines changed: 12 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -27,44 +27,26 @@
2727

2828
<menu name="Commons CLI">
2929
<item name="Overview" href="/index.html"/>
30-
<item name="Download" href="http://jakarta.apache.org/site/downloads/downloads_commons-cli.cgi"/>
31-
<item name="Javadoc (1.0 release)" href="api-release/index.html"/>
30+
<item name="Download (1.1)" href="http://jakarta.apache.org/site/downloads/downloads_commons-cli.cgi"/>
31+
<item name="SVN repository" href="http://svn.apache.org/viewvc/jakarta/commons/proper/cli/trunk/"/>
32+
<item name="Mailing lists" href="/mail-lists.html"/>
3233
</menu>
3334

34-
<menu name="User guide">
35-
<item name="Getting started" href="/introduction.html"/>
36-
<item name="Usage scenarios" href="/usage.html"/>
37-
<item name="Option properties" href="/properties.html"/>
38-
</menu>
39-
<!--
40-
<menu name="CLI1">
41-
<item name="Overview" href="/introduction.html"/>
35+
<menu name="CLI1 user guide">
36+
<item name="Getting started" href="/introduction.html"/>
4237
<item name="Usage scenarios" href="/usage.html"/>
4338
<item name="Option properties" href="/properties.html"/>
39+
<item name="Javadoc (1.1)" href="api-release/index.html"/>
4440
</menu>
45-
<menu name="CLI2">
41+
42+
<menu name="CLI2-dev user guide">
4643
<item name="Overview" href="/manual/index.html"/>
44+
<item name="Examples" href="/examples/index.html"/>
4745
<item name="Options" href="/manual/options.html"/>
48-
<item name="Builders" href="/manual/builders.html"/>
49-
<item name="CommandLines" href="/manual/commandlines.html"/>
46+
<!--item name="Builders" href="/manual/builders.html"/-->
47+
<!--item name="CommandLines" href="/manual/commandlines.html"/-->
5048
<item name="Validators" href="/manual/validators.html"/>
51-
<item name="Utilities" href="/manual/utilities.html"/>
52-
</menu>
53-
<menu name="Examples">
54-
<item name="Overview" href="/examples/index.html"/>
55-
<item name="ant" href="/examples/ant.html"/>
56-
<item name="ls" href="/examples/ls.html"/>
57-
<item name="cvs" href="/examples/cvs.html"/>
58-
<item name="cp" href="/examples/cp.html"/>
59-
</menu>
60-
-->
61-
<menu name="Development">
62-
<item name="Building" href="/building.html"/>
63-
<item name="Mailing lists" href="/mail-lists.html"/>
64-
<item name="Team" href="/team-list.html"/>
65-
<!--item name="Tasks" href="/tasks.html"/-->
66-
<!--item name="Proposal" href="/proposal.html"/-->
67-
<item name="SVN repository" href="http://svn.apache.org/viewcvs.cgi/jakarta/commons/proper/cli/trunk/"/>
49+
<!--item name="Utilities" href="/manual/utilities.html"/-->
6850
<item name="Javadoc (SVN latest)" href="apidocs/index.html"/>
6951
</menu>
7052

0 commit comments

Comments
 (0)