ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From M White <>
Subject Re: Reg: Dependent classes
Date Thu, 29 Oct 2009 04:55:19 GMT

--- On Wed, 10/28/09, Scot P. Floess <> wrote:

The actual problem is different.The scenario is something as follows.
There are 3 classes , for example ,  A , B & C
A is an independent class.Class B extends class C.

Now in class A I am accessing the static method of C through B ,like follows

class A 

   B.test(); // test() is a static method of class C,  B extends C

All the 3 classes are in different packages.When i compiled class A through ant,i got the
following error --

cannot find symbol : test() 
location : class B

Even though both the classes B & C are already compiled.

So i just updated class B with a space,so that it gets compiled next time.
Now on compiling class A again,class B also got compiled , but class C does'nt & i did'nt
get the any compilation error.
              Even though the issue is fixed ,i know nothing about the snag.
   Kindly suggest.
Thanks & Regards
From: Scot P. Floess <>
Subject: Re: Reg: Dependent classes
To: "Ant Users List" <>
Date: Wednesday, October 28, 2009, 2:16 PM

Define not compiled...  Are they compiled at all?

On Wed, 28 Oct 2009, M White wrote:

> Hi,
>     At times the dependent classes are not getting compiled.
>     What could be wrong?
>     Kindly suggest.
> Thanks & Regards

Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-890-8117 (Work)

Chief Architect JPlate
Chief Architect JavaPIM

Architect Keros

To unsubscribe, e-mail:
For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message