Would be like:

pak.a
public interface A1{
   ...
}

pak.b
public interface B1{
   ...
}

import pak.B1
publica class A{
   private B1;
   ...
}

import pak.A1
publica class B{
   private A1;
   ....
}

?

Could you send some examples?


2007/1/22, Wayne Fay <[EMAIL PROTECTED]>:

You don't. You need to do some refactoring (extract interfaces) or
something so you have a very clear A->B or B->A dependency.

Wayne

On 1/22/07, fernando da Motta hildebrand <[EMAIL PROTECTED]>
wrote:
> Ok,
>
> Got subproject with source of class A,
> and got subproject with source of class B,
>
> Here are examples of the two classes:
>
> import org.pack.B
> publica class A{
>    private B;
>    ...
> }
>
> import org.pack.A
> publica class B{
>    private A;
>    ....
> }
>
> As you can see, both are inter-dependent, but rest in diferent
subprojects
> of maven (using maven 1.x by the way...).
>
> How do I build this project?
>
>
> --
> Fernando da Motta Hildebrand
> Desenvolvedor
> Brooks' Law : "adding manpower to a late software project makes it
later..."
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Fernando da Motta Hildebrand
Desenvolvedor
Brooks' Law : "adding manpower to a late software project makes it later..."

Reply via email to