----- Original Message ----- 
From: "Stefan Bodewig" <[EMAIL PROTECTED]>
> > I think "update=true" should disable required attributes only if the
> > war/ear actually exists,
> ... and contains a MANIFEST.MF, web.xml or application.xml - otherwise
> one could still "cheat".

True.

> I'm not sure whether this is really necessary as people who want to
> play tricks with <war> can always use <zip> directly.

You're right. Let's see the problem from a more general point of view.
Is it good to allow the use of "update=true" when the archive does not
exist?
ATM the task simply creates the file while, perhaps, it should throw
a BuildException. What do you think?


Reply via email to