rolback of rollback
This commit is contained in:
parent
0d4b34b239
commit
76206ffa08
1 changed files with 5 additions and 7 deletions
12
build.xml
12
build.xml
|
|
@ -17,7 +17,6 @@
|
|||
<property name="tomcat.user" value="" />
|
||||
<property name="tomcat.pass" value="" />
|
||||
<property name="catalina.home" value="/usr/share/tomcat7"/>
|
||||
<property name="deployPath" value="/var/lib/tomcat7/webapps/Zallery.war" />
|
||||
|
||||
<!--define standard arguments for javac-->
|
||||
<presetdef name="javac">
|
||||
|
|
@ -70,19 +69,18 @@
|
|||
</target>
|
||||
|
||||
|
||||
<!--<import file="${catalina.home}/bin/catalina-tasks.xml" optional="true"/>-->
|
||||
<import file="${catalina.home}/bin/catalina-tasks.xml" optional="true"/>
|
||||
<target name="deploy" depends="package">
|
||||
<delete file="${deployPath}" quiet="true" />
|
||||
<copy file="${releaseDir}/Zallery.war"
|
||||
toFile="${deployPath}" />
|
||||
<!--
|
||||
<deploy url="${tomcat.url}"
|
||||
username="${tomcat.user}"
|
||||
password="${tomcat.pass}"
|
||||
path="/Zallery"
|
||||
update="true"
|
||||
war="file:${releaseDir}/Zallery.war" />
|
||||
-->
|
||||
|
||||
<!-- Workaround as tomcat deletes the webapp context file from conf dir -->
|
||||
<copy file="/var/lib/tomcat7/conf/Catalina/localhost/Zallery.xml_orig"
|
||||
toFile="/var/lib/tomcat7/conf/Catalina/localhost/Zallery.xml" />
|
||||
</target>
|
||||
|
||||
</project>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue