ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Hurcomb <>
Subject Line numbers in exception stack trace
Date Wed, 06 Feb 2002 17:39:59 GMT
When I build my code manually using javac and jar and run using java I get
line numbers in exception stack traces, however I get an "Unknown Source"
message when I repeat the build using ant.  I have narrowed this down to
being in the compile target command as opposed to the jar target.
I'm sure there is a very simple explanation for this so I will not go into
detail about my build.xml file.  I would be very grateful if someone could
provide an explanation as to why I may be having this problem.  Thanks in
example of a stack trace showing this problem:

     [java] openLogFile: File error
null/datastore/logs/datastore.log.020206 (No such file or directory)
null/datastore/logs/datastore.log.020206 (No such file or directory)
     [java]     at Method)
     [java]     at<init>(
     [java]     at<init>(
     [java]     at com.viewgate.validator.share.Logger.openLogFile(Unknown
     [java]     at com.viewgate.validator.datastore.Datastore.<init>(Unknown
     [java]     at com.viewgate.validator.datastore.Datastore.main(Unknown
     [java] Java Result: 1


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message