Skip to content

Commit

Permalink
Domain mode will work without mucking with host.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
jcrossley3 committed Jun 12, 2013
1 parent 86c1ba6 commit b7839f0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 74 deletions.
2 changes: 1 addition & 1 deletion build/assembly/src/resources/domain.xml
Expand Up @@ -803,7 +803,7 @@
</socket-binding-group>
</socket-binding-groups>
<server-groups>
<server-group profile="default" name="default">
<server-group profile="default" name="main-server-group">
<socket-binding-group ref="standard-sockets"/>
</server-group>
</server-groups>
Expand Down
68 changes: 0 additions & 68 deletions build/assembly/src/resources/host.xml

This file was deleted.

Expand Up @@ -453,8 +453,7 @@
(doseq [cfg (map (partial io/file (jboss-dir))
["standalone/configuration/standalone-ha.xml"
"standalone/configuration/standalone.xml"
"domain/configuration/domain.xml"
"domain/configuration/host.xml"])]
"domain/configuration/domain.xml"])]
(let [backup (io/file (.getParentFile cfg) (str "original-" (.getName cfg)))]
(if-not (.exists backup)
(io/copy cfg backup)))))
Expand Down Expand Up @@ -549,6 +548,4 @@
(io/copy (io/file "src/resources/standalone-ha.xml")
(io/file (jboss-dir) "standalone/configuration/standalone-ha.xml"))
(io/copy (io/file "src/resources/domain.xml")
(io/file (jboss-dir) "domain/configuration/domain.xml"))
(io/copy (io/file "src/resources/host.xml")
(io/file (jboss-dir) "domain/configuration/host.xml"))))
(io/file (jboss-dir) "domain/configuration/domain.xml"))))

0 comments on commit b7839f0

Please sign in to comment.