rem stage-prep.bat
rem copies and preps the application for AMTLib
rem

rem get us into the right directory and create any missing directories
cd %1

if not exist AMT mkdir AMT
if not exist OBLRes mkdir OBLRes

rem copy the stuff from redcloud now
xcopy /y/d/f/e ..\..\adobe_shared\oobe\amtlib\win\config\AMT\*.* AMT\
xcopy /y/d/f/s ..\..\adobe_shared\oobe\amtlib\win\libraries\windows\%2\complete\OBLRes\*.* OBLRes\

rem copy the Flash specific AMT resources
xcopy /y/d/f/s ..\Activation\*.* AMT\
xcopy /y/d/f/s ..\Activation\win\application.xml AMT\
xcopy /y/d/f/s ..\Activation\LMResources\*.* AMT\LMResources\