Re: Extending jar.mn to support cross-module overrides

2012-10-03 Thread Mike Hommey
On Wed, Oct 03, 2012 at 03:52:38PM +0200, Axel Hecht wrote: > On 03.10.12 15:41, Mike Hommey wrote: > >On Wed, Oct 03, 2012 at 02:54:19PM +0200, Axel Hecht wrote: > >>On 03.10.12 14:33, Mike Hommey wrote: > >>>On Wed, Oct 03, 2012 at 02:01:02PM +0200, Axel Hecht wrote: > I've looked a bit deepe

Re: Extending jar.mn to support cross-module overrides

2012-10-03 Thread Axel Hecht
On 03.10.12 15:41, Mike Hommey wrote: On Wed, Oct 03, 2012 at 02:54:19PM +0200, Axel Hecht wrote: On 03.10.12 14:33, Mike Hommey wrote: On Wed, Oct 03, 2012 at 02:01:02PM +0200, Axel Hecht wrote: I've looked a bit deeper into the code, and there's unused functionality that I'd like to rip out

Re: Extending jar.mn to support cross-module overrides

2012-10-03 Thread Mike Hommey
On Wed, Oct 03, 2012 at 02:54:19PM +0200, Axel Hecht wrote: > On 03.10.12 14:33, Mike Hommey wrote: > >On Wed, Oct 03, 2012 at 02:01:02PM +0200, Axel Hecht wrote: > >>I've looked a bit deeper into the code, and there's unused > >>functionality that I'd like to rip out of JarMaker.py in favor of > >

Re: Extending jar.mn to support cross-module overrides

2012-10-03 Thread Axel Hecht
On 03.10.12 14:33, Mike Hommey wrote: On Wed, Oct 03, 2012 at 02:01:02PM +0200, Axel Hecht wrote: I've looked a bit deeper into the code, and there's unused functionality that I'd like to rip out of JarMaker.py in favor of this: Support for multiple jars in one go is one thing I'd love to axe.

Re: Extending jar.mn to support cross-module overrides

2012-10-03 Thread Mike Hommey
On Wed, Oct 03, 2012 at 02:01:02PM +0200, Axel Hecht wrote: > I've looked a bit deeper into the code, and there's unused > functionality that I'd like to rip out of JarMaker.py in favor of > this: > > Support for multiple jars in one go is one thing I'd love to axe. > I've probably added that thin

Re: Extending jar.mn to support cross-module overrides

2012-10-03 Thread Axel Hecht
I've looked a bit deeper into the code, and there's unused functionality that I'd like to rip out of JarMaker.py in favor of this: Support for multiple jars in one go is one thing I'd love to axe. I've probably added that thinking we could one day just fire one jarmaker for all of a language p

Extending jar.mn to support cross-module overrides

2012-10-01 Thread Axel Hecht
Hi, for both android and b2g, we end up only needing a handful of localized files from toolkit. I propose to extend JarMaker.py and jar.mn to support something like a fake relativesrcdir, say @relativesrcdir toolkit/locales and then the following lines would pick up files from toolkit/loca