Oracle forms11g batch-compile
- Compile forms modules in batch-mode
We can run the Migration Assistant in batch mode on Windows and UNIX computers. We will do the test on WindowsXp system
If we have an application with many forms modules, let’s say for example, more than 60 forms modules and we have made a change in one or more pll-libraries used by each of these forms modules.
It’s easy and fast to compile the all files at once than opening each forms module in formseditor.
Here is a simple test of a whole compilation of the ModuleSource folder’s content
- Create a batch script containing the following lines and save it in the folder containing the entire forms application ‘s modules. (pll,mmb and fmb files)
- Open a dos-command window and run your batch file from your directory
@Echo OFF
cls
Echo compiling Libraries….
for %%f IN (*.pll) do frmcmp userid=summit/summit@xe module=%%f batch=YES module_type=LIBRARY compile_all=yes window_state=minimize
Echo FINISHED COMPILING LIBRARIES
Echo compiling Menus….
for %%f IN (*.mmb) do frmcmp userid=summit/summit@xe module=%%f batch=YES module_type=MENU compile_all=yes window_state=minimize
Echo FINISHED COMPILING MENUS
Echo compiling Forms….
for %%f IN (*.fmb) do frmcmp userid=summit/summit@xe module=%%f batch=YES module_type=FORM compile_all=yes window_state=minimize
Echo FINISHED COMPILING FORMS
After running your script, fmx /mmx/plx – file is respectively generated for for each Forms/Menu and Pll library.
FormsGraph_11g.err, – file containes the following text:
………………………………………………………………………………………………………………………………
Compilation en cours du déclencheur WHEN-CHECKBOX-CHANGED sur l’élément SIMPLE_SHOW_LEGEND du bloc de données CONTROL…
Aucune erreur de compilationCompilation en cours du déclencheur WHEN-CHECKBOX-CHANGED sur l’élément SIMPLE_MOUSEACTION du bloc de données CONTROL…
Aucune erreur de compilationFichier d’application Forms FormsGraph_11g.fmx créé
Configure WebUtil in Forms11gR2 Oracle forms11g batch – conversion
very intelligent issue addressing.. Good job man
I have noticed you don’t monetize your site, don’t waste your traffic, you
can earn extra cash every month because you’ve
got hi quality content. If you want to know how
to make extra money, search for: Mrdalekjd methods for $$$
Hallo Very good blog post. I certainly love this website. Keep it up! gracias