Reg: Dependent classes

View: New views
3 Messages — Rating Filter:   Alert me  

Reg: Dependent classes

by tanchi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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




Re: Reg: Dependent classes

by Scot P. Floess-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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: user-unsubscribe@...
For additional commands, e-mail: user-help@...

Re: Reg: Dependent classes

by tanchi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



--- On Wed, 10/28/09, Scot P. Floess <sfloess@...> 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 <sfloess@...>
Subject: Re: Reg: Dependent classes
To: "Ant Users List" <user@...>
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: user-unsubscribe@...
For additional commands, e-mail: user-help@...