shibboleth-dev - Re: ArpTests failed
Subject: Shibboleth Developers
List archive
- From: Tom Scavo <>
- To: Scott Cantor <>
- Cc: Walter Hoehn <>, Shibboleth Development <>
- Subject: Re: ArpTests failed
- Date: Wed, 18 May 2005 13:56:55 -0400
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=bHos52T46NLRGF3+pueeAudJ7w9UlPhB2kz25wnQeZlbVgVWMRODN6+ceAvpoEx6rIAXw9HPn4lU1pHQbY8VS4OpUptKEDZ3qcSzskytD2+UBfC0TzDZsavNp5wH2jmB8BTfHGdAg31S9WWTIU3SjUlf7pgznIJwCs7P8bF6fN4=
On 5/18/05, Scott Cantor
<>
wrote:
> > I didn't jump into the previous debate on this, but I thought the
> > conclusion was that it was required if we want developers to be able
> > to compile on 1.5 and then distribute to users on 1.4.
>
> -source 1.4 supposedly also does this, and for whatever reason doesn't
> result in the problems Tom had.
Correct. Moreover, there is documentation and discussion on a
java.sun.com forum that suggests -target without certain other options
is not recommended. So unless we add those other options, the -target
option can and should be removed. (The "can" part comes from the
javac docs and the "should" part is based on my (admittedly limited)
experience.)
Another suggestion is the -deprecation option, which does the obvious
thing. For J2SE 5.0, there's also the -Xlint option, which is even
better. I've been using
<javac srcdir="${src}" destdir="${build}" includes="**/*.java"
source="1.4" debug="on">
<classpath refid="build.path" />
<compilerarg value="-Xlint" /> <!-- requires J2SE 5.0 -->
</javac>
for some time now with good results. (Is there anybody not developing
with J2SE 5.0?)
Thanks,
Tom
- ArpTests failed, Tom Scavo, 05/10/2005
- Re: ArpTests failed, Walter Hoehn, 05/17/2005
- Re: ArpTests failed, Tom Scavo, 05/18/2005
- Re: ArpTests failed, Walter Hoehn, 05/18/2005
- RE: ArpTests failed, Scott Cantor, 05/18/2005
- Re: ArpTests failed, Walter Hoehn, 05/18/2005
- Re: ArpTests failed, Tom Scavo, 05/18/2005
- Re: ArpTests failed, Walter Hoehn, 05/18/2005
- Re: ArpTests failed, Tom Scavo, 05/18/2005
- Re: ArpTests failed, Walter Hoehn, 05/18/2005
- RE: ArpTests failed, Scott Cantor, 05/18/2005
- Re: ArpTests failed, Walter Hoehn, 05/18/2005
- Re: ArpTests failed, Tom Scavo, 05/18/2005
- Re: ArpTests failed, Walter Hoehn, 05/17/2005
Archive powered by MHonArc 2.6.16.