xmlbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ra...@apache.org
Subject svn commit: r393366 - in /xmlbeans/site: build/site/documentation/conInstallGuide.html src/documentation/content/xdocs/documentation/conInstallGuide.xml
Date Wed, 12 Apr 2006 02:05:16 GMT
Author: radup
Date: Tue Apr 11 19:05:14 2006
New Revision: 393366

URL: http://svn.apache.org/viewcvs?rev=393366&view=rev
Log:
Making sure that setting the CLASSPATH is part of the installation instructions.

Modified:
    xmlbeans/site/build/site/documentation/conInstallGuide.html
    xmlbeans/site/src/documentation/content/xdocs/documentation/conInstallGuide.xml

Modified: xmlbeans/site/build/site/documentation/conInstallGuide.html
URL: http://svn.apache.org/viewcvs/xmlbeans/site/build/site/documentation/conInstallGuide.html?rev=393366&r1=393365&r2=393366&view=diff
==============================================================================
--- xmlbeans/site/build/site/documentation/conInstallGuide.html (original)
+++ xmlbeans/site/build/site/documentation/conInstallGuide.html Tue Apr 11 19:05:14 2006
@@ -161,12 +161,17 @@
 				<p>This is located in the lib directory. If you built XMLBeans from source, you
can also use the 
 				JAR file in the build/ar or build/lib directories.</p>
 </li>
+				
+<li>For XMLBeans V2, also include the jsr173_1.0_api.jar (or jsr173_api.jar, whichever
one came
+				in your download) to the <span class="codefrag">CLASSPATH</span> variable.
+				<p>This is found in the lib (or build/lib if you built XMLBeans from source) directory.</p>
+</li>
 			
 </ol>
 <p>Note that you may also need to edit your PATH variable so that the JDK is earlier
in the path. For more 
 			information, see the <a target="_top" href="http://wiki.apache.org/xmlbeans/XmlBeansFaq#scompFindingJavac">XMLBeans

 			FAQ</a>.</p>
-<a name="N10091"></a><a name="UNIX%2FLinux+Setup"></a>
+<a name="N10099"></a><a name="UNIX%2FLinux+Setup"></a>
 <h3 class="h4">UNIX/Linux Setup</h3>
 <p>On UNIX/Linux, update your environment as follows:</p>
 <ol>
@@ -178,11 +183,25 @@
 <li>
 <span class="codefrag">export PATH=$PATH:$XMLBEANS_HOME/bin</span>
 </li>
+				
+<li>
+<span class="codefrag">export CLASSPATH=$XMLBEANS_HOME/lib/xbean.jar:$CLASSPATH</span>
+				
+<p> (or, if you built XMLBeans from source,
+				<span class="codefrag">export CLASSPATH=$XMLBEANS_HOME/build/lib/xbean.jar:$CLASSPATH</span>)</p>
+</li>
+				
+<li>For XMLBeans V2, <span class="codefrag">export CLASSPATH=$CLASSPATH:$XMLBEANS_HOME/lib/jsr173[_1.0]_api.jar</span>
+				
+<p> (or, if you built XMLBeans from source,
+				<span class="codefrag">export CLASSPATH=$CLASSPATH:$XMLBEANS_HOME/build/lib/jsr173[_1.0]_api.jar</span>)</p>
+</li>
 			
 </ol>
 <p>Your updates might look like this:</p>
-<pre class="code">export XMLBEANS_HOME=/Users/me/xmlstuff/xmlbeans-1.0.2
-export PATH=$PATH:$XMLBEANS_HOME/bin</pre>
+<pre class="code">export XMLBEANS_HOME=/home/me/xmlbeans-2.1.0
+export PATH=$PATH:$XMLBEANS_HOME/bin
+export CLASSPATH=$XMLBEANS_HOME/lib/xbean.jar:$XMLBEANS_HOME/lib/jsr173_1.0_api.jar:$CLASSPATH</pre>
 <p>Once you've updated your environment paths, you should be set up to use the tools
that come with XMLBeans. 
 				These include a schema compiler, an instance validator, and more.</p>
 <p>To get started understanding and using XMLBeans, 

Modified: xmlbeans/site/src/documentation/content/xdocs/documentation/conInstallGuide.xml
URL: http://svn.apache.org/viewcvs/xmlbeans/site/src/documentation/content/xdocs/documentation/conInstallGuide.xml?rev=393366&r1=393365&r2=393366&view=diff
==============================================================================
--- xmlbeans/site/src/documentation/content/xdocs/documentation/conInstallGuide.xml (original)
+++ xmlbeans/site/src/documentation/content/xdocs/documentation/conInstallGuide.xml Tue Apr
11 19:05:14 2006
@@ -57,6 +57,9 @@
 				<li>Edit the <code>CLASSPATH</code> variable to include the xbean.jar
included with XMLBeans. 
 				<p>This is located in the lib directory. If you built XMLBeans from source, you
can also use the 
 				JAR file in the build/ar or build/lib directories.</p></li>
+				<li>For XMLBeans V2, also include the jsr173_1.0_api.jar (or jsr173_api.jar, whichever
one came
+				in your download) to the <code>CLASSPATH</code> variable.
+				<p>This is found in the lib (or build/lib if you built XMLBeans from source) directory.</p></li>
 			</ol>
 			<p>Note that you may also need to edit your PATH variable so that the JDK is earlier
in the path. For more 
 			information, see the <jump href="http://wiki.apache.org/xmlbeans/XmlBeansFaq#scompFindingJavac">XMLBeans

@@ -68,10 +71,17 @@
 			<ol>
 				<li><code>export XMLBEANS_HOME=&lt;location of XMLBeans root&gt;</code></li>
 				<li><code>export PATH=$PATH:$XMLBEANS_HOME/bin</code></li>
+				<li><code>export CLASSPATH=$XMLBEANS_HOME/lib/xbean.jar:$CLASSPATH</code>
+				<p> (or, if you built XMLBeans from source,
+				<code>export CLASSPATH=$XMLBEANS_HOME/build/lib/xbean.jar:$CLASSPATH</code>)</p></li>
+				<li>For XMLBeans V2, <code>export CLASSPATH=$CLASSPATH:$XMLBEANS_HOME/lib/jsr173[_1.0]_api.jar</code>
+				<p> (or, if you built XMLBeans from source,
+				<code>export CLASSPATH=$CLASSPATH:$XMLBEANS_HOME/build/lib/jsr173[_1.0]_api.jar</code>)</p></li>
 			</ol>
 			<p>Your updates might look like this:</p>
-			<source>export XMLBEANS_HOME=/Users/me/xmlstuff/xmlbeans-1.0.2
-export PATH=$PATH:$XMLBEANS_HOME/bin</source>
+			<source>export XMLBEANS_HOME=/home/me/xmlbeans-2.1.0
+export PATH=$PATH:$XMLBEANS_HOME/bin
+export CLASSPATH=$XMLBEANS_HOME/lib/xbean.jar:$XMLBEANS_HOME/lib/jsr173_1.0_api.jar:$CLASSPATH</source>
 			</section>
 				<p>Once you've updated your environment paths, you should be set up to use the
tools that come with XMLBeans. 
 				These include a schema compiler, an instance validator, and more.</p>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: commits-help@xmlbeans.apache.org


Mime
View raw message