Hi,
I have a problem. I want to read the content of a file. If a special string
is in the file, then I want to go further. If not I want to write the string
in the file.
Does anyone have an idea how I should realize this ?
I begin with
<goal name="filetest">
<util:loadText file="test.txt" var="content"></util:loadText>
<ant:if test="${content.contains('special string;')}">
<echo>gut</echo>
</ant:if>
</goal>
please help me
--
View this message in context:
http://www.nabble.com/Problem-with-File-Input-Output-with-Jelly%2CAnt%2CMaven1-tf3802802s177.html#a10760207
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]