Oracle Developer 2000 批量编译pll、frm、mmb、rdf文件, 编译后的文件名后缀plx、fmx、mmx、rep
需要安装的子软件:
Oracle Report Builder
Oracle Form Builder
1、建立compile.bat文件
@echo off
set DBSTR=username/password@dbname
echo --------------------------------------------------------------------
echo Recompile all modules
echo Current Dir : %~d0%~p0
echo Default DB : %DBSTR%
echo --------------------------------------------------------------------
set /p DB=Input new connect string :
if DB == "" goto start
set %DBSTR%=%DB%
:start
cd ..
del /s /q *.plx *.err *.fmx *.mmx *.rep > comp.log
echo compiling PLL ....
FOR /R ./BA %%f IN (*.pll) DO ifcmp60 module=%%f userid=%DBSTR% batch=yes module_type=library window_state=MINIMIZE