Ok, that's fine.
But I'll commit my "verbose/fail" files and change to the enum after that.

Jan 

>-----Ursprüngliche Nachricht-----
>Von: Peter Reilly [mailto:[EMAIL PROTECTED] 
>Gesendet: Mittwoch, 18. Juli 2007 13:11
>An: Ant Developers List
>Betreff: 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
>
>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, [EMAIL PROTECTED] 
><[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to