db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bpendle...@apache.org
Subject svn commit: r1768818 - in /db/derby/docs/trunk/src: adminguide/tadminappschangingyourclasspath.dita getstart/rgsderbyrunjarsyntax.dita
Date Wed, 09 Nov 2016 02:18:36 GMT
Author: bpendleton
Date: Wed Nov  9 02:18:36 2016
New Revision: 1768818

URL: http://svn.apache.org/viewvc?rev=1768818&view=rev
Log:
DERBY-6916: Docs should provide complete list of derbyrun.jar referenced jars

This change modifies the description of using derbyrun.jar in both the
Getting Started and Server Administrator guides to provide some more
clarity about the various ways you can use derbyrun.jar, and to provide
a more complete and precise list of the other Derby jar files that are
auto-referenced by derbyrun.jar.

The derbyrun.jar file is a bit of a swiss army knife, and so the docs
are a bit of the same, but I feel like they are a bit more accurate now.


Modified:
    db/derby/docs/trunk/src/adminguide/tadminappschangingyourclasspath.dita
    db/derby/docs/trunk/src/getstart/rgsderbyrunjarsyntax.dita

Modified: db/derby/docs/trunk/src/adminguide/tadminappschangingyourclasspath.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/adminguide/tadminappschangingyourclasspath.dita?rev=1768818&r1=1768817&r2=1768818&view=diff
==============================================================================
--- db/derby/docs/trunk/src/adminguide/tadminappschangingyourclasspath.dita (original)
+++ db/derby/docs/trunk/src/adminguide/tadminappschangingyourclasspath.dita Wed Nov  9 02:18:36
2016
@@ -57,6 +57,19 @@ in the classpath of the application on t
 <ph conref="../conrefs.dita#prod/productshortname"></ph> databases over a
 network.</p></info>
 </step>
+<step><cmd><codeph>derbytools.jar</codeph></cmd><info><p>This
jar file
+contains the standard <ph conref="../conrefs.dita#prod/productshortname"></ph>
+tools, such as <codeph>ij</codeph>, <codeph>sysinfo</codeph>,
+and <codeph>dblook</codeph>.
+The <codeph>derbytools.jar</codeph> file is not needed in your classpath
+to run the Network Server, but it is automatically included
+by <codeph>derbyrun.jar</codeph>.</p></info></step>
+<step><cmd><codeph>derbyoptionaltools.jar</codeph></cmd><info><p>This
jar file
+contains additional <ph conref="../conrefs.dita#prod/productshortname"></ph>
+tools, such as the Lucene plug-in.
+The <codeph>derbyoptionaltools.jar</codeph> file is not needed in
+your classpath to run the Network Server, but it is automatically included
+by <codeph>derbyrun.jar</codeph>.</p></info></step>
 </steps-unordered>
 <example><p>All of the jar files are in the 
 <codeph>$<ph conref="../conrefs.dita#prod/productinstallpath"></ph>/lib</codeph>

Modified: db/derby/docs/trunk/src/getstart/rgsderbyrunjarsyntax.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/getstart/rgsderbyrunjarsyntax.dita?rev=1768818&r1=1768817&r2=1768818&view=diff
==============================================================================
--- db/derby/docs/trunk/src/getstart/rgsderbyrunjarsyntax.dita (original)
+++ db/derby/docs/trunk/src/getstart/rgsderbyrunjarsyntax.dita Wed Nov  9 02:18:36 2016
@@ -94,5 +94,18 @@ tool.
 For details on using this tool, see the <cite><ph conref="../conrefs.dita#pub/citadmin"></ph></cite>.
</p><p>For
 more information on using <codeph>derbyrun.jar</codeph> to run the  <codeph>ij</codeph>,
<codeph>sysinfo</codeph>,
 and <codeph>dblook</codeph>  tools, see the <cite><ph conref="../conrefs.dita#pub/citutilities"></ph></cite>.</p></section>
+
+<section><title>Including derbyrun.jar in your CLASSPATH</title>
+<p>Alternatively to using the <codeph>derbyrun.jar</codeph> jar file with
+the <codeph>-jar</codeph> argument, you can instead use the
+<codeph>derbyrun.jar</codeph> jar file with
+the <codeph>-cp</codeph> argument or in your CLASSPATH environment variable.</p>
+<p>When you use this technique, adding the <codeph>derbyrun.jar</codeph>
+jar file to your CLASSPATH has the effect of including all of the
+<ph conref="../conrefs.dita#prod/productshortname"></ph> classes in your
+classpath. For more information on this use of <codeph>derbyrun.jar</codeph>,
+see the <cite><ph conref="../conrefs.dita#pub/citadmin"></ph></cite>.
+</p>
+</section>
 </refbody>
 </reference>



Mime
View raw message