Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>You said that you have a claster. We're in the same position and we use ZF and Doctrine. This is how we solved the problem:</p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;project name="yourprojectname" basedir="."&gt; &lt;target name="deploy" depends="apply-deltas,update-app01,update-app02"&gt; &lt;/target&gt; &lt;target name="update-app01"&gt; &lt;sshexec host="app01" username="yourusername" password="yourpassword" trust="true" command="cd path/to/root/directory &amp;amp;&amp;amp; svn update &amp;amp;&amp;amp; php cmd/clear_cache.php "/&gt; &lt;/target&gt; &lt;target name="update-app02"&gt; &lt;sshexec host="app02" username="yourusername" password="yourpassword" trust="true" command="cd path/to/root/directory &amp;amp;&amp;amp; svn update &amp;amp;&amp;amp; php cmd/clear_cache.php "/&gt; &lt;/target&gt; &lt;target name="apply-deltas" depends="liquibase-prepare"&gt; &lt;updateDatabase changeLogFile="${db.changelog.file}" driver="${database.driver}" url="${database.url}" username="${database.username}" password="${database.password}" promptOnNonLocalDatabase="${prompt.user.if.not.local.database}" dropFirst="false" classpathref="classpath" &gt; &lt;changeLogProperty name="table.name" value="ant_param_table"/&gt; &lt;/updateDatabase&gt; &lt;/target&gt; &lt;target name="liquibase-prepare"&gt; &lt;path id="classpath"&gt; &lt;fileset dir="${basedir}/libNoPackage"&gt; &lt;include name="**/*.jar" /&gt; &lt;/fileset&gt; &lt;/path&gt; &lt;taskdef resource="liquibasetasks.properties"&gt; &lt;classpath refid="classpath"/&gt; &lt;/taskdef&gt; &lt;/target&gt; &lt;/project&gt; </code></pre> <p>This is far from ideal but it works fine for us. Hope that helps.</p> <p><strong>Links:</strong></p> <p><a href="http://ant.apache.org" rel="nofollow noreferrer">Apache Ant</a></p> <p><a href="http://www.liquibase.org" rel="nofollow noreferrer">LiquiBase</a></p> <p>If you have some questions please let me know so I can update the answer.t</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload