OK, here is a (Cygwin) shell script and a makefile (for Cygwin make) that 
achieve part (a) of my request.

I.e. it runs GenDD for all .txt/.properties files in a directory that have 
changed. For beans whose .ser file is up to date, GenDD is not run.

Thanks to Wei?bock Maximilian for pointing me in the right direction.

Joe

-----Original Message-----
From:   Joe Gittings [SMTP:[EMAIL PROTECTED]]
Sent:   Monday, March 13, 2000 4:33 PM
To:     [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject:        make and jonas deployer tools???

Is it possible to use make to run the jonas deployer tools in an
intelligent manner? I'd like to be able to

a) run GenDD against only those .txt files which are newer than the
corresponding .ser file (or where the .properties file is newer than the
.ser file)

b) run GenIC against only those classes where the handwritten class is
newer than the generated class.

And I'd like to be to do this without having to write a makefile that lists 
every single file to process. E.g. for GenDD I'd rather just process all
.txt files in a directory.

Any ideas? Or is this featured in the forthcoming 2.0 release? If all else
fails, I could write this myself.

Joe




begin 600 gendd_all_dir.sh
M(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C
M(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(PT*(R!G96YD
M9%]A;&Q?9&ER+G-H#0HC(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C
M(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C
M(R,C(R,C#0H-"@T*(R,C(R,@4G5N<R!'96Y$1"!A9V%I;G-T(&%L;"!T97AT
M=6%L(&1E<&QO>6UE;G0@9&5S8W)I<'1O<G,@:6X@)$1$7U185%]0051((",C
M(R,C#0HC(R,C(R!/;B!E;G1R>2P@=&AE(&-U<G)E;G0@9&ER96-T;W)Y('-H
M;W5L9"!C;VYT86EN('1H92!M86ME9FEL92 @(" @(" @(" @(R,C(R,C#0H-
M"@T*:68@6R A("UF("1*3TY!4U]23T]4+V)I;B]C;VYF:6<N96YV(%T-"G1H
M96X-"B @("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:65S#0H)1V5N1$0@+60@)"A$1%]315)?4$%42"D@)"A"
/14%.7TY!344I+G1X= T*
`
end

----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to