[gwt-contrib] Re: ImageBundle pruning

2009-03-19 Thread BobV
The original idea was to have some kind of "ReachabilityOracle" that could tell a Linker if some Java method were still contained in the compiled JS output. The Generator would create a task-list of resources to add to the compiled output, and it would be the Linker's responsibility to add that r

[gwt-contrib] Re: ImageBundle pruning

2009-03-19 Thread Bruce Johnson
A great idea, and it's something Bob Vawter has been pushing for for ages now. We do need to add some new architecture to make it possible. It might be possible to hack it in by doing weird with generators and linkers working in concert, but realistically, the right way will take a good bit of extr