Thanks so much. It works. You are the man :)
Michael Ludwig-6 wrote:
>
> Andy2008 schrieb am 22.06.2010 um 17:17 (-0700):
>>
>> Here's my input
>>
>> abc/long/distance
>>
>> I want to get abc back. Here's my code
>>
>> > input="${input}"
>> regexp="(.*)/*"
>>
This will resolve the problem of new line character in Ant generated echo
file, LF, CRLF, CR LF
--
View this message in context:
http://old.nabble.com/echo-%2B-embedded-newlines-tp22737962p28971300.html
Sent from the Ant - Users mailing list archive at Nabble.com.
-
Use this my friend:
This is the
first
line A
This is the second line B
This is the first line A
This is the second line B
--
View this message in context:
http://old.nabble.com/echo-%2B-embedded-newlines-tp22737962p28971248.html
Sent from the Ant - Users mailing list archive
Lewis Tsao schrieb am 23.06.2010 um 08:18 (+):
> In one of my build setups, I need to run a program first which
> produces some output. From this output I need to get multiple pieces
> of information to be used in later build steps:
>
> For example:
>
>
>
> step1prog produces lines of the
Andy2008 schrieb am 22.06.2010 um 17:17 (-0700):
>
> Here's my input
>
> abc/long/distance
>
> I want to get abc back. Here's my code
>
>input="${input}"
> regexp="(.*)/*"
> select="\0"
> casesensitive="false" />
>
> but I got back the
I would write a custom task which analyses the data and stores a bunch of
properties.
Depending on the step1prog the data-source would be a property or a file.
public class Step1ProgAnalyseTask extends Task {
private File data; // setter
private String prefix; // setter
public void ex
Hi all,
In one of my build setups, I need to run a program first which produces some
output. From this output I need to get multiple pieces of information to be
used in later build steps:
For example:
step1prog produces lines of the form
something
blah blah info1 blah blah
more blah...
di b