Module loading cross versions

simon's Avatar

simon

12 Apr, 2011 09:06 PM

Hi,

I am looking for a quick fix, rare possibility maybe but I thought I would take my chances. I have a parent app that is based on Joels Modularity application and a child application that is based on Strays Modular application using previous versions of most of the utilities. The child application is compiled as a Flex Module and the parent application proceeds to load it in using the ModuleLoader. This error is then thrown in the child application Context:

Error #1065: Variable org.robotlegs.base:ContextBase::injector is not defined.

I guess its due to different handling of Module contexts but no matter what I do I cannot find a simple solution that doesnt involve a major rework of either applications module loading logic?

Any guidance would be greatly appreciated.

Si

  1. Support Staff 1 Posted by creynders on 13 Apr, 2011 07:03 AM

    creynders's Avatar

    My guess is it has something to do with the applicationDomain the child application module is loaded in. If it doesn't have authorization to access the classes in the parent application/module it will throw that error since it can't find the class definitions.

  2. Support Staff 2 Posted by Stray on 02 May, 2011 03:33 PM

    Stray's Avatar

    Closing this as I know you've now got it sorted :)

    Stray

  3. Stray closed this discussion on 02 May, 2011 03:33 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac