Tuesday, November 28, 2006

Demo script (Linux) - Compiling forms application

setenv FORMS_PATH=$ORACLE_HOME/forms;/apps/forms;/apps/lib;/apps/menu;/apps/pll;/apps/template
export FORMS_PATH

rm /apps/pll/*.plx
rm /apps/pll/*.err

cd /apps/pll

for file in *.pll do frmcmp_batch.sh Module_type=LIBRARY Module=$ff userid=username/password@database upgrade=yes batch=yes window_state=minimize compile_all=yes
done

rm /apps/template/*.fmx
rm /apps/template/*.err

cd /apps/template

for file in *.fmb do frmcmp_batch.sh Module_type=form Module=$ff userid=username/password@database upgrade=yes batch=yes window_state=minimize compile_all=yes
done

rm /apps/menu\*.mmx
rm /apps/menu/*.err

cd /apps/menu

for file in *.mmb do frmcmp_batch.sh Module_type=menu Module=$ff userid=username/password@database upgrade=yes batch=yes window_state=minimize compile_all=yes
done

rm /apps/forms/*.fmx
rm /apps/forms/*.err

cd /apps/forms

for file in *.fmb do frmcmp_batch.sh Module_type=form Module=$ff userid=username/password@database upgrade=yes batch=yes window_state=minimize compile_all=yes
done

No comments: