3 if $inputmode == modespell goto spellmaker
\r
6 echo =========================
\r
7 echo Basic version compilation
\r
8 echo =========================
\r
9 set compilemode=basic
\r
10 set additionalfiles=com/swabunga/spell/event/SpellCheckListener.class
\r
13 echo ==============================
\r
14 echo Spellcheck version compilation
\r
15 echo ==============================
\r
16 set compilemode=spell
\r
17 set additionalfiles="com/swabunga/spell/engine/*.class com/swabunga/spell/engine/*.properties com/swabunga/spell/engine/dictionary/* com/swabunga/spell/event/*.class com/swabunga/spell/swing/*.class com/swabunga/spell/swing/*.properties"
\r
20 echo [] compiling core...
\r
21 javac -deprecation com/hexidec/ekit/EkitCore.java
\r
22 if $status == 0 goto compilecheck
\r
25 if $inputmode == modespell goto compilespellcore
\r
28 echo [] compiling spellchecker core...
\r
29 javac -deprecation com/hexidec/ekit/EkitCoreSpell.java
\r
30 if $status == 0 goto compileapp
\r
33 echo [] compiling application...
\r
34 javac -deprecation com/hexidec/ekit/Ekit.java
\r
35 if $status == 0 goto makejar
\r
39 jar cmf com/hexidec/ekit/ekit.manifest ekit.jar com/hexidec/ekit/*.class com/hexidec/ekit/action/*.class com/hexidec/ekit/component/*.class com/hexidec/util/Base64Codec.class com/hexidec/util/Translatrix.class com/hexidec/ekit/icons/*.gif com/hexidec/ekit/*.properties $additionalfiles
\r
40 if $status == 0 goto modjar
\r
43 echo [] modifying jar permissions...
\r
45 if $status == 0 goto cleanup
\r
48 echo [] cleaning up Ekit classes...
\r
49 rm com/hexidec/ekit/*.class
\r
50 rm com/hexidec/ekit/action/*.class
\r
51 rm com/hexidec/ekit/component/*.class
\r
52 rm com/hexidec/util/Base64Codec.class
\r
53 rm com/hexidec/util/Translatrix.class
\r
54 rm com/swabunga/spell/event/*.class
\r
55 if $compilemode == spell goto spellpurge
\r
58 echo [] cleaning up spellcheck classes...
\r
59 rm com/swabunga/spell/engine/*.class
\r
60 rm com/swabunga/spell/swing/*.class
\r
63 echo [*] make failed with an error level of $status
\r