Re: 9i - A way to compile all forms?

From: I.A. Saez <i.a.saez.scheihingGEENSPAM_at_tue.nl>
Date: Tue, 04 Feb 2003 15:49:50 +0100
Message-ID: <3E3FD30E.B0D5F33E_at_tue.nl>


Tim,

My favorite is make. I have a Makefile:

VPATH=.. all: *.fmx *.mmx

%.fmx: %.fmb

        echo "compiling $<"; ./Generate FORM $< uc/pw

%.mmx: %.mmb

        echo "compiling $<"; ./Generate MENU $< uc/pw

for compiling fmb's and mmb's. Generate is a (K)shell script:

#!/bin/ksh

f60genm module=$2 userid=$3_at_here.your.instance.string module_type=$1 batch=yes

(make Generate executable: chmod 700 Generate)

All fmb's and mmb's go in a directory (say source) and the fmx's, mmx's are moved (manually after compilation) to the parent directory:

..../parent/source

The advantage of make is that it will compile all fmb's/mmb's that are newer than the fmx's/mmx's. And it will stop compiling after finding a error.

kind regards,

Ivan

web guy wrote:

> Using 9i AS.
>
> I'm looking for a way to compile all the .fmb files in a directory is one
> swoop. Evidently this was possible in Forms 6x with Project Builder.
> Is there anything for 9i?
>
> I guess I could always write a script file, but I wanted to check if there
> was something available first.
>
> Thanks,
>
> Tim
Received on Tue Feb 04 2003 - 15:49:50 CET

Original text of this message