Commit Graph

13 Commits

Author SHA1 Message Date
Mike Hommey
06f3e60da9 Bug 595459 - Use errno.ENOENT instead of "2" in JarMaker.py. r=ted,a=bsmedberg 2010-11-07 09:20:50 +01:00
Benjamin Smedberg
1815abc007 Bug 579718 part B - packaging and build changes to ship a single chrome.manifest from which other manifests are read. r=khuey See long-form commit details below:
In a nonpackaged build, we have the following manifests:
* chrome.manifest is just a series of manifest directives for all the other manifests, generated in rules.mk using buildlist.py
** components/interfaces.manifest is also generated in rules.mk using buildlist.py
** components/components.manifest contains only the *binary* components. JS components each have their own manifest which is installed to dist/bin/components
** Each chrome/jarfile.jar has a matching chrome/jarfile.manifest, and JarMaker.py inserts this filename into the root chrome.manifest by importing buildlist.py

In a packaged build, we end up with the following manifests:

* chrome.manifest lists the four manifests below
** components/interfaces.manifest
** components/components.manifest
** chrome/nonlocalized.manifest
** chrome/localized.manifest

In the future it should be possible to integrate the three non-localized manifests directly into the root chrome.manifest for increased performance, but this is slightly tricky because it involves rewriting some manifest instructions which may include relative JAR URIs. That is left for a future followup.

When we repackage a l10n build, we only have to replace chrome/localized.manifest.
2010-07-22 10:38:59 -04:00
Gavin Sharp
b6677103ca Bug 524659: allow JarMaker to process jar.mn files in objdirs that aren't within topsrcdir, r=Pike 2009-10-27 07:33:58 -04:00
Axel Hecht
db256ee8a5 bug 505713, adding tests for JarMaker.py, better error reporting for missing files in jars, r=ted
--HG--
extra : rebase_source : f3d30aab31952398fed9feac4f42491f95ca5043
2009-10-27 13:33:38 +01:00
Axel Hecht
c7057f1b11 bug 505713, factor multiple-jar.mn handling into method on JarMaker class, r=ted 2009-08-14 13:06:15 +02:00
Axel Hecht
5c3a83d368 bug 493837, JarMaker fails when using ../configure directly, r=ted
--HG--
extra : rebase_source : cedc1321589efd50f6635c3a7cf9a420805ef6a4
2009-06-15 16:16:40 +02:00
Benjamin Smedberg
2e3ce66d42 Bug 485390, try #2 - when a .jar file doesn't exist yet, there's a race creating it, r=ted 2009-03-31 12:47:38 -04:00
Axel Hecht
2fbe46e94a bug 458014, refactor browser/locales/Makefile.in, support both manifests in JarMaker.py, r=ted 2008-10-20 21:57:47 +02:00
Karsten Düsterloh
41f79fb8bd Bug 457113: source files altered when building with symlinked chrome; r=pike 2008-09-28 21:42:38 +02:00
Axel Hecht
711ed6e652 bug 456466, fix symlinks depend builds, r=ted, mnyromyr 2008-09-25 20:22:26 +02:00
Axel Hecht
738ef6b032 bug 456361, jarmaker leaves stale lockfiles when interrupted, r=ted 2008-09-22 16:23:55 +02:00
Axel Hecht
a010a5b6a7 bug 439050, follow-up patch to close in MozZipFile, make python 2.3 happy, r=ted, djc 2008-09-22 11:37:07 +02:00
Axel Hecht
f467cdbc82 bug 439050, JarMaker.py is a rewrite of make-jars.pl to only launch a single process per jar.mn, r=ted 2008-09-19 18:19:52 +02:00