> -----Original Message-----
> From: Nicolas FRANK [mailto:[EMAIL PROTECTED]
>
> Could'nt we have a more explicite message when there is no
> project.xml file than the null pointer exception...
> (something like no project.xml found, the current directory
> is probably not a maven project directory.).

I've thought the same thing.  Something like what Ant does, except I like
your message suggestion better:

F:\>ant
Buildfile: build.xml does not exist!
Build failed

Around line 528 of org.apache.maven.cli.App currently looks like the natural
place to catch the NPE and print a nicer message.

Scott Stirling
Framingham, MA




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to