ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: error msg for incorrect jar/basedir value
Date Mon, 16 Jan 2006 17:08:27 GMT
--- glenn opdycke-hansen <glennoph@gmail.com> wrote:

> I did make a modification to DirectoryScanner.java.
> The additional output confirms that File.exists()
> thinks that the
> directory with an extra space exists.  The change
> that could help is
> to quote the directory name so the space is more
> promentent.  See
> below:
> 
>       [jar] go-get abs path
> abspath="C:\src\ant-jar-filespec-prob\jar-root "
>       [jar] go-test abs path absfile.exists='true'
> 
> BUILD FAILED
>
C:\src\ant-jar-filespec-prob\build-basedir-space.xml:58:
> IO error
> scanning directory
> dir='C:\src\ant-jar-filespec-prob\jar-root '
> 
> Total time: 1 second
> 
> Comments?

No problems here.  What would be great is a working
example that triggers this situation; optimally a
single buildfile that creates such a directory
structure, then exhibits the breakage.  In any event,
quoting the directory here is probably a good idea.

Thanks,
Matt

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


Mime
View raw message