AW: txtfile with various lines

2004-12-09 Thread Jan . Materne
> in other words > Sorry that is invalid - invalid xml. Attribute values have to be quoted. Then the Ant runtime would search for a property servrestart and evaluates that to its value or - if not set - to ${servrestart}. So you´ll get a) with value=Hello World [echo] Hello World b) not set

AW: txtfile with various lines

2004-12-09 Thread Jan . Materne
> > ... > and > > > > gives me always ${servrestart} > > regardless whether txtfile contains Line 2 or not. ?! > > Gilbert > > > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 09, 200

AW: txtfile with various lines

2004-12-09 Thread Jan . Materne
> > > ... > and > > > > gives me always ${servrestart} > > regardless whether txtfile contains Line 2 or not. ?! > > Gilbert > > > > -----Original Messag

AW: txtfile with various lines

2004-12-09 Thread Jan . Materne
Basically should do the job. - load the content of the file into a property - but ignore all lines which doesnt start with "Server" And if there is no line, wont set the property. Jan > -Ursprüngliche Nachricht- >