You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@royale.apache.org by Roman Isitua <ro...@gmail.com> on 2021/11/25 19:17:36 UTC

referencing a class from a sibling module

I am working on a maven based multi module royale project. The project uses
crux. I created some classes in the main module. These classes were
declared in my crux config. I want to reference these classes in the child
module.

How can I register the main module as a dependency to the child module ?
I need to do this so I can reference these classes in the child module.

Regards,

Re: referencing a class from a sibling module

Posted by Roman Isitua <ro...@gmail.com>.
It appears the only way out is to create a stand alone royale library.

I will create the library implement the classes I need then declare the
library as a dependency in every module that needs it.

If there is an alternative way of achieving this will appreciate if someone
can share with me.


Regards,


On Thu, 25 Nov 2021, 20:17 Roman Isitua, <ro...@gmail.com> wrote:

> I am working on a maven based multi module royale project. The project
> uses crux. I created some classes in the main module. These classes were
> declared in my crux config. I want to reference these classes in the child
> module.
>
> How can I register the main module as a dependency to the child module ?
> I need to do this so I can reference these classes in the child module.
>
> Regards,
>