Commit Graph

22 Commits

Author SHA1 Message Date
Frank Yan
bffd17358c Bug 782324 - Add support in JarMaker for file names that contain '@'. r=khuey 2012-08-31 06:36:12 -07:00
Mike Hommey
e482a37c2c Bug 762864 - Ship webapprt locale files in webapprt chrome. r=bsmedberg 2012-07-12 08:30:58 +02:00
Neil Rashbrook
e43aed79cb Bug 770182 Warn when preprocessing unnecessarily r=bsmedberg 2012-07-10 22:01:08 +01:00
Ehsan Akhgari
80a12e96e3 Backout changeset 3a7ece100089 (bug 770182) because of make check failures 2012-07-10 15:41:43 -04:00
Neil Rashbrook
0093dbe1f3 Bug 770182 Warn when preprocessing unnecessarily r=bsmedberg 2012-07-10 19:51:53 +01:00
Mike Hommey
ce0eaee878 Bug 747393 - Avoid race condition creating directories in JarMaker. r=ted 2012-06-14 08:14:53 +02:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Michael Wu
1c77b4723b 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
d5a80e2c41 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
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