Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 49426 invoked from network); 30 May 2006 11:00:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 May 2006 11:00:22 -0000 Received: (qmail 45464 invoked by uid 500); 30 May 2006 11:00:17 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 45416 invoked by uid 500); 30 May 2006 11:00:16 -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 45405 invoked by uid 99); 30 May 2006 11:00:16 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 May 2006 04:00:16 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [212.179.48.190] (HELO mail.clf.com) (212.179.48.190) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 May 2006 04:00:15 -0700 content-class: urn:content-classes:message MIME-Version: 1.0 Subject: RE: rmic problem when using ant Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 Date: Tue, 30 May 2006 13:59:53 +0300 Message-ID: <4A686AEE0A43FA47AF3D93220238209101290754@mail.clf.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: rmic problem when using ant Thread-Index: AcaD11Pl8WPJ322NTPa7Qds6lMKzkQAAGbJQ From: "Barak Yaish" To: "Ant Users List" , X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Exactly. When running ant twice with the same build.xml, first run fails = with the error I mentioned below, running it again, and... no = failures... Can you direct me what I'm doing wrong? Why the second run doesn't fail? Thanks, Barak. -----Original Message----- From: Scot P. Floess [mailto:floess@mindspring.com] Sent: ?? 30 ??? 2006 13:49? To: Ant Users List Subject: Re: rmic problem when using ant Barak: Sounds like a CLASSPATH problem... Or sourcepath? So, if you run your build twice it works? Barak Yaish wrote: > Hi all, >=20 > I'm facing strange problem when I'm using the RMIC task. First, let me = describe the relevant classes: >=20 > Class A extends UnicastRemoteObject implements AInterface > Interface AInterface implements Remote >=20 > Class B extends A implements BInterface > Interface BInterface extends AInterface >=20 > The methods in class A defined as throwing SomeException (beside = RemoteException), found in 3rd party jar. >=20 > The sequence in build.xml is: compile A, rmic A, compile B, rmic B >=20 > Now, compile and rmic A is working ok. Compiling B is working ok. Rmic = of b not working - the message displayed is: > [rmic] error: Class SomeException not found in class A. (this is not = mistake - why A appears here?) >=20 > 1) What this message means? >=20 > The strange part, when I re-running ant with the same build.xml = everything is working fine, include the rmic of B. >=20 > 2) What am I doing wrong? >=20 > Thanks, >=20 > Barak. > > =20 -- Scot P. Floess 27 Lake Royale Louisburg, NC 27549 252-478-8087 (Home) 919-754-4592 (Work) Chief Architect JPlate http://sourceforge.net/projects/jplate Chief Architect JavaPIM http://sourceforge.net/projects/javapim --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org