You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Xavier Outhier <xo...@yahoo.fr> on 2007/12/04 14:35:09 UTC

Error list for tasks

Hi all,

I was not successful searching a resource where would be listed the possible error when running an
ant task.
For instance when running cvs task error=2 mean that cvs.exe is not in the path.

Could someone give me an hint?

Thank you,

Xavier.



      ____________________________________________________________________________________
Get easy, one-click access to your favorites. 
Make Yahoo! your homepage.
http://www.yahoo.com/r/hs 

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


Re: Error list for tasks

Posted by Xavier Outhier <xo...@yahoo.fr>.
Thanks that's a very useful answer. :)

--- Steve Loughran <st...@apache.org> wrote:

> Xavier Outhier wrote:
> > Hi all,
> > 
> > I was not successful searching a resource where would be listed the possible error when
> running an
> > ant task.
> > For instance when running cvs task error=2 mean that cvs.exe is not in the path.
> > 
> 
> There's no easy way to predict these, as they come from the OS, not Ant
> 
> You can look at the win32 error codes for windows systems
> http://help.netop.com/support/errorcodes/win32_error_codes.htm
> 
> -- 
> Steve Loughran                  http://www.1060.org/blogxter/publish/5
> Author: Ant in Action           http://antbook.org/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 



      ____________________________________________________________________________________
Get easy, one-click access to your favorites. 
Make Yahoo! your homepage.
http://www.yahoo.com/r/hs 

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


Re: Error list for tasks

Posted by Steve Loughran <st...@apache.org>.
Xavier Outhier wrote:
> Hi all,
> 
> I was not successful searching a resource where would be listed the possible error when running an
> ant task.
> For instance when running cvs task error=2 mean that cvs.exe is not in the path.
> 

There's no easy way to predict these, as they come from the OS, not Ant

You can look at the win32 error codes for windows systems
http://help.netop.com/support/errorcodes/win32_error_codes.htm

-- 
Steve Loughran                  http://www.1060.org/blogxter/publish/5
Author: Ant in Action           http://antbook.org/

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