Hide Other Layers from This Layer
Hi,
I have one layer with an application which requires Java, and I have Java in another layer. The application layer is dependent upon the Java layer.
This all works fine: when the application layer is activated it activates and uses the Java in the Java layer.
If I set the Java layer to Hide From Other Layers, and Hide from Operating System, the application works fine also.
But if I set the Java layer to Hide Other Layers From This Layer, the applications complains that it cannot find the Java main class.
My understanding is that the visibility (isolation) settings do not apply to the layer which has the dependency. Is this a problem with my Java layer (I wouldn't have thought so as the Java layer works fine with no isolation set).
Can someone please clarify what the Hide Other Layers From This Layer setting might be doing?
Cheers,
Matt
Comments
I believe dependences and
I believe dependences and isolation only work when they're both on the same layer, so you'd have to make your java layer dependent on your java app layer for the java app to see it.
If a forum post solves your problem please flag is as the solution
Hi Jordan, Thanks for your
Hi Jordan,
Thanks for your reply. So what you are basically saying is that both layers have to be dependent on each other, and this appears to be the case in my testing.
Cheers,
Matt
in this scenario yes.
in this scenario yes.
If a forum post solves your problem please flag is as the solution
Thanks Jordan. I'm still not
Thanks Jordan. I'm still not clear on what happens when you don't flag it 'Hide Other Layers From This Layer' though. Can you possibly elaborate on what this setting is doing? Cheers.
The layer with the flag
The layer with the flag should not see the registry or files inside any other layers, with the exception of any dependent layers.
The other flag, Hide this layer from other layers, is the opposite--no other layer can see the layer with the flag's registry or files, unless this layer is on another layer's dependent layer list.
If a forum post solves your problem please flag is as the solution
Would you like to reply?
Login or Register to post your comment.