directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smckin...@apache.org
Subject directory-fortress-core git commit: FC-84- update doc for console and cli
Date Wed, 25 Mar 2015 15:34:24 GMT
Repository: directory-fortress-core
Updated Branches:
  refs/heads/master c3a2ae412 -> 10c7ab219


FC-84- update doc for console and cli


Project: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/commit/10c7ab21
Tree: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/tree/10c7ab21
Diff: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/diff/10c7ab21

Branch: refs/heads/master
Commit: 10c7ab219c14a24bd4f1974d4c8f2900bb79ee13
Parents: c3a2ae4
Author: Shawn McKinney <smckinney@apache.org>
Authored: Wed Mar 25 10:34:13 2015 -0500
Committer: Shawn McKinney <smckinney@apache.org>
Committed: Wed Mar 25 10:34:13 2015 -0500

----------------------------------------------------------------------
 .../org/apache/directory/fortress/core/cli/package.html  | 11 +++--------
 .../fortress/core/doc-files/apache-fortress-core.html    |  5 ++---
 2 files changed, 5 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/10c7ab21/src/main/java/org/apache/directory/fortress/core/cli/package.html
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/cli/package.html b/src/main/java/org/apache/directory/fortress/core/cli/package.html
index 6d32003..7414fc0 100755
--- a/src/main/java/org/apache/directory/fortress/core/cli/package.html
+++ b/src/main/java/org/apache/directory/fortress/core/cli/package.html
@@ -32,9 +32,9 @@
 folder of Fortress SDK package.
 <ol>
     <li>Open shell prompt within FORTRESS_HOME folder and enter the following</li>
-    <li>export JAVA_HOME=/path to the root folder of your java SDK, version 1.6 and
beyond required</li>
-    <li>export ANT_HOME=/path to the root folder of your Apache Ant installation, version
1.8 and beyond required</li>
-    <li>$ANT_HOME/bin/ant cli</li>
+    <li>export JAVA_HOME=/path to the root folder of your java SDK, version 7 and beyond
required</li>
+    <li>export M2_HOME=/path to the root folder of your Apache Maven installation,
version 3 and beyond required</li>
+    <li>$M2_HOME/bin/mvn -Pcli test</li>
     <li>This will fire Fortress ant target which then starts the CLI. The CLI syntax
will be described in detail
         below.
     </li>
@@ -70,11 +70,6 @@ Currently the following groups of functions are supported:
 </ul>
 <h2>Sample run to add new User to LDAP</h2>
    <pre>      
-iamuser@joshuatreesoftware:~/home/iamuser/openldap-fortress-core$ export JAVA_HOME=/opt/jdk1.6.0_27/
-iamuser@joshuatreesoftware:~/home/iamuser/fortressDev/openldap-fortress-core$ export ANT_HOME=/home/iamuser/apache-ant-1.8.2/
-iamuser@joshuatreesoftware:~/home/iamuser/fortressDev/openldap-fortress-core$ $ANT_HOME/bin/ant
cli
-iamuser@joshuatreesoftware:~/home/iamuser/fortressDev/openldap-fortress-core/build.xml
-...
 [echo] Run the Fortress Command Line Interpreter
 [java] 2011-12-03 21:10:02,431 (INFO ) CLI Options include admin, review, system, dadmin
 [java] 2011-12-03 21:10:02,431 (INFO ) Enter one from above or 'q' to quit

http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/10c7ab21/src/main/java/org/apache/directory/fortress/core/doc-files/apache-fortress-core.html
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/doc-files/apache-fortress-core.html
b/src/main/java/org/apache/directory/fortress/core/doc-files/apache-fortress-core.html
index c92a170..1391a21 100755
--- a/src/main/java/org/apache/directory/fortress/core/doc-files/apache-fortress-core.html
+++ b/src/main/java/org/apache/directory/fortress/core/doc-files/apache-fortress-core.html
@@ -179,9 +179,8 @@ mvn -Dtest=FortressJUnitTest test
 mvn -Pcli test
                     </p>
                 </pre>
-        This program provides a command line interface for driving the fortress APIs.  It
is useful for ad-hoc and automated updates to the data.  It's instruction manual can be found
inside fortress javadoc, point your browser here:
-        <br>file:///[directory-fortress-core]/target/site/apidocs/org/apache/directory/fortress/core/cli/package-summary.html.
-        <br><br>Where [directory-fortress-core] is base folder of the fortress
core source package.
+        This program provides a command line interface for driving the fortress APIs.  It
is useful for ad-hoc and automated updates to the data.  It's instruction manual is here:
+        <a href="../cli/package-summary.html">Fortress CLI Instruction Manual</a>
     </li>
 
     <br>


Mime
View raw message