error code reference?

I'm running a Java app from ant on linux. When I run the app from the

commandline, it seems to run OK, but from ant I'm getting

> BUILD FAILED

> /foo/bar/build.xml:140: exec returned: 13

and I have no idea what errorcode=13 means. Is there a list of

commandline error codes somewhere that I can consult?

Apologies if this is a FAQ, but I spent quite a while Googling to no

avail. Also please lemme know if there is a more appropriate forum for

this post.

[517 byte] By [tlrochea] at [2007-11-27 1:15:14]
# 1

> BUILD FAILED

> /foo/bar/build.xml:140: exec returned: 13

>

> and I have no idea what errorcode=13 means. Is there

> a list of commandline error codes somewhere that I can consult?

No, it is command-specific.

For example, the java compiler "javac" might return error 13 for some reason.

But the java packager "jar" might return error 13 for some other reason.

Every program is free to return error codes of its choosing.

So, your only chance is to look at that line (line 140), and see what program it is.

Then you can try to find out why that program failed, or what "errorcode 13" means for that program.

KathyMcDonnella at 2007-7-11 23:50:34 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...