ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Schwaebli <hans_schwae...@yahoo.com>
Subject Re: AW: <echo> doesn't work for ASCII art
Date Wed, 09 Aug 2006 11:56:24 GMT
Doesn't work to solve the problem.
  

Jan.Materne@rzf.fin-nrw.de wrote:
  ... or when using external text files (not property-file) ...








Jan


>-----Ursprüngliche Nachricht-----
>Von: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de] 
>Gesendet: Mittwoch, 9. August 2006 12:17
>An: user@ant.apache.org
>Betreff: AW: doesn't work for ASCII art
>
>---8-<-------8-<-------8-<-------8-<-------8-<-------8-<-------
>8-<-------8-<----
>

> 
> line1
>
>
> line4-indented
> line5
> 
>

>---8-<-------8-<-------8-<-------8-<-------8-<-------8-<-------
>8-<-------8-<----
>
>C:\TEMP>ant -f build-asciiart.xml
>Buildfile: build-asciiart.xml
> [echo]
> [echo] line1
> [echo]
> [echo]
> [echo] line4-indented
> [echo] line5
> [echo]
>
>BUILD SUCCESSFUL
>Total time: 0 seconds
>
>
>What's wrong?
>
>Jan
>
>
>
>>-----Ursprüngliche Nachricht-----
>>Von: James Abley [mailto:james.abley@volantis.com]
>>Gesendet: Mittwoch, 9. August 2006 12:04
>>An: Ant Users List
>>Betreff: Re: doesn't work for ASCII art
>>
>>CDATA?
>>
>>Hans Schwaebli wrote:
>>> Doesn't work. Same effect.
>>> 
>>> Lets say you have three spaces in a row. They are all trimmed.
>>> 
>>> 
>>> "Rebhan, Gilbert" wrote: 
>>> 
>>> Yup
>>> 
>>> there is a task =
>>> 
>>> first load the file as a property :
>>> 
>>> 
>>> 
>>> 
>>> ... and later echo the property
>>> 
>>> 
>>> 
>>> ${bla}
>>> 
>>> 
>>> 
>>> btw after reading your first mail a second time =
>>> 
>>> i first thought you had probs with linefeeds, but you wrote
>>> 
>>> "multiple spaces are trimmed"
>>> 
>>> why are spaces trimmed when using ???
>>> 
>>> 
>>> Regards, Gilbert
>>> 
>>> 
>>> 
>>> -----Original Message-----
>>> From: Hans Schwaebli [mailto:hans_schwaebli@yahoo.com]
>>> Sent: Wednesday, August 09, 2006 10:44 AM
>>> To: Ant Users List
>>> Subject: RE: doesn't work for ASCII art
>>> 
>>> Or is there a task to print the contents of a text file (not
>>trimming
>>> spaces)?
>>> 
>>> 
>>> "Rebhan, Gilbert" wrote:
>>> 
>>> hm, maybe you could use a multilineproperty
>>> 
>>> the format has to be written like that =
>>> 
>>> myasciiart=\n line0 \
>>> \n line1 \
>>> \n line2 \
>>> \n line3 \
>>> \n line4 \
>>> \n line5 \
>>> \n line6 \
>>> 
>>> you have to wrap every line of your ascii art between \n and \
>>> 
>>> and then ${myasciiart}
>>> 
>>> 
>>> Regards, Gilbert
>>> 
>>> 
>>> -----Original Message-----
>>> From: Hans Schwaebli [mailto:hans_schwaebli@yahoo.com]
>>> Sent: Wednesday, August 09, 2006 9:47 AM
>>> To: user@ant.apache.org
>>> Subject: doesn't work for ASCII art
>>> 
>>> I want to echo ASCII art.
>>> 
>>> But since multiple spaces are trimmed, it does not work.
>>> 
>>> How can I do it?
>>> 
>>> 
>>> ---------------------------------
>>> Yahoo! Music Unlimited - Access over 1 million songs.Try it free. 
>>> 
>>> 
>---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For
>>additional
>>> commands, e-mail: user-help@ant.apache.org
>>> 
>>> 
>>> 
>>> 
>>> ---------------------------------
>>> Do you Yahoo!?
>>> Get on board. You're invited to try the new Yahoo! Mail Beta.
>>> 
>>> 
>---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For
>>additional
>>> commands, e-mail: user-help@ant.apache.org
>>> 
>>> 
>>> 
>>> __________________________________________________
>>> Do You Yahoo!?
>>> Tired of spam? Yahoo! Mail has the best spam protection around 
>>> http://mail.yahoo.com
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For 
>additional 
>>commands, e-mail: user-help@ant.apache.org
>>
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For 
>additional commands, e-mail: user-help@ant.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org



 		
---------------------------------
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great rates starting at 1¢/min.
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message