ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Rich" <billr...@attglobal.net>
Subject RE: available file not available
Date Wed, 28 Jan 2004 16:10:11 GMT
You probably need to apply the Trim filter before trying to use the incoming string.  You
will find it in the manual under FilterChains and FilterReaders->TokenFilter->Trim.

Bill

-----Original Message-----
From: Stephen Nitz [mailto:greenwindows101@yahoo.de]
Sent: Wednesday, January 28, 2004 4:58 AM
To: Ant Users List
Subject: Re: available file not available


> The strange behaviour is the following:
> "available" (in the checkRequiredFile target) works
> when passing the path of the file as a param
> "available" fails when passing a variable containing
> the path of the file as a param

Found the problem:
trailing spaces of the variable definition in the
build.properties file make the difference!

This sort of errors should no longer happen in the
21st century!

________________________________________________________________________
BT Yahoo! Broadband - Free modem offer, sign up online today and save £80
http://btyahoo.yahoo.co.uk

---------------------------------------------------------------------
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


Mime
View raw message