BTW, you can do unit tests of ant build files.....
--
dIon Gillard, Multitask Consulting
Work:      http://www.multitask.com.au
Developers: http://adslgateway.multitask.com.au/developers




"Kevin O'Neill" <[EMAIL PROTECTED]>
05/25/02 10:07 AM
Please respond to "Turbine Maven Developers List"

 
        To:     maven dev <[EMAIL PROTECTED]>
        cc: 
        Subject:        Re: [patch] bug in j2ee/build.xml maven:ejb


> if the optional property maven.j2ee.ejb.meta-inf-includes is not set, 
the build 
> fails.  The only solution I could think of is to have two targets, one 
with the 
>   additional metainf tags and one without.  The target executed is 
determined by 
> checking for the existence of maven.j2ee.ejb.meta-inf-includes during 
the 
> ejb-init target.

The other alternative is to build the ejb-jar and any included items
into a temp directory that is then included. There would be less
duplication of code ... but it could proliferation of directories.

Maybe we should have a well known temp directory. Each target that uses
it would be responsible for cleaning up when they're finished.

k.

ps: I thought I'd tested for this. Oh for unit tests in ant :)




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>





--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to