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"?>
|
||||
<classpath>
|
||||
<classpathentry kind="src" path="src"/>
|
||||
<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="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/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="output" path="bin"/>
|
||||
</classpath>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="src" path="src"/>
|
||||
<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="lib" path="docroot/WEB-INF/lib/primefaces-7.0.jar" />
|
||||
<classpathentry kind="lib" path="docroot/WEB-INF/lib/omnifaces-3.4.1.jar" />
|
||||
<classpathentry kind="output" path="bin"/>
|
||||
</classpath>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
<!-- definition of global property -->
|
||||
<property environment="env" />
|
||||
<property name="jboss.home" value="${env.JBOSS_HOME}" />
|
||||
<property name="jboss.home" value="/opt/wildfly" />
|
||||
<property name="source" value="." />
|
||||
<property name="sourcesrc" value="${source}/src" />
|
||||
<property name="build" value="${source}/build" />
|
||||
@@ -27,7 +27,7 @@
|
||||
</fileset>
|
||||
</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
|
||||
copy files and directories there. xml ">
|
||||
@@ -88,12 +88,11 @@
|
||||
<copy file="${sourcesrc}/META-INF/application.xml" todir="${dist}/META-INF" />
|
||||
<jar jarfile="${dist}/MyHealth.ear" basedir="${dist}" update="yes" />
|
||||
</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}" />
|
||||
</target>
|
||||
|
||||
|
||||
<!-- Clean the build directory -->
|
||||
<target name="clean">
|
||||
<antcall target="init" />
|
||||
|
||||
Reference in New Issue
Block a user