Cambiada variable de entorno en build.xml a env.JBOSS_HOME para que
pueda realizarse el despliegue automático en la máquina de PRE (azure).
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<!-- definition of global property -->
|
<!-- definition of global property -->
|
||||||
<property environment="env" />
|
<property environment="env" />
|
||||||
<property name="jboss.home" value="/opt/wildfly" />
|
<property name="jboss.home" value="${env.JBOSS_HOME}" />
|
||||||
<property name="source" value="." />
|
<property name="source" value="." />
|
||||||
<property name="sourcesrc" value="${source}/src" />
|
<property name="sourcesrc" value="${source}/src" />
|
||||||
<property name="build" value="${source}/build" />
|
<property name="build" value="${source}/build" />
|
||||||
@@ -89,7 +89,8 @@
|
|||||||
<jar jarfile="${dist}/MyHealth.ear" basedir="${dist}" update="yes" />
|
<jar jarfile="${dist}/MyHealth.ear" basedir="${dist}" update="yes" />
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="deployear" depends="ear" >
|
<!-- Deploy the ear. Copy the ear of the JBoss deployment directory -->
|
||||||
|
<target name="deployear" depends="ear">
|
||||||
<copy file="${dist}/MyHealth.ear" todir="${deploy}" />
|
<copy file="${dist}/MyHealth.ear" todir="${deploy}" />
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user