Hi guys,
I've just started to look into qooxdoo and realized that since 0.8.x "Multi
namespaces per library are not supported" anymore. So, I've been trying to
get my application to work by including external libraries.
Here's my simplified test case: Application1 (custom) uses a class of
application2 (cruise) to say "hello".
### App1 - source/class/custom/Application.js ###
...
// say hello
var remHello = new cruise.Hello();
remHello.say("remote hello");
...
### App1 - config.json ###
...
"jobs" : {
{
"library" :
[
{
"manifest" : "${CRUISE}/Manifest.json",
"uri" : "${CRUISE}"
}
]
}
}
...
### App2 - source/class/cruise/Hello.js ###
qx.Class.define("cruise.Hello",{
extend : qx.ui.core.Widget,
construct: function() {
this.base(arguments);
},
members : {
say : function(text) {
alert(text);
}
}
});
This works, but only once I _build_ my application1. I cannot test and debug
with the source version. If I only "generate.py source" I see nothing but a
blank (browser) window. A soon as I run "generate.py build" and open the
build version, the remote class is properly called and says "hello".
Is this intended behaviour, or am I missing something? I'd like to develop
my app without the need to build all the time. Is this possible?
P.S.: Two questions that came up:
a) Do I need to build the library to be included beforehand? (Seems to work
without).
b) If I try to build it I get informed that I need an Application class. Do
I need an application class in a library?
Cheers,
Stefan
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel