mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +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
|
||||
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.build.directory=target
|
||||
|
28
build.xml
28
build.xml
@@ -12,7 +12,7 @@
|
||||
<delete dir="${ant.build.directory}" failonerror="true" />
|
||||
</target>
|
||||
|
||||
<target name="install" depends="cleanTarget">
|
||||
<target name="install">
|
||||
<exec executable="${mvn.exec}" failonerror="true">
|
||||
<arg value="install" />
|
||||
<arg value="-DskipTests" />
|
||||
@@ -38,7 +38,7 @@
|
||||
<delete dir="${app.folder}" failonerror="true" />
|
||||
</target>
|
||||
|
||||
<target name="alfresco:amp" depends="install">
|
||||
<target name="alfresco:amp" depends="cleanTarget, install">
|
||||
<exec executable="${mvn.exec}" failonerror="true">
|
||||
<arg value="alfresco:amp" />
|
||||
</exec>
|
||||
@@ -56,28 +56,7 @@
|
||||
|
||||
<target name="buildAndDeploy" depends="alfresco:install, copyWarFileToTomcat" description=""/>
|
||||
|
||||
<target name="tomcat-start" description="">
|
||||
<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>
|
||||
|
||||
<!-- FIXME: A zip file should be created and the revision number should be added to the file name -->
|
||||
<target name="assembleLocalisationPackage" description="">
|
||||
<delete dir="${ant.build.directory}/i18n" failonerror="true" />
|
||||
<copy todir="${ant.build.directory}/i18n/${ant.project.name}/${ant.config.directory}" failonerror="true">
|
||||
@@ -103,6 +82,7 @@
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
<!-- FIXME: Jar file should be generated -->
|
||||
<target name="deployExploded" description="">
|
||||
<fail message="Exploded webapp directory '${app.war.artifactId}' does not exist.">
|
||||
<condition>
|
||||
|
Reference in New Issue
Block a user