Diane Holt <[EMAIL PROTECTED]> wrote:

> --- Stefan Bodewig <[EMAIL PROTECTED]> wrote:
>> Diane Holt <[EMAIL PROTECTED]> wrote:
>> 
>> > I don't see anything in the <jar> task that would allow for the
>> > -M flag (ie., don't include a manifest). Is there a reason it's
>> > not available?
>> 
>> Apart from "use <zip> if you don't need a Manifest"? No.
> 
> Is that the only difference between the two?

Yep. And <war> adds a special structure in WEB-INF/, that's all.

> If that is the only difference, do we really need two separate
> tasks?

I see two reasons, convenience (in the <war> case) and security by
enforcing some rules (the manifest or webapp descriptor must be
present).

Stefan

Reply via email to