--- On Wed, 10/28/09, Scot P. Floess <[email protected]> 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 <[email protected]>
Subject: Re: Reg: Dependent classes
To: "Ant Users List" <[email protected]>
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   http://sourceforge.net/projects/jplate
Chief Architect JavaPIM  http://sourceforge.net/projects/javapim

Architect Keros          http://sourceforge.net/projects/keros

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


      

Reply via email to