java - Check if SVN checkout with SVNANT was successful or failed -


i not able use similar resultproperty="checkout.res" while checkout svnant, can used in "exec".

below snippet of ant build file.

<target name="svncheckout">   <svn username="${svn.username}" password="${svn.password}" failonerror="true" resultproperty="checkout.res" >     <checkout url="${svn.base.url}/myproject" revision="head" destpath="../../../../stubswds" />   </svn> </target> 

getting error below :

buildfile: /home/workspace/checkout/src/main/resources/buildandcheckout.xml svncheckout:  build failed /home/workspace/checkout/src/main/resources/buildandcheckout.xml:113: svn doesn't support "resultproperty" attribute  total time: 1 second 

you can use status task in svnant assign property name appropriate type. in case, going on scant information, i'd imagine line might be:

<status path="foo" textstatusproperty="checkout.res"/>

from page, i'd check value of incomplete if svnant call didn't finish appropriately.

i hope helps , ask accept , vote if helpful.


Comments

Popular posts from this blog

javascript - oscilloscope of speaker input stops rendering after a few seconds -

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -