--- [EMAIL PROTECTED] wrote:
[SNIP]
> For Matt, because he loves ?:-notations :-)
> urls = (matches!=null) ? new URL[matches.length] :
> new URL[0];
What can I say? I like terseness (in code, anyway)
...
-Matt
__
Do you Yahoo!?
Yahoo! Mail -
List
> Betreff: Re: AW: Null pointer Exception..
>
> Yes, this is a bug.
> It has happened before where a directory exists but the
> user does not have read-access (or execute-access ?) on the directory.
> http://marc.theaimsgroup.com/?l=ant-user&m=109819243121238&w=2
> I
/src/main/org/apache/tools/a
nt/launch/Locator.java?rev=1.15
[2]
http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html#listFiles(java.io.
FileFilter)
-Ursprüngliche Nachricht-
Von: Akash Jain (akasjain) [mailto:[EMAIL PROTECTED]
Gesendet am: Montag, 14. Februar 2005 09:59
An: user@ant.a
Oh, sorry -
Workaround:
use AntContribs around that area in your buildfile.
Jan
> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Gesendet am: Montag, 14. Februar 2005 10:16
> An: user@ant.apache.org
> Betreff: AW: Null pointer Exception..
com/j2se/1.4.2/docs/api/java/io/File.html#listFiles(java.io.
FileFilter)
> -Ursprüngliche Nachricht-
> Von: Akash Jain (akasjain) [mailto:[EMAIL PROTECTED]
> Gesendet am: Montag, 14. Februar 2005 09:59
> An: user@ant.apache.org
> Betreff: Null pointer Exception..
>
&
hi ant gurus..
i'm having some problem in running ANT..
seems 2 b some problem with the installation..
everytime i run Ant it gives
java.lang.NullPointerException
at
org.apache.tools.ant.launch.Locator.getLocationURLs(Locator.java:262)
at
org.apache.tools.ant.launch.Locator.get