Hi Daniel,

thanks for your detailed replay.
>
> I have examined the result of the migration a bit more and compared it 
> to the new skeleton.
> The resulting JS still has the line
> extend: qx.component.AbstractApplication,
> whereas in the skeleton it is
> extend : qx.application.Gui,
>
> Also, I guess the call
> qx.component.AbstractApplication.call(this);
> should not be there anymore. Is
> this.base(arguments);
> the replacement?
>   
Yes "qx.component.AbstractApplication" has been replaced by 
"qx.application.Gui" and "this.base(arguments)" always calles the 
overriddden method of the super class. I have updated the migration 
scripts so these cases should now be handled.
> And finally, the line
> qx.io.Alias.getInstance().add("timeit", 
> qx.Settings.getValueOfClass("timeit.Application", "resourceUri"));
> is now different in the skeleton, there it would be something like
> qx.io.Alias.getInstance().add("timeit", 
> qx.core.Setting.get("timeit.resourceUri"));
>   
Setting handling has changed so much, that automatic migration is not 
possible. You have to convert your settings manually.

1. All settings must be prefixed with your top level application 
namespace ("timeit" in cour case)
2. All calls to "qx.Settings.getValueOfClass" of "getSetting()" must be 
replaced by "qx.core.Setting.get()"
3. It is no longer possible to change/set a setting at runtime. Settings 
are purely evaluated at load time.

http://qooxdoo.org/documentation/user_manual/settings

> I still get a few error messages when trying to load the application:
> 1:
> Forbidden setting "resourceUri" found in "timeit.Application". It is 
> forbidden to define a default setting for an external namespace!
> [Break on this error] throw new Error('Forbidden setting "' + key + '" 
> found in "' + nam...
>   
see above

The other errors seem to be consequences of the earlier errors.

Hope this helps,
Fabian

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to