Re: propertyregex question

2010-06-23 Thread Andy2008
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="(.*)/*" >>

Re: echo + embedded newlines

2010-06-23 Thread Dadu The Dude
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. -

Re: echo + embedded newlines

2010-06-23 Thread Dadu The Dude
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

Re: Setting multiple outputproperties

2010-06-23 Thread Michael Ludwig
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

Re: propertyregex question

2010-06-23 Thread Michael Ludwig
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

AW: Setting multiple outputproperties

2010-06-23 Thread Jan.Materne
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

Setting multiple outputproperties

2010-06-23 Thread Lewis Tsao
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