ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Reilly" <peter.kitt.rei...@gmail.com>
Subject Re: svn commit: r553857 - in /ant/core/trunk: build.xml docs/manual/CoreTasks/jar.html src/etc/testcases/taskdefs/jar.xml src/main/org/apache/tools/ant/taskdefs/Jar.java src/tests/junit/org/apache/tools/ant/taskdefs/JarTest.java
Date Wed, 18 Jul 2007 11:11:18 GMT
It may be better to make that an enum:

strict="fail" - throws exception if jar not compliant
strict="ignore" - log at verbose mode if jar not compliant
strict="warn"  - log at warning level if jar not compliant

a verbose message will get lost in the noise.

Peter

On 7/18/07, Jan.Materne@rzf.fin-nrw.de <Jan.Materne@rzf.fin-nrw.de> wrote:
> Ok, I added a "strict" attribute.
> When the spec is broken and strict is set to
> - "true": a BuildException will be thrown
> - "false": a message is logged on verbose mode
>
> Jan
>
> >-----Urspr√ľngliche Nachricht-----
> >
> >I think that here should be a "whine" mode to activate
> >these messages. They should not be done by default.
> >Maybe a strict="yes" attribute.
> >
> >Peter
> >
> >>
> >> URL: http://svn.apache.org/viewvc?view=rev&rev=553857
> >> Log:
> >> Encourage people to follow the packaging spec.
> >>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message