Commit Graph

16 Commits

Author SHA1 Message Date
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Michael Wu
53aedf367d 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
0ed03eefd0 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
4ac004c364 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
b03ee925ac 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
6cdb481cc2 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
3bfa6c669d 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
1575b22d42 bug 505713, factor multiple-jar.mn handling into method on JarMaker class, r=ted 2009-08-14 13:06:15 +02:00
Axel Hecht
7557ec3dc7 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
faa05236ab 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
0de77920ec 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
4dfc73d1b9 Bug 457113: source files altered when building with symlinked chrome; r=pike 2008-09-28 21:42:38 +02:00
Axel Hecht
db906a912a bug 456466, fix symlinks depend builds, r=ted, mnyromyr 2008-09-25 20:22:26 +02:00
Axel Hecht
ef3333146b bug 456361, jarmaker leaves stale lockfiles when interrupted, r=ted 2008-09-22 16:23:55 +02:00
Axel Hecht
3598f9878f 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
40e310125e 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