Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 38262 invoked from network); 3 Aug 2007 12:36:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Aug 2007 12:36:32 -0000 Received: (qmail 6439 invoked by uid 500); 3 Aug 2007 12:36:28 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 6403 invoked by uid 500); 3 Aug 2007 12:36:28 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 6392 invoked by uid 99); 3 Aug 2007 12:36:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Aug 2007 05:36:28 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Aug 2007 12:36:04 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IGwNs-0001g5-Ru for user@ant.apache.org; Fri, 03 Aug 2007 05:36:00 -0700 Message-ID: <11982524.post@talk.nabble.com> Date: Fri, 3 Aug 2007 05:36:00 -0700 (PDT) From: billf5293 To: user@ant.apache.org Subject: Re: AW: AW: Problem with build after method signature change In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: bfindeisen@hmstn.com References: <11969482.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org That would probably work for our test server but our prodection boxes are updating using war files. I'll give it a try. Thanks for your help. Jan.Materne wrote: >=20 > When uploading the jars to your (test) webserver, try something like > > > > > >=20 > So only JARs will be uploaded which content changed. Means, class files..= . > or manifest file... >=20 > Maybe that helps ... >=20 >=20 > Jan=20 >=20 >>-----Urspr=C3=BCngliche Nachricht----- >>Von: billf5293 [mailto:bfindeisen@hmstn.com]=20 >>Gesendet: Freitag, 3. August 2007 14:25 >>An: user@ant.apache.org >>Betreff: Re: AW: Problem with build after method signature change >> >> >>A clean build does correct the problem. However, this means=20 >>all jars are >>rebuilt and users of our applets must pull all jars instead of=20 >>only those >>that are updated. >> >>Thanks. >> >> >>Jan.Materne wrote: >>>=20 >>> Yes, the first thing to do when a "curious" problem occurs is doing >>> a "clean build". >>> ant clean build >>> Provide a "clean" target which deletes all generated files. >>>=20 >>>=20 >>> Jan >>>=20 >>>=20 >>>>-----Urspr=C3=BCngliche Nachricht----- >>>>Von: Dominique Devienne [mailto:ddevienne@gmail.com]=20 >>>>Gesendet: Donnerstag, 2. August 2007 20:56 >>>>An: Ant Users List >>>>Betreff: Re: Problem with build after method signature change >>>> >>>>On 8/2/07, billf5293 wrote: >>>>> >>>>> We are experiencing a problem with our build after a method=20 >>>>signature change >>>>> in one of our classes. A method was changed from non-static=20 >>>>to static. >>>>> Since the dependant class files would still compile ant did=20 >>>>not compile >>>>> them. The result is a IncompatibleClassChangeError at=20 >>>>runtime saying a >>>>> non-static method is expected. >>>>> >>>>> Is there any way to check class compatibility? >>>> >>>>It's generally regarded as unnecessary, since Java compiles fast >>>>enough that doing a full rebuild is much simpler and safer=20 >>than trying >>>>to do an intelligent incremental build. >>>> >>>>There are IDEs and also JavaMake that do such incremental builds, and >>>>I played with JavaMake in the past, but the added complexity is not >>>>worth it IMHO. It all depends on the project size. --DD >>>> >>>>--------------------------------------------------------------------- >>>>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >>>>For additional commands, e-mail: user-help@ant.apache.org >>>> >>>> >>>=20 >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >>> For additional commands, e-mail: user-help@ant.apache.org >>>=20 >>>=20 >>>=20 >> >>--=20 >>View this message in context:=20 >>http://www.nabble.com/Problem-with-build-after-method-signature >>-change-tf4207673.html#a11982253 >>Sent from the Ant - Users mailing list archive at Nabble.com. >> >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >>For additional commands, e-mail: user-help@ant.apache.org >> >> >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org >=20 >=20 >=20 --=20 View this message in context: http://www.nabble.com/Problem-with-build-afte= r-method-signature-change-tf4207673.html#a11982524 Sent from the Ant - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org