Hello All,

 

How can I get the <exec … output= ..> write output to a property instead of file? if not possible, how can I remove the CRLF

from a String-Property read in with <loadfile …> ?

 

Here the facts:

 

        <exec program="svnlook.exe" resultproperty="ActRevision" output="RevisionNr.tmp" >

            <arg value="youngest" />       

            <arg value="${RepositoryDir}\${Repository}" />

        </exec>

 

I want to get the actual revision number in a property to use it later. If I do

<loadfile file="RevisionNr.tmp" property="ActRevision" />

 

ActRevision includes the actual revision number but with CRLF at the end. I need it without.

 

Regards.

 

Frank

Reply via email to