On 10 October 2011 22:02, Eric Kolotyluk <eric.koloty...@gmail.com> wrote:
>
>
> On 2011-10-10 1:41 PM, Wayne Fay wrote:
>>>
>>> OK, I still clearly do not understand how sniffer is supposed to work,
>>> and
>>> it does not look like am going to any time soon, even after all these
>>> explanations.
>>
>> A signature is like:
>> char java.lang.String.charAt(int)
>>
>> Animal sniffer compares the Java code you are writing against the
>> published signatures of popular Java APIs like Sun JDK 1.5, 1.6, IBM,
>> JRockit, etc. That's it! If this is helpful to you, use it. If you
>> need other functionality, animal sniffer may not be able to help you.
>>
>>> identifying the troublesome jar file. I am not really sure why no-one
>>> recommended this to me in the first place as it effective and simple to
>>
>> Uhhh Benson *did* suggest this... did you miss it??
>
> Yes, I did miss it - I guess I got too curious about sniffer - and then
> frustrated - and then too distracted to go back and read Benson's remarks
> properly. My bad.
>>
>>> On Sun, Oct 9, 2011 at 5:14 PM, Benson Margulies<bimargul...@gmail.com>
>>>  wrote:
>>>>
>>>> If you have to support 1.5, the easiest thing to do is eschew the use
>>>> of 1.6 features. Just set the compiler plugin options for source and
>>>> target of 1.5.
>>>
>>> Again, I am at a complete loss to fathom any utility in the sniffer.
>>> Maybe I
>>
>> It is quite possible that your needs simply do not match the
>> functionality provided by Animal sniffer. There are a large number of
>> people who find it useful. Their needs may be different from your own.
>
> I was unable to determine if sniffer met my needs because I could not
> understand what it was supposed to do.
>>
>> Perhaps you can summarize in 1 sentence what problem you are trying to
>> solve, then various alternative solutions can be discussed.
>
> To check that (1) my sources were compatible with a Java 5 run-time and (2)
> that any dependencies I was using were also compatible with a Java 5
> run-time (in particular that they did not contain version 50 class files).
>
> I believe Stephen answered (1) for me quite elegantly. It would help
> tremendously if his explanation were documented on the introduction page.
> I'm not sure if sniffer solves (2) which really was my original intent
> because I had already solved (1) by other means.

http://mojo.codehaus.org/animal-sniffer/animal-sniffer/usage.html

>
> - Eric
>>
>> Wayne
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to