My application has grown large enough that it warrants breaking it up to help
load speed.  Needless to say, I am trying to build it into parts.  The
problem I seem to be having is that I have a dependency problem and don't
seem to understand parts dependency well enough to know where to look for
the problem.
Here is the config entry:

"packages" : { "parts"  : {
    "boot": { "include" :  [ "Application" ] }, 
    "user" : { "include" : [ "MainWindow", "DataManager", "class1",
"class2", ... ] },
    "report" : { "include" : [ "Report", "GenerateReport" ]}
}}

I am getting the error "Attempt to block load-time dependency of class
DataManager of Application" message.  The Application class does not have
any references to DataManager or any other classes  within it.  Instead, it
creates an instance of MainWindow which is the only relationship between the
two.  Here is the creation code:

qx.io.PartLoader.require(["user"], function()
{
        // if the window is not created
        if( !this._mainWindow )
        {
                this._mainWindow = new MainWindow( ).set( { backgroundColor: 
"white" } );
        }
}, this );

If I move the "DataManager" into the "boot" part, it then gives the error
that yet another class from the "user" part is dependent.  I continue to
receive the error until the only class that is left is "MainWindow".

What would cause this?  I would appreciate any help determining where this
dependency issue is coming from.




--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Part-dependency-help-tp7584960.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to