Commit Graph

25 Commits

Author SHA1 Message Date
Axel Hecht
4b9b43fd5b bug 797745, add support for relativesrcdir overrides, r=ted
relativesrcdir is used for l10n packaging primarily. Being able to
override this in jar.mn allows to package individual files from toolkit
for an app.

--HG--
extra : rebase_source : 1b5b9028751cfe01a3810cea81a52b4c20919b51
2012-11-01 15:51:48 +01:00
Axel Hecht
029c5c9d55 bug 797745, use l10n-base and relativesrcdir instead of config.mk for l10n-merge, r=ted
--HG--
extra : rebase_source : 0d280e5cfabe7efdbe112309da6ef87d3848c441
2012-11-01 13:25:53 +01:00
Axel Hecht
9dda636bd2 Bug 797745 - Multiple jar manifests in one run is not used, remove that. Also remove old perl options and un-used options of the perl version. r=ted 2012-10-13 04:37:15 -04:00
Frank Yan
abf16a4365 Bug 782324 - Add support in JarMaker for file names that contain '@'. r=khuey 2012-08-31 06:36:12 -07:00
Mike Hommey
7c181001da Bug 762864 - Ship webapprt locale files in webapprt chrome. r=bsmedberg 2012-07-12 08:30:58 +02:00
Neil Rashbrook
be77a8234e Bug 770182 Warn when preprocessing unnecessarily r=bsmedberg 2012-07-10 22:01:08 +01:00
Ehsan Akhgari
85c97b4e67 Backout changeset 3a7ece100089 (bug 770182) because of make check failures 2012-07-10 15:41:43 -04:00
Neil Rashbrook
20b73453ed Bug 770182 Warn when preprocessing unnecessarily r=bsmedberg 2012-07-10 19:51:53 +01:00
Mike Hommey
614a99f728 Bug 747393 - Avoid race condition creating directories in JarMaker. r=ted 2012-06-14 08:14:53 +02:00
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