Skip to content

Commit 5e3e94b

Browse files
committed
convert to rst include
1 parent c5a626c commit 5e3e94b

File tree

3 files changed

+17
-15
lines changed

3 files changed

+17
-15
lines changed

source/fundamentals/connection/jndi.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ JNDI Datasource.
4848

4949
Add the following ``module.xml`` file into the module:
5050

51-
.. literalinclude:: /includes/fundamentals/code-snippets/wildfly-module-with-version.xml
52-
:language: xml
51+
.. include:: /includes/fundamentals/code-snippets/wildfly-module-with-version.rst
5352

5453
#. Add a binding to the naming subsystem configuration that references the
5554
preceding module, the ``MongoClientFactory`` class, and the
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
.. code-block:: xml
2+
:caption: module.xml
3+
4+
<module xmlns="urn:jboss:module:1.9" name="org.mongodb">
5+
<resources>
6+
<resource-root path="bson-{+full-version+}.jar"/>
7+
<resource-root path="bson-record-codec-{+full-version+}.jar"/>
8+
<resource-root path="mongodb-driver-core-{+full-version+}.jar"/>
9+
<resource-root path="mongodb-driver-sync-{+full-version+}.jar"/>
10+
</resources>
11+
<dependencies>
12+
<module name="javax.api"/>
13+
<module name="javax.transaction.api"/>
14+
<module name="javax.servlet.api" optional="true"/>
15+
</dependencies>
16+
</module>

source/includes/fundamentals/code-snippets/wildfly-module-with-version.xml

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)