2 REM ***** BEGIN LICENSE BLOCK *****
3 REM Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 REM The contents of this file are subject to the Mozilla Public License Version
6 REM 1.1 (the "License"); you may not use this file except in compliance with
7 REM the License. You may obtain a copy of the License at
8 REM http://www.mozilla.org/MPL/
10 REM Software distributed under the License is distributed on an "AS IS" basis,
11 REM WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 REM for the specific language governing rights and limitations under the
15 REM The Original Code is mozilla.org code.
17 REM The Initial Developer of the Original Code is
18 REM Netscape Communications Corporation.
19 REM Portions created by the Initial Developer are Copyright (C) 1998
20 REM the Initial Developer. All Rights Reserved.
24 REM Alternatively, the contents of this file may be used under the terms of
25 REM either the GNU General Public License Version 2 or later (the "GPL"), or
26 REM the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 REM in which case the provisions of the GPL or the LGPL are applicable instead
28 REM of those above. If you wish to allow use of your version of this file only
29 REM under the terms of either the GPL or the LGPL, and not to allow others to
30 REM use your version of this file under the terms of the MPL, indicate your
31 REM decision by deleting the provisions above and replace them with the notice
32 REM and other provisions required by the GPL or the LGPL. If you do not delete
33 REM the provisions above, a recipient may use your version of this file under
34 REM the terms of any one of the MPL, the GPL or the LGPL.
36 REM ***** END LICENSE BLOCK *****
40 if not exist %2\NUL echo Warning: %2 does not exist! (you may need to check it out)
41 if not exist %2\NUL exit 1
47 if "%MOZ_CAFE%"=="" goto NO_CAFE
49 mkdir %MOZ_SRC%\mozilla\dist\classes\%2
50 %MOZ_TOOLS%\bin\sj.exe -classpath %MOZ_SRC%\mozilla\dist\classes;%MOZ_SRC%\mozilla\sun-java\classsrc -d %MOZ_SRC%\mozilla\dist\classes *.java
55 perl.exe %MOZ_SRC%\mozilla\config\outofdate.pl -d %MOZ_SRC%\mozilla\dist\classes\%2 -cfg %1 *.java > doit.bat