50 Commits

Author SHA1 Message Date
colin%theblakes.com
8b09137c55 OpenVMS build changes. b=180290. r=cls
git-svn-id: svn://10.0.0.236/trunk@135144 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-12 00:08:59 +00:00
asasaki%netscape.com
ee9eece3a5 bugscape 17934, which has code for unhardcoding versions in both trees
(bugzilla reference 169074).  r=cls, no sr= needed for build changes.


git-svn-id: svn://10.0.0.236/trunk@133427 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-08 23:04:01 +00:00
bryner%netscape.com
a47207e2d8 Fix invoking the preprocessor when the file path is of the form C:/dir/file and cygwin perl is being used (bug 174656). Only affects Phoenix builds. r=cls, a=asa.
git-svn-id: svn://10.0.0.236/trunk@132219 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-18 06:23:46 +00:00
bryner%netscape.com
6e4534190e fix reporting of errors from preprocessor.pl. only affects phoenix builds.
git-svn-id: svn://10.0.0.236/trunk@132008 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-15 03:55:05 +00:00
bryner%netscape.com
7192c56727 Pass the file to preprocess on the command line instead of via stdin, so that includes work. Only affects phoenix builds. r=hixie, sr=blake.
git-svn-id: svn://10.0.0.236/trunk@131927 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-13 22:33:53 +00:00
bryner%netscape.com
810912fc95 Fix running the preprocessor from cmd shells; make sure the preprocessed files end up in the jar. Only affects Phoenix builds.
git-svn-id: svn://10.0.0.236/trunk@131796 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-11 08:54:00 +00:00
bryner%netscape.com
c365cdbe32 Adding a preprocessor to be used for XUL files (bug 170737). This only affects phoenix builds. r=cls, a=asa
git-svn-id: svn://10.0.0.236/trunk@131662 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-10 03:11:27 +00:00
loadrunner%betak.net
1503bb2f3f b144551 inconsistent en-mac/en-unix in different platform langenus.xpi files, r=cls, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@131404 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 06:17:19 +00:00
seawood%netscape.com
77e5bb115a Fixing win32 gmake builds lack of debugging information problem by working around a combination MSVC & cygwin make deficiencies:
* We must use the full path to the source file when calling MSVC so that debugging information shows up in the object files.
* Because of cygwin's use of /cygdrive when using full paths, we must use a cygwin-wrapper script in some cases to allow native win32 programs to use a fully qualified cygwin path.
* We have to call configure using the full path so that $(srcdir) contains the
full path in the Makefiles. The rules have been changed for win32 so that it
always use $(srcdir)/$*.{c,cpp} as the sourcefile name even when the file is in
the cwd.  This works around both the /cygdrive issue and the msvc's path info
optimization.
* We still use the wrapper when calling rc.exe & nsinstall.  nsinstall
frequently takes multiple args and is called all over the tree so changing each
calling site is going to be expensive.	(I'll have to check  the logs again but
I think the rc wrapping can go.)
* nspr & ldap still use the wrappers for all native win32 progs.  Neither nspr
nor ldap uses the acoutput-fast.pl script to speed up the substitution of
@srcdir@ into their Makefiles so, makefile substitution will break if we use
dos-paths.
* In the handful of directories where we copy srcfiles from another directory
in lieu of using VPATHs, we have to now copy those files to $(srcdir) so that
the default rules can find them.
Bug #141834 r=leaf,wtc,dmose,mcs


git-svn-id: svn://10.0.0.236/trunk@123439 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-17 17:07:17 +00:00
leaf%mozilla.org
eb72845ed7 destination directory should be allowed to have "+" characters, fixes part
of bug 56601, r=cls


git-svn-id: svn://10.0.0.236/trunk@119717 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 18:08:47 +00:00
seawood%netscape.com
6404d6e9ce Since linux lets you turn off atime updating in some filesystems, check to see if stat()->atime returns an invalid value and use mtime instead.
Bug #136123 r=bryner


git-svn-id: svn://10.0.0.236/trunk@118833 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 06:01:39 +00:00
alecf%netscape.com
7a81d595dd fix for bug 132946
r=cls, r=pinkerton, a=asa
fix up packaging scripts so they can run from any directory
move from perl's "use" which is compile-time to require/import which are run-time, so that we can use the FindBin package.
also fix a typo which allows mozLock.pm to recognize windows paths


