@echo off
setlocal
set PATH=%PATH%;C:\jac\bin\wbin
cd C:\jac\system\Java\Programming\Repositories\WUDSN-IDE

call :check com.wudsn.ide.asm
call :check com.wudsn.ide.asm.compilers
call :check com.wudsn.ide.asm.compilers.test
call :check com.wudsn.ide.base
call :check com.wudsn.ide.hex
call :check com.wudsn.ide.dsk
call :check com.wudsn.ide.gfx
call :check com.wudsn.ide.pas
call :check com.wudsn.ide.snd

call :check com.wudsn.ide.base.feature
call :check com.wudsn.ide.feature
goto :eof


:check
rem echo | set /p=%1	
echo %1
if exist %1\META-INF\MANIFEST.MF grep Bundle-Version %1\META-INF\MANIFEST.MF
if exist %1\META-INF\MANIFEST.MF grep Bundle-RequiredExecutionEnvironment %1\META-INF\MANIFEST.MF
if exist %1\build.properties     grep jre.compilation.profile %1\build.properties
if exist %1\feature.xml          grep version= %1\feature.xml
echo.
goto :eof
