Demo script (Linux) – Compiling forms application

Hi Everyone
Thought you might like to have a usefull script to do a batch compile of all your forms to 11g on Linux.
Mia
————————————————————————————————————————————————————————————

setenv FORMS_PATH=$ORACLE_HOME/forms;/apps/forms;/apps/lib;/apps/menu;/apps/pll;/apps/template
export FORMS_PATHrm /apps/pll/*.plx
rm /apps/pll/*.errcd /apps/pllfor 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

(Visited 1,853 times, 1 visits today)
facebooktwittergoogle_pluslinkedinmail