Change how source map filenames get calculated. This is now controlled
by CompilationUnitBuilder.getSourceMapPath(). Filenames in source maps
are now relative to the classpath, except in the case of files created
by generators, which have filenames in a synthetic "gen/" directory.
Filenames under the gen/ directory should correspond to what the
filename would be in a -gen directory, regardless of whether the user
passes the -gen option to the compiler.

I'm not changing the filenames in the JDT for now, so filenames in
most error messages are unaffected and sometimes will be different
from the name in the source map. (I don't understand the consequences
of making that change, so it's safer to do it separately.)


git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@10873 8db76d5a-ed1c-0410-87a9-c151d255dfc7
14 files changed