[Cosmo-dev] Line numbers in exception
Vinubalaji Gopal
vinu at osafoundation.org
Mon Jul 31 22:46:24 PDT 2006
On Thu, 2006-07-27 at 13:48 -0700, Vinubalaji Gopal wrote:
> On Thu, 2006-07-27 at 13:41 -0700, Brian Moseley wrote:
> > i don't know what causes this. one theory is if something uses
> > reflection or introspection (i can never remember which is which) to
> > execute cosmo code. but i'm not really sure. most of the time i
> > actually do get line numbers, so i haven't looked into it.
>
> hm I have never the line numbers before. Will note it when I get an
> exception next time, probably its my development environment issue.
Seems like its a configurable option in maven.
Changing the following option in project.properties will cause maven to
compile with debug options and hence the line numbers will be visible in
the log files.
maven.compile.debug=on
Thanks to Bobby for pointing this out :).
You might need to clean the build with maven clean to ensure that it
works.
More information about the cosmo-dev
mailing list