commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject svn commit: r961393 - in /commons/proper/cli/trunk/src/site/xdoc: introduction.xml properties.xml usage.xml
Date Wed, 07 Jul 2010 14:39:27 GMT
Author: ebourg
Date: Wed Jul  7 14:39:27 2010
New Revision: 961393

Changed the links to the javadoc from the site documentation, the target directory is now
independent from the version


Modified: commons/proper/cli/trunk/src/site/xdoc/introduction.xml
--- commons/proper/cli/trunk/src/site/xdoc/introduction.xml (original)
+++ commons/proper/cli/trunk/src/site/xdoc/introduction.xml Wed Jul  7 14:39:27 2010
@@ -39,9 +39,9 @@
         to define the interface to the application.
-        CLI uses the <a href="api-1.2/org/apache/commons/cli/Options.html">
+        CLI uses the <a href="api-release/org/apache/commons/cli/Options.html">
         Options</a> class, as a container for 
-        <a href="api-1.2/org/apache/commons/cli/Option.html">
+        <a href="api-release/org/apache/commons/cli/Option.html">
         Option</a> instances.  There are two ways to create
         <code>Option</code>s in CLI.  One of them is via the constructors,
         the other way is via the factory methods defined in 
@@ -66,11 +66,11 @@
         The <code>parse</code> method defined on 
-        <a href="api-1.2/org/apache/commons/cli/CommandLineParser.html">
+        <a href="api-release/org/apache/commons/cli/CommandLineParser.html">
         CommandLineParser</a> takes an <code>Options</code>
         instance and a <code>String[]</code> of arguments and 
         returns a 
-        <a href="api-1.2/org/apache/commons/cli/CommandLine.html">
+        <a href="api-release/org/apache/commons/cli/CommandLine.html">

Modified: commons/proper/cli/trunk/src/site/xdoc/properties.xml
--- commons/proper/cli/trunk/src/site/xdoc/properties.xml (original)
+++ commons/proper/cli/trunk/src/site/xdoc/properties.xml Wed Jul  7 14:39:27 2010
@@ -28,10 +28,10 @@
     <section name="Option Properties">
         The following are the properties that each 
-        <a href="api-1.2/org/apache/commons/cli/Option.html">Option</a> has.
 All of these
+        <a href="api-release/org/apache/commons/cli/Option.html">Option</a> has.
 All of these
         can be set using the accessors or using the methods
         defined in the
-        <a href="api-1.2/org/apache/commons/cli/OptionBuilder.html">OptionBuilder</a>.
+        <a href="api-release/org/apache/commons/cli/OptionBuilder.html">OptionBuilder</a>.

Modified: commons/proper/cli/trunk/src/site/xdoc/usage.xml
--- commons/proper/cli/trunk/src/site/xdoc/usage.xml (original)
+++ commons/proper/cli/trunk/src/site/xdoc/usage.xml Wed Jul  7 14:39:27 2010
@@ -45,7 +45,7 @@
       <subsection name="Create the Options">
-          An <a href="api-1.2/org/apache/commons/cli/Options.html">
+          An <a href="api-release/org/apache/commons/cli/Options.html">
           Options</a> object must be created and the <code>Option</code>
must be 
           added to it.
@@ -78,7 +78,7 @@ CommandLine cmd = parser.parse( options,
           Now we need to check if the <code>t</code> option is present.  To do
           this we will interrogate the 
-          <a href="api-1.2/org/apache/commons/cli/CommandLine.html">CommandLine
+          <a href="api-release/org/apache/commons/cli/CommandLine.html">CommandLine
           </a> object.  The <code>hasOption</code> method takes a 
           <code>java.lang.String</code> parameter and returns <code>true</code>
if the option 
           represented by the <code>java.lang.String</code> is present, otherwise

@@ -212,11 +212,11 @@ Option find      = OptionBuilder.withArg
       <subsection name="Create the Options">
           Now that we have created each 
-          <a href="api-1.2/org/apache/commons/cli/Option.html">Option</a> we
+          <a href="api-release/org/apache/commons/cli/Option.html">Option</a>
we need
           to create the 
-          <a href="api-1.2/org/apache/commons/cli/Options.html">Options</a>
+          <a href="api-release/org/apache/commons/cli/Options.html">Options</a>
           instance.  This is achieved using the 
-          <a href="api-1.2/org/apache/commons/cli/CommandLine.html#addOption(org.apache.commons.cli.Option)">addOption</a>
+          <a href="api-release/org/apache/commons/cli/CommandLine.html#addOption(org.apache.commons.cli.Option)">addOption</a>
           method of <code>Options</code>.
         <source>Options options = new Options();
@@ -243,7 +243,7 @@ options.addOption( property );</source>
           We now need to create a <code>CommandLineParser</code>. This will parse
the command
           line arguments, using the rules specified by the <code>Options</code>
-          return an instance of <a href="api-1.2/org/apache/commons/cli/CommandLine.html">CommandLine</a>.
+          return an instance of <a href="api-release/org/apache/commons/cli/CommandLine.html">CommandLine</a>.
         <source>public static void main( String[] args ) {
     // create the parser
@@ -274,7 +274,7 @@ if( line.hasOption( "buildfile" ) ) {
           CLI also provides the means to automatically generate usage
           and help information.  This is achieved with the
-          <a href="api-1.2/org/apache/commons/cli/HelpFormatter.html">HelpFormatter</a>
+          <a href="api-release/org/apache/commons/cli/HelpFormatter.html">HelpFormatter</a>
         <source>// automatically generate the help statement
@@ -328,7 +328,7 @@ Sort entries alphabetically if none of -
 -C                         list entries by columns</source>
         The following is the code that is used to create the 
-        <a href="api-1.2/org/apache/commons/cli/Options.html">Options</a> for
this example.
+        <a href="api-release/org/apache/commons/cli/Options.html">Options</a>
for this example.
       <source>// create the command line parser
 CommandLineParser parser = new DefaultParser();

View raw message