Actualización del build de ant para que contemple el despliegue del eat
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<classpath>
|
<classpath>
|
||||||
<classpathentry kind="src" path="src"/>
|
<classpathentry kind="src" path="src"/>
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
||||||
<classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.jboss.ide.eclipse.as.core.server.runtime.runtimeTarget/WildFly 14.0 Runtime"/>
|
<classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.jboss.ide.eclipse.as.core.server.runtime.runtimeTarget/WildFly 14.0 Runtime"/>
|
||||||
<classpathentry kind="lib" path="docroot/WEB-INF/lib/primefaces-7.0.jar" sourcepath="C:/Users/mark/.m2/repository/org/primefaces/primefaces/7.0/primefaces-7.0-sources.jar"/>
|
<classpathentry kind="lib" path="docroot/WEB-INF/lib/primefaces-7.0.jar" />
|
||||||
<classpathentry kind="lib" path="docroot/WEB-INF/lib/omnifaces-3.4.1.jar" sourcepath="C:/Users/mark/.m2/repository/org/omnifaces/omnifaces/3.4.1/omnifaces-3.4.1-sources.jar"/>
|
<classpathentry kind="lib" path="docroot/WEB-INF/lib/omnifaces-3.4.1.jar" />
|
||||||
<classpathentry kind="output" path="bin"/>
|
<classpathentry kind="output" path="bin"/>
|
||||||
</classpath>
|
</classpath>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<!-- definition of global property -->
|
<!-- definition of global property -->
|
||||||
<property environment="env" />
|
<property environment="env" />
|
||||||
<property name="jboss.home" value="${env.JBOSS_HOME}" />
|
<property name="jboss.home" value="/opt/wildfly" />
|
||||||
<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" />
|
||||||
@@ -27,7 +27,7 @@
|
|||||||
</fileset>
|
</fileset>
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
<target name="all" depends="clean, init, ear" />
|
<target name="all" depends="clean, init, deployear" />
|
||||||
|
|
||||||
<target name="init" description="inicialitzacions is relevant: the structure created
|
<target name="init" description="inicialitzacions is relevant: the structure created
|
||||||
copy files and directories there. xml ">
|
copy files and directories there. xml ">
|
||||||
@@ -88,12 +88,11 @@
|
|||||||
<copy file="${sourcesrc}/META-INF/application.xml" todir="${dist}/META-INF" />
|
<copy file="${sourcesrc}/META-INF/application.xml" todir="${dist}/META-INF" />
|
||||||
<jar jarfile="${dist}/MyHealth.ear" basedir="${dist}" update="yes" />
|
<jar jarfile="${dist}/MyHealth.ear" basedir="${dist}" update="yes" />
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!-- Deploy the ear. Copy the ear of the JBoss deployment directory -->
|
<target name="deployear" depends="ear" >
|
||||||
<target name="deployear" depends="ear">
|
|
||||||
<copy file="${dist}/MyHealth.ear" todir="${deploy}" />
|
<copy file="${dist}/MyHealth.ear" todir="${deploy}" />
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!-- Clean the build directory -->
|
<!-- Clean the build directory -->
|
||||||
<target name="clean">
|
<target name="clean">
|
||||||
<antcall target="init" />
|
<antcall target="init" />
|
||||||
|
|||||||
Reference in New Issue
Block a user