Skip to content

Commit

Permalink
LPS-17119 - Add uptodate check
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.liferay.com/repos/public/portal/trunk@80352 05bdf26c-840f-0410-9ced-eb539d925f36
  • Loading branch information
jrhoun committed May 10, 2011
1 parent 3ed7305 commit 7fb20b6
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions build-test-tomcat.xml
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,20 @@ web.server.display.node=true</echo>
</target>

<target name="run-selenium-versioned-tomcat">
<copy
file="${hudson.portal.dependencies.dir}/${lp.version}/${file.name}"
todir="${app.server.parent.dir}"
/>
<if>
<not>
<uptodate
srcfile="${hudson.portal.dependencies.dir}/${lp.version}/${file.name}"
targetfile="${app.server.parent.dir}/${file.name}"
/>
</not>
<then>
<copy
file="${hudson.portal.dependencies.dir}/${lp.version}/${file.name}"
todir="${app.server.parent.dir}"
/>
</then>
</if>

<unzip src="${app.server.parent.dir}/${file.name}" dest="${app.server.parent.dir}" />

Expand Down

0 comments on commit 7fb20b6

Please sign in to comment.