git-svn-id: svn://10.0.0.236/trunk@117838 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-01 04:43:40 +00:00
seawood%netscape.com
8a0c1a0b23 Autoregister chrome contents.rdf entries (like we do on the Mac) except when NO_JAR_AUTO_REG is set in the makefiles. Add add-chrome.pl code to make-jars.pl.
Bug #129456 r=bryner a=asa


git-svn-id: svn://10.0.0.236/trunk@116524 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-14 05:03:04 +00:00
cls%seawood.org
ed03483055 Use homegrown mozLock package instead of flock() as some platforms and/or filesystems do not implement flock (correctly)).
git-svn-id: svn://10.0.0.236/trunk@94880 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-14 11:13:51 +00:00
cls%seawood.org
4d5fc93e6a Add a space to make verbose output less confusing
git-svn-id: svn://10.0.0.236/trunk@90342 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 13:44:41 +00:00
cls%seawood.org
491faaa272 Only build chrome jar files by default. Use either --enable-chrome-format (autoconf) or MOZ_CHROME_FILE_FORMAT (win32) to override.
Bug #72390 r=jag


git-svn-id: svn://10.0.0.236/trunk@90339 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 11:07:15 +00:00
cls%seawood.org
14e686a942 Add -l (nolockfiles) option for bassackwards OS's without flock().
git-svn-id: svn://10.0.0.236/trunk@85263 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 07:36:25 +00:00
cls%seawood.org
a03d01f103 Add locking to prevent race conditions when building .jars.
Bug #55174 r=axel@pike.org


git-svn-id: svn://10.0.0.236/trunk@85254 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 04:20:55 +00:00
cls%seawood.org
b273015e82 Sigh. Backing out parallel build fixes until we can figure out why the windows tinderbox breaks when my home build didn't.
git-svn-id: svn://10.0.0.236/trunk@83706 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 03:50:39 +00:00
cls%seawood.org
5676b96cac Add locking so that .jar files aren't corrupted during parallel builds.
Bug #55174 r=axel@pike.org


git-svn-id: svn://10.0.0.236/trunk@83703 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 02:35:53 +00:00
cls%seawood.org
0ff119d973 Make build ids work on unix again. Bug #53559 r=jag a=jar
git-svn-id: svn://10.0.0.236/trunk@79987 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 00:38:38 +00:00
cls%seawood.org
bf6bf4c74f Make sure we stay within the posix cmdline length limit (4096) when creating jars. Fix for aix & irix. Bug #53881 r=daa@distributed.net
git-svn-id: svn://10.0.0.236/trunk@79943 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-25 00:36:12 +00:00
warren%netscape.com
e227340ba1 Fix for throbber blocker -- mixed up override and non-override case in make-jars.pl. Also fix for os/2 problem -- can't call utime on open file. Also removed extra CRs from die cmds. r=ssu,mkaply@us.ibm.com,fosterd@hartwick.edu
git-svn-id: svn://10.0.0.236/trunk@79788 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 00:31:58 +00:00
warren%netscape.com
44e0492e93 Added unlink before copy for case where commercial tree has a symlink.
git-svn-id: svn://10.0.0.236/trunk@79763 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 17:23:29 +00:00
warren%netscape.com
22384dd887 Made make-jars.pl not make intermediate copy. Fixed problem calling zip multiple times.
git-svn-id: svn://10.0.0.236/trunk@79743 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 07:14:35 +00:00
cls%seawood.org
d87759af59 make MOZ_DISABLE_JAR_PACKAGING actually disable the building of jars. ports tinderboxes and other develoers were not ready for the extra build requirements. r=#mozilla
git-svn-id: svn://10.0.0.236/trunk@79725 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 06:22:06 +00:00
cls%seawood.org
9dc307ae32 Moving Cleanup() back into the JarIt() function until a proper fix for the bustage is found.
git-svn-id: svn://10.0.0.236/trunk@79713 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 05:05:26 +00:00
cls%seawood.org
7aeac0cad3 Replace custom recursive mkdir with perl5 standard File::Path::mkpath().
git-svn-id: svn://10.0.0.236/trunk@79708 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 04:29:59 +00:00
warren%netscape.com
a7c34311e1 Fixed 'zip warning: name not matched' problem
git-svn-id: svn://10.0.0.236/trunk@79701 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 03:51:35 +00:00
warren%netscape.com
dc1f3b667b Merged in cls' changes for objDir builds.
git-svn-id: svn://10.0.0.236/trunk@79659 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 22:45:45 +00:00
warren%netscape.com
cdc56bbf4c Landing jar packaging from jar_restructuring_branch. r=hyatt,dprice,sfraser,dveditz,vishy,sgehani
git-svn-id: svn://10.0.0.236/trunk@79641 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 19:35:24 +00:00
warren%netscape.com
9e20f00664 Added comments.
git-svn-id: svn://10.0.0.236/trunk@79102 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 08:32:50 +00:00
vishy%netscape.com
3f01fd1235 Jar packaging fixup - changes by warren. Looked at by dveditz and ssu.
r=vishy. verified this solution works for mozilla, commercial and shrimp.
dont have bug number handy but this should be world++. basically from
now on, jar.mn rules will both create the jar and publish the flat files
to dist. the flat files are needed so that installers can compose the
files into a new naming system or delete some or whatever.


