On Thu, 2 May 2002 [EMAIL PROTECTED] wrote:
>
> I know I'm going to read this and provide more feedback later, but....
> initial readings comments:
>
> A build-file (read plugin) may want to have multiple, different call backs,
> e.g. war, ear etc for the j2ee plugin. I think we need to extend the
> mechanism to allow this. It works for the current j2ee war task, but ear is
> next on my list....
No problem.
> callbacks.put( "j2ee", [ "preprocess-war", "postprocess-war" ] );
callbacks.put( "j2ee", [ "preprocess-war",
"postprocess-war",
"preprocess-ear",
"postprocess-ear" ] );
You generate 4 callback target sets rather than 2. :)
If you have a different set of callbacks, say for j2me, the
Control-j2me.vm file would have
callbacks.put( "j2me", [ "some-callback", "another-callback" ] );
Glenn McAllister
SOMA Networks, Inc.