I had to keep the application under 0.7.3. I did not get it
translated to 0.8-released.
After login, the menu choices the user gets depend on his login
group kept on a sql rpc server. The choice data includes the
name of the class will be created by qx.Class.getByName().
I mean the new generator does not include reference to such a
class in script/custom.js. I think this may be the trouble.
Jairo Souto (38)8814-4787
thron7 wrote:
>
> Matthew Gregory wrote:
>> Add this to the top of your application.js
>>
>> /*
>> #asset(adm/*)
>> */
>>
>
> I wouldn't recommend that. The assets are only searched for in the
> source/resource path of the application. That wouldn't normally cover
> *.js files which are in the source/class path.
> Matt, is this working for you (should be surprising)?!
>
>> Jairo Souto wrote:
>>
>>> How can I make generator to include all my source/class/adm/*.js?
>>>
>
> This depends a bit on the version of your application you want to
> create, either the "source" version or the "build". Usually, you would
> only want this in the "source" version, which is good for development.
> In the "build" version, though, only the actual required classes should
> be included, since that is normally what you want to have (since the
> "build" is supposed to be somewhat optimized).
>
> So here is a quick way to include all application classes in the
> "source" version. Edit your application's config.json and add the
> following entry in the top-level map:
>
> ,"jobs" :
> {
> "my-source" :
> {
> "extend" : ["source-script"],
> "include" : ["${QXTHEME}", "${APPLICATION}.*"]
> }
> }
>
> Now you can run the new job with 'generate.py my-source' and it will
> give you a source version with all your application classes included.
>
> HTH,
> Thomas
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
--
Jairo Souto (38)8814-4787
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel