|
Revision 2695
(checked in by douglm, 3 years ago)
|
JBoss support. First stage in deploying applications as services in jboss.
Restructure shell script builds to provide platform specific options. Use that feature to create jboss services (sar files) that can be deployed within the server.
All this work is based on jboss 5.1.0.GA
In addition there is some partial support for geronimo. This is not complete
|
| Line | |
|---|
| 1 |
<?xml version="1.0"?> |
|---|
| 2 |
|
|---|
| 3 |
<!-- =================================================================== |
|---|
| 4 |
This file is imported by buildwar.xml and adds a target |
|---|
| 5 |
doPlatform |
|---|
| 6 |
which will be invoked by the buildwar targets. |
|---|
| 7 |
=================================================================== --> |
|---|
| 8 |
|
|---|
| 9 |
<project name="bedework.platformWar" default="doPlatform" > |
|---|
| 10 |
<target name="doPlatform" > |
|---|
| 11 |
<!-- =============================================================== |
|---|
| 12 |
We create an updated jboss-web.xml file (for jboss) and a ear |
|---|
| 13 |
=============================================================== --> |
|---|
| 14 |
|
|---|
| 15 |
<copy todir="${app.dest.webinf}" |
|---|
| 16 |
file="${app.sou.dir}/war/WEB-INF/jboss-web.xml"> |
|---|
| 17 |
<filterset refid="property.filters" /> |
|---|
| 18 |
</copy> |
|---|
| 19 |
|
|---|
| 20 |
<if> |
|---|
| 21 |
<isset property="propval.app.virtual.host" /> |
|---|
| 22 |
<then> |
|---|
| 23 |
<replace file="${app.dest.webinf}/jboss-web.xml"> |
|---|
| 24 |
<replacetoken><![CDATA[<!-- Virtual host -->]]></replacetoken> |
|---|
| 25 |
<replacevalue><![CDATA[<virtual-host>@VIRTUAL-HOST@</virtual-host> |
|---|
| 26 |
]]> |
|---|
| 27 |
</replacevalue> |
|---|
| 28 |
</replace> |
|---|
| 29 |
<replace file="${app.dest.webinf}/jboss-web.xml"> |
|---|
| 30 |
<replacefilter token="@VIRTUAL-HOST@" value="${propval.app.virtual.host}"/> |
|---|
| 31 |
</replace> |
|---|
| 32 |
</then> |
|---|
| 33 |
</if> |
|---|
| 34 |
</target> |
|---|
| 35 |
</project> |
|---|