Author: buildbot
Date: Thu May 19 21:14:39 2016
New Revision: 988684
Log:
Staging update by buildbot for sis
Modified:
websites/staging/sis/trunk/content/ (props changed)
websites/staging/sis/trunk/content/epsg.html
Propchange: websites/staging/sis/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu May 19 21:14:39 2016
@@ -1 +1 @@
-1744639
+1744641
Modified: websites/staging/sis/trunk/content/epsg.html
==============================================================================
--- websites/staging/sis/trunk/content/epsg.html (original)
+++ websites/staging/sis/trunk/content/epsg.html Thu May 19 21:14:39 2016
@@ -195,33 +195,39 @@ When Apache SIS is used in a JavaEE cont
<li>
<p>If using Derby, copy <code>derby.war</code> into the
<code>$CATALINA_HOME/webapps</code> directory and specify the directory where
the Derby databases are located (skip this step if another database is
used):</p>
-<p>:::bash
- export JAVA_OPTS=-Dderby.system.home=$SIS_DATA/Databases</p>
+<div class="codehilite"><pre><span class="nb">export </span><span
class="nv">JAVA_OPTS</span><span class="o">=</span>-Dderby.system.home<span
class="o">=</span><span class="nv">$SIS_DATA</span>/Databases
+</pre></div>
+
+
</li>
<li>
<p>Declare the JNDI name in application <code>WEB-INF/web.xml</code> file:</p>
-<p>:::xml
- <resource-ref>
- <description>EPSG dataset and other metadata used by Apache
SIS.</description>
- <res-ref-name>jdbc/SpatialMetadata</res-ref-name>
- <res-type>javax.sql.DataSource</res-type>
- <res-auth>Container</res-auth>
- </resource-ref></p>
+<div class="codehilite"><pre><span class="nt"><resource-ref></span>
+ <span class="nt"><description></span>EPSG dataset and other metadata
used by Apache SIS.<span class="nt"></description></span>
+ <span class="nt"><res-ref-name></span>jdbc/SpatialMetadata<span
class="nt"></res-ref-name></span>
+ <span class="nt"><res-type></span>javax.sql.DataSource<span
class="nt"></res-type></span>
+ <span class="nt"><res-auth></span>Container<span
class="nt"></res-auth></span>
+<span class="nt"></resource-ref></span>
+</pre></div>
+
+
</li>
<li>
<p>Configure the data source in <code>$CATALINA_HOME/conf/context.xml</code>
or in application <code>META-INF/context.xml</code> file
(change attribute values as needed for the chosen JDBC driver):</p>
-<p>:::xml
- <Context crossContext="true">
- <WatchedResource>WEB-INF/web.xml</WatchedResource>
- <Resource name = "jdbc/SpatialMetadata"
- auth = "Container"
- type = "javax.sql.DataSource"
- username = "sa"
- password = "sa"
- driverClassName = "org.apache.derby.jdbc.EmbeddedDriver"
- url = "jdbc:derby:SpatialMetadata"/>
- </Context></p>
+<div class="codehilite"><pre><span class="nt"><Context</span> <span
class="na">crossContext=</span><span class="s">"true"</span><span
class="nt">></span>
+ <span class="nt"><WatchedResource></span>WEB-INF/web.xml<span
class="nt"></WatchedResource></span>
+ <span class="nt"><Resource</span> <span class="na">name
=</span> <span class="s">"jdbc/SpatialMetadata"</span>
+ <span class="na">auth =</span> <span
class="s">"Container"</span>
+ <span class="na">type =</span> <span
class="s">"javax.sql.DataSource"</span>
+ <span class="na">username =</span> <span
class="s">"sa"</span>
+ <span class="na">password =</span> <span
class="s">"sa"</span>
+ <span class="na">driverClassName =</span> <span
class="s">"org.apache.derby.jdbc.EmbeddedDriver"</span>
+ <span class="na">url =</span> <span
class="s">"jdbc:derby:SpatialMetadata"</span><span
class="nt">/></span>
+<span class="nt"></Context></span>
+</pre></div>
+
+
</li>
<li>
<p>If using Derby, verify on the <code>localhost:8080/derby/derbynet</code>
page (skip this step if another database is used).</p>