20 lines
507 B
Batchfile
20 lines
507 B
Batchfile
@echo off
|
|
setlocal
|
|
|
|
set BCP=c:\Progra~1\Java\PersonalJava\classes.zip
|
|
|
|
set MISC=-g -source 1.3 -target 1.1 -deprecation
|
|
for %%f in (*.class) do del %%f
|
|
for %%f in (*.java) do (
|
|
javac -bootclasspath %BCP% -classpath .\;config\symbian.jar %MISC% %%f
|
|
if errorlevel 1 echo ERROR!>>make.err
|
|
)
|
|
endlocal
|
|
|
|
if NOT EXIST config\UpdateVersion.class javac config\UpdateVersion.java
|
|
if NOT EXIST make.err (
|
|
java -cp config UpdateVersion ADD 0 0 1
|
|
) ELSE (
|
|
echo Errors occured.
|
|
del make.err
|
|
) |