Stefan,
> 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}"
>
Remove for now the 'uri' parm in this entry.
> }
> ]
> }
> }
> ...
>
> ### 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.
Please check if the cruise/Hello.js class file has been loaded into the
browser.
> 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,
Nope.
> or am I missing something? I'd like to develop
> my app without the need to build all the time. Is this possible?
>
Yes, that's the whole purpose of the source version, right ;-).
> P.S.: Two questions that came up:
> a) Do I need to build the library to be included beforehand?
No.
> (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?
>
Not in the library, but in your main application. Check that
qx.application is set to your main application class in the app's
config.json.
Thomas
>
------------------------------------------------------------------------------
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