Oops, yes
It does work for me using a similar method to yours.

For our version we do this near the top of our config:

   "include" :
   [
     {
       "path" : "../qooxdoo-sdk/tool/data/config/application.json",
       "as"   : "appconf"
     }
   ]

and then the following in the jobs section:


// Republish jobs from appconf including our common job we just defined
     "api"    : { "extend" : ["common", "appconf::api"]    },
     "source" : { "extend" : ["common", "appconf::source"],
                 "include" : ["${QXTHEME}", "${APPLICATION}.*"] },
     "build"  : { "extend" : ["common", "appconf::build"]  }

this way you get the same functionality but you can just generate 
"source" rather than "my-source". IIRC there will be a nicer way to do 
this in 0.8.1

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=/


-------------------------------------------------------------------------
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

Reply via email to