I think I get it....I'll try the patch today sometime
--
dIon Gillard, Multitask Consulting
Work:      http://www.multitask.com.au
Developers: http://adslgateway.multitask.com.au/developers


                                                                                       
                           
                    "Glenn A.                                                          
                           
                    McAllister"          To:     [EMAIL PROTECTED]  
                           
                    <glenn@somanet       cc:                                           
                           
                    works.com>           Subject:     Re: [PATCH] build-j2ee.xml 
update and a generic callback    
                                          mechanism                                    
                           
                    05/02/02 11:50                                                     
                           
                    AM                                                                 
                           
                    Please respond                                                     
                           
                    to                                                                 
                           
                    turbine-maven-                                                     
                           
                    dev                                                                
                           
                                                                                       
                           
                                                                                       
                           




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.






Reply via email to