Commit Graph

15 Commits

Author SHA1 Message Date
Michael Wu
40d7399c74 Bug 664907 - Don't link to self when dealing with files in the object directory, r=khuey
When using files in the current working directory, JarMaker.py uses '.' as the base directory, which ends up giving us links like bookmarks.json -> ./bookmarks.json . This replaces '.' with the actual working directory to give us proper symlinks.
2011-07-25 21:57:28 -07:00
Siddharth Agarwal
1f86f2fd7d Bug 634596 - On Windows, use hardlinks when --enable-chrome-format=symlink is specified. r=ted 2011-03-01 23:58:24 +05:30
Mike Hommey
4dbd0746d9 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
8c4e0d2a0e 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
584e7a8c7a 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
7fbb4d2e22 bug 505713, adding tests for JarMaker.py, better error reporting for missing files in jars, r=ted 2009-10-27 13:33:38 +01:00
Axel Hecht
34a95ce114 bug 505713, factor multiple-jar.mn handling into method on JarMaker class, r=ted 2009-08-14 13:06:15 +02:00
Axel Hecht
6f8f0ea686 bug 493837, JarMaker fails when using ../configure directly, r=ted 2009-06-15 16:16:40 +02:00
Benjamin Smedberg
a9d9ebbe4d 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
816f2d55d7 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
7b94fbbb8f Bug 457113: source files altered when building with symlinked chrome; r=pike 2008-09-28 21:42:38 +02:00
Axel Hecht
2a45d01bb4 bug 456466, fix symlinks depend builds, r=ted, mnyromyr 2008-09-25 20:22:26 +02:00
Axel Hecht
96c8dc625c bug 456361, jarmaker leaves stale lockfiles when interrupted, r=ted 2008-09-22 16:23:55 +02:00
Axel Hecht
2ec7322313 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
f9cf696990 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