gecko-dev/config/buildpkg.bat
ashuk%eng.sun.com 02425a348f author=ashuk@eng.sun.com
r=edburns@acm.org
sr=leaf@mozilla.org

Bug - 64455

This fix allows the Java modules within Mozilla to Build on Win98
and Win ME. This fix modifies the file
mozilla/config/buildpkg.bat

The buildpkg.bat file contains pushd and popd which are shell
utilities available under Win NT and Win 2K, but not in Win98
or Win ME. This caused the build to fail for the Java modules
like Blackwood (mozilla/java) on Win98/ME.

---------------- cvs diff -u of fix -------------------------

Index: buildpkg.bat
===================================================================
RCS file: /cvsroot/mozilla/config/buildpkg.bat,v
retrieving revision 3.4
diff -r3.4 buildpkg.bat
26c26
< pushd %2
---
> cd %2
44d43
< popd

*****CVS exited normally with code 1*****
2001-01-22 23:24:34 +00:00

44 lines
1.3 KiB
Batchfile

@echo off
rem The contents of this file are subject to the Netscape Public
rem License Version 1.1 (the "License"); you may not use this file
rem except in compliance with the License. You may obtain a copy of
rem the License at http://www.mozilla.org/NPL/
rem
rem Software distributed under the License is distributed on an "AS
rem IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
rem implied. See the License for the specific language governing
rem rights and limitations under the License.
rem
rem The Original Code is mozilla.org code.
rem
rem The Initial Developer of the Original Code is Netscape
rem Communications Corporation. Portions created by Netscape are
rem Copyright (C) 1998 Netscape Communications Corporation. All
rem Rights Reserved.
rem
rem Contributor(s):
@echo on
@echo off
if not exist %2\NUL echo Warning: %2 does not exist! (you may need to check it out)
if not exist %2\NUL exit 1
cd %2
goto NO_CAFE
if "%MOZ_CAFE%"=="" goto NO_CAFE
mkdir %MOZ_SRC%\mozilla\dist\classes\%2
%MOZ_TOOLS%\bin\sj.exe -classpath %MOZ_SRC%\mozilla\dist\classes;%MOZ_SRC%\mozilla\sun-java\classsrc -d %MOZ_SRC%\mozilla\dist\classes *.java
goto END
:NO_CAFE
perl.exe %MOZ_SRC%\mozilla\config\outofdate.pl -d %MOZ_SRC%\mozilla\dist\classes\%2 -cfg %1 *.java > doit.bat
call doit.bat
del doit.bat
:END