Actualización del build de ant para que contemple el despliegue del eat

This commit is contained in:
Roberto Orden Erena
2019-12-14 17:35:26 +01:00
parent 2b1ab687ae
commit ad8cd521c6
2 changed files with 14 additions and 15 deletions

View File

@@ -3,7 +3,7 @@
<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>

View File

@@ -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 ">
@@ -89,7 +89,6 @@
<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>