1998-03-28 05:44:41 +03:00
|
|
|
@echo off
|
1999-11-06 06:40:37 +03:00
|
|
|
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/
|
1998-03-28 05:44:41 +03:00
|
|
|
rem
|
1999-11-06 06:40:37 +03:00
|
|
|
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.
|
1998-03-28 05:44:41 +03:00
|
|
|
rem
|
1999-11-06 06:40:37 +03:00
|
|
|
rem The Original Code is mozilla.org code.
|
|
|
|
rem
|
|
|
|
rem The Initial Developer of the Original Code is Netscape
|
1998-03-28 05:44:41 +03:00
|
|
|
rem Communications Corporation. Portions created by Netscape are
|
1999-11-06 06:40:37 +03:00
|
|
|
rem Copyright (C) 1998 Netscape Communications Corporation. All
|
|
|
|
rem Rights Reserved.
|
|
|
|
rem
|
|
|
|
rem Contributor(s):
|
1998-03-28 05:44:41 +03:00
|
|
|
@echo on
|
|
|
|
|
|
|
|
@echo off
|
|
|
|
if not exist %2 echo Warning: %2 does not exist! (you may need to check it out)
|
|
|
|
if not exist %2 exit 1
|
|
|
|
|
|
|
|
pushd %2
|
|
|
|
|
|
|
|
goto NO_CAFE
|
|
|
|
|
|
|
|
if "%MOZ_CAFE%"=="" goto NO_CAFE
|
|
|
|
|
1999-07-31 02:04:08 +04:00
|
|
|
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
|
1998-03-28 05:44:41 +03:00
|
|
|
goto END
|
|
|
|
|
|
|
|
:NO_CAFE
|
|
|
|
|
1999-07-31 02:04:08 +04:00
|
|
|
perl.exe %MOZ_SRC%\mozilla\config\outofdate.pl -d %MOZ_SRC%\mozilla\dist\classes\%2 -cfg %1 *.java > doit.bat
|
|
|
|
call doit.bat
|
|
|
|
del /F /A:A doit.bat
|
1998-03-28 05:44:41 +03:00
|
|
|
|
|
|
|
:END
|
|
|
|
|
|
|
|
popd
|