ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefano Mancarella" <mancare...@opoipi.bancaintesa.it>
Subject Re: War/ear update patch improvement (was Ant 1.4.1 Release)
Date Thu, 27 Sep 2001 14:26:20 GMT
----- Original Message ----- 
From: "Stefan Bodewig" <bodewig@apache.org>
> > 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?



Mime
View raw message