git-svn-id: svn://10.0.0.236/trunk@79056 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 04:45:15 +00:00
warren%netscape.com
fb765afaa7 Fixed to copy files as well as jar them.
git-svn-id: svn://10.0.0.236/trunk@78847 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 05:10:48 +00:00
warren%netscape.com
c137fdb1ec Made make-jars.pl copy files to dist as well as zip them (with -c option).
git-svn-id: svn://10.0.0.236/trunk@78794 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 23:08:41 +00:00
anthonyd%netscape.com
01efef89b2 make certain the destination path for the jar file exists. R=warren
dprice using anthonyd's account
if there are problems email dprice@netscape.com


git-svn-id: svn://10.0.0.236/trunk@78592 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 05:46:29 +00:00
mscott%netscape.com
6029dce683 remove the -u flag to the call to zip. This causes various problems with the jar stuff.
(I just made this change to commercial earlier)


git-svn-id: svn://10.0.0.236/trunk@77431 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 00:45:26 +00:00
warren%netscape.com
311e08db86 Fixed file copy loop to work for binary files.
git-svn-id: svn://10.0.0.236/trunk@77171 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 04:38:43 +00:00
warren%netscape.com
88b71c97d5 Fixed to clean up files and directories properly. Fixed mod times of copied files so they don't get re-jarred.
git-svn-id: svn://10.0.0.236/trunk@76094 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 05:16:15 +00:00
dprice%netscape.com
9e1b32e935 make-jars.pl now properly cleans up any extra files and folders that it creates
git-svn-id: svn://10.0.0.236/trunk@75642 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 06:08:02 +00:00
dprice%netscape.com
5c6168c2e7 adding recursive delete function
git-svn-id: svn://10.0.0.236/trunk@75593 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 20:25:42 +00:00
dprice%netscape.com
7e5be17e07 removes copied files. Doesn't remove created directories yet.
git-svn-id: svn://10.0.0.236/trunk@75503 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 20:58:31 +00:00
warren%netscape.com
2be98ed83d Added back in use Cwd;
git-svn-id: svn://10.0.0.236/trunk@75006 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 05:08:08 +00:00
warren%netscape.com
d13b65ff46 Fixed up rules for jarring.
git-svn-id: svn://10.0.0.236/trunk@75004 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 04:46:45 +00:00
dprice%netscape.com
54c8d45427 bug fixing
git-svn-id: svn://10.0.0.236/trunk@74560 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 22:28:01 +00:00
warren%netscape.com
5279d895c1 Took out -o from make-jars.pl because it didn't work.
git-svn-id: svn://10.0.0.236/trunk@74429 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 01:38:09 +00:00
dprice%netscape.com
7c8108bb0e NOT IN THE BUILD
git-svn-id: svn://10.0.0.236/trunk@74099 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 07:50:37 +00:00
dprice%netscape.com
c86bfb42f8 NOT IN THE BUILD
git-svn-id: svn://10.0.0.236/trunk@73991 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 06:40:09 +00:00
warren%netscape.com
5d3f4ac148 Taking out jar step since tinderbox doesn't seem to have perl installed.
git-svn-id: svn://10.0.0.236/trunk@72086 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 01:53:47 +00:00
warren%netscape.com
6c0a857ad9 Added jar manifest support. Kind of works on Windows so far.
git-svn-id: svn://10.0.0.236/trunk@71881 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 06:33:25 +00:00