Navigation Menu

Skip to content

Commit

Permalink
Cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
tobias committed Aug 3, 2015
1 parent 0e9a368 commit 994a720
Showing 1 changed file with 27 additions and 25 deletions.
52 changes: 27 additions & 25 deletions news/2015-08-03-datomic.md
Expand Up @@ -69,10 +69,10 @@ experience. With our ["dev" war], you can still have a REPL-driven
process, but it is definitely more painful than out-of-container
development.

## Option 3 - Use Recent Incrementals/future Immutant 2.1.0
## Option 3 - Use Recent Incrementals/future 2.1.0

For Immutant 2.1.0, we're working on supporting
[Red Hat JBoss Enterprise Application Platform] (which is a mouthful,
[Red Hat JBoss Enterprise Application Platform] \(which is a mouthful,
so we'll just call it EAP for short). EAP is the commercialized
version of the open source application server (WildFly), and the
current version (6.4.0) is based off an older WildFly that uses
Expand All @@ -88,36 +88,37 @@ Datomic play nicely. Luckily, we've figured that out for you! The bare
minimum to get things working is:

<pre class="syntax clojure">
:dependencies [[org.immutant/immutant "2.x.incremental.602"]
;; Datomic transitively brings in HornetQ 2.3.17.Final, which
;; overrides the HornetQ 2.4.5.Final from org.immutant/messaging
[com.datomic/datomic-pro "0.9.5206"]
;; org.immutant/messaging requires this, but Datomic doesn't
;; bring it in, so we have to depend on it explicitly
[org.hornetq/hornetq-jms-server "2.3.17.Final"
:exclusions [org.jboss.jbossts.jts/jbossjts-jacorb]]
:dependencies [[org.immutant/immutant "2.x.incremental.602"]
;; Datomic transitively brings in HornetQ 2.3.17.Final, which
;; overrides the HornetQ 2.4.5.Final from org.immutant/messaging
[com.datomic/datomic-pro "0.9.5206"]
;; org.immutant/messaging requires this, but Datomic doesn't
;; bring it in, so we have to depend on it explicitly
[org.hornetq/hornetq-jms-server "2.3.17.Final"
:exclusions [org.jboss.jbossts.jts/jbossjts-jacorb]]
</pre>

Now that you have it working, you probably want to get rid of all of
the warnings from Leiningen's pedantic report. Don't worry, we've
figured that out for you as well:

<pre class="syntax clojure">
:dependencies [[org.immutant/immutant "2.x.incremental.602"
:exclusions [org.hornetq/hornetq-server
org.hornetq/hornetq-jms-server
org.hornetq/hornetq-journal
org.hornetq/hornetq-commons]]
[com.datomic/datomic-pro "0.9.5206"
:exclusions [org.slf4j/slf4j-nop
joda-time
commons-codec]]
[org.hornetq/hornetq-jms-server "2.3.17.Final"
:exclusions [org.jboss.spec.javax.transaction/jboss-transaction-api_1.1_spec
org.jboss.logging/jboss-logging
org.jboss/jboss-transaction-spi
org.jgroups/jgroups
org.jboss.jbossts.jts/jbossjts-jacorb]]]
:dependencies [[org.immutant/immutant "2.x.incremental.602"
:exclusions [org.hornetq/hornetq-server
org.hornetq/hornetq-jms-server
org.hornetq/hornetq-journal
org.hornetq/hornetq-commons]]
[com.datomic/datomic-pro "0.9.5206"
:exclusions [org.slf4j/slf4j-nop
joda-time
commons-codec
org.jboss.logging/jboss-logging]]
[org.hornetq/hornetq-jms-server "2.3.17.Final"
:exclusions [org.jboss.spec.javax.transaction/jboss-transaction-api_1.1_spec
org.jboss.logging/jboss-logging
org.jboss/jboss-transaction-spi
org.jgroups/jgroups
org.jboss.jbossts.jts/jbossjts-jacorb]]]
</pre>

Note again that this option currently requires you to run a recent
Expand All @@ -138,6 +139,7 @@ with Immutant, you can always find us on
[Datomic]: http://www.datomic.com/
[HornetQ]: http://hornetq.org
[2.0.2]: /news/2015/06/22/announcing-2-0-2/
[JMS 2.0]: http://www.oracle.com/technetwork/articles/java/jms20-1947669.html
[incremental]: /builds/2x/
[messaging features]: http://immutant.org/documentation/current/apidoc/immutant.messaging.html
[WildFly]: http://wildfly.org/
Expand Down

0 comments on commit 994a720

Please sign in to comment.