Importing a class from a hosted plugin [message #1726474] |
Mon, 14 March 2016 08:58 |
|
Hi there,
I am not managing to let a class defined in a hosted (fragment) plug-in be visible from an external plug-in.
This is what I have done:
PG_A hosts PG_B
PG_B defines class C1 in package P1.
PG_B exports package P1
PG_A as well exports package P1
PG_C adds PG_A as plug-in dependency (or as well package P1 as imported package)
As I try to import P1.C1 in plug-in PG_C, I get an error since the class is not reachable from there.
Any clue on something I am missing?
thanks,
-Piero
|
|
|
|
Re: Importing a class from a hosted plugin [message #1726622 is a reply to message #1726479] |
Tue, 15 March 2016 07:56 |
|
Thank you Dirk, that is what I required indeed.
My case is the following: my hosted plug-in is the test plug-in.
I know there are different philosophies about how to implement a test plug-in or a test fragment and so on: I chose a fragment plug-in.
A different test plug-in now would like to use an utility I created within the test plug-in, so I created this kinda weird import route.
*Thanks*
[Updated on: Tue, 15 March 2016 07:59] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02796 seconds