@echo off

@if  exist abalib.jar_temp del abalib.jar_temp 
set OLDCLASSPATH=%CLASSPATH%
set CLASSPATH=%CLASSPATH%;.\abalib.jar
set CLASSPATH=%CLASSPATH%;.\abadc.jar

set CLASSPATH=%CLASSPATH%;.\EXML.jar
set CLASSPATH=%CLASSPATH%;.\cf.jar
set CLASSPATH=%CLASSPATH%;.\cbeans.jar
set CLASSPATH=%CLASSPATH%;.\cutils.jar
set CLASSPATH=%CLASSPATH%;.\ozten.jar
set CLASSPATH=%CLASSPATH%;.\rowset.jar
set CLASSPATH=%CLASSPATH%;.\looks-1.1.3.jar

set CLASSPATH=%CLASSPATH%;C:\j2sdk1.4.2_04\lib\tools.jar
set CLASSPATH=%CLASSPATH%;.

@echo on

java ch.abacus.designcockpit.metadataEditor.MetadataEditor

@if  exist abalib.jar_temp goto filefound
@goto endbatch

:filefound
@echo "New Jar file found coping.."
copy abalib.jar_temp abalib.jar
del abalib.jar_temp

:endbatch
set CLASSPATH=%OLDCLASSPATH%
pause



