mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
RM-1107 (Mavenization of the RM build)
* Removed the tomcat-start/stop targets git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@60043 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -8,8 +8,6 @@ app.war.packaging=war
|
|||||||
|
|
||||||
# Executable properties
|
# Executable properties
|
||||||
mvn.exec=${env.MAVEN_HOME}/bin/mvn.bat
|
mvn.exec=${env.MAVEN_HOME}/bin/mvn.bat
|
||||||
bash.exec=${env.CYGWIN_HOME}/bin/bash
|
|
||||||
catalina.exec=${app.tomcat.folder}/bin/catalina.sh
|
|
||||||
|
|
||||||
# Ant directory properties
|
# Ant directory properties
|
||||||
ant.build.directory=target
|
ant.build.directory=target
|
||||||
|
28
build.xml
28
build.xml
@@ -12,7 +12,7 @@
|
|||||||
<delete dir="${ant.build.directory}" failonerror="true" />
|
<delete dir="${ant.build.directory}" failonerror="true" />
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="install" depends="cleanTarget">
|
<target name="install">
|
||||||
<exec executable="${mvn.exec}" failonerror="true">
|
<exec executable="${mvn.exec}" failonerror="true">
|
||||||
<arg value="install" />
|
<arg value="install" />
|
||||||
<arg value="-DskipTests" />
|
<arg value="-DskipTests" />
|
||||||
@@ -38,7 +38,7 @@
|
|||||||
<delete dir="${app.folder}" failonerror="true" />
|
<delete dir="${app.folder}" failonerror="true" />
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="alfresco:amp" depends="install">
|
<target name="alfresco:amp" depends="cleanTarget, install">
|
||||||
<exec executable="${mvn.exec}" failonerror="true">
|
<exec executable="${mvn.exec}" failonerror="true">
|
||||||
<arg value="alfresco:amp" />
|
<arg value="alfresco:amp" />
|
||||||
</exec>
|
</exec>
|
||||||
@@ -56,28 +56,7 @@
|
|||||||
|
|
||||||
<target name="buildAndDeploy" depends="alfresco:install, copyWarFileToTomcat" description=""/>
|
<target name="buildAndDeploy" depends="alfresco:install, copyWarFileToTomcat" description=""/>
|
||||||
|
|
||||||
<target name="tomcat-start" description="">
|
<!-- FIXME: A zip file should be created and the revision number should be added to the file name -->
|
||||||
<exec executable="${bash.exec}" failonerror="true">
|
|
||||||
<arg value="${catalina.exec}"/>
|
|
||||||
<arg value="run"/>
|
|
||||||
</exec>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="tomcat-start-debug" description="">
|
|
||||||
<exec executable="${bash.exec}" failonerror="true">
|
|
||||||
<arg value="${catalina.exec}"/>
|
|
||||||
<arg value="jpda"/>
|
|
||||||
<arg value="run"/>
|
|
||||||
</exec>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="tomcat-stop" description="">
|
|
||||||
<exec executable="${bash.exec}" failonerror="true">
|
|
||||||
<arg value="${catalina.exec}"/>
|
|
||||||
<arg value="stop"/>
|
|
||||||
</exec>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="assembleLocalisationPackage" description="">
|
<target name="assembleLocalisationPackage" description="">
|
||||||
<delete dir="${ant.build.directory}/i18n" failonerror="true" />
|
<delete dir="${ant.build.directory}/i18n" failonerror="true" />
|
||||||
<copy todir="${ant.build.directory}/i18n/${ant.project.name}/${ant.config.directory}" failonerror="true">
|
<copy todir="${ant.build.directory}/i18n/${ant.project.name}/${ant.config.directory}" failonerror="true">
|
||||||
@@ -103,6 +82,7 @@
|
|||||||
</copy>
|
</copy>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
<!-- FIXME: Jar file should be generated -->
|
||||||
<target name="deployExploded" description="">
|
<target name="deployExploded" description="">
|
||||||
<fail message="Exploded webapp directory '${app.war.artifactId}' does not exist.">
|
<fail message="Exploded webapp directory '${app.war.artifactId}' does not exist.">
|
||||||
<condition>
|
<condition>
|
||||||
|
Reference in New Issue
Block a user