ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <Gilbert.Reb...@huk-coburg.de>
Subject problem generating file link with blanks
Date Tue, 14 Dec 2004 14:12:16 GMT

Hi,

i'm generating a file:// link out of a filenameproperty.

Works fine, but if filename contains a blank it fails :

file://\\lan.xxx.xx/bla/prc\test\04_12\ Base Application_r_1_5_0_rc43.doc

The file is moved to that location before.

So, i have to trim the blanks out of the file name, rename it, then move
and set the link.

How to trim the blanks out of a filename and rename it with result ?

Gilbert

 

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


Mime
View raw message