On 02/09/2012 03:03 AM, Juan Fernando Jaramillo wrote:
> Well, I download again, y already it have the job qxoo-noopt in the 
> file framework/config.json.

Exactly, you can either download it from our website, or generate it in 
the framework folder.

> But I don't understant how it work, becaus, I try modifing the line of 
> the default job in my project' s file config.json as:

Look, you cannot generate it in your project, as there is no general job 
for it. The qxoo-build job is only defined in the framework folder. qxoo 
is not project-specific, so there is not much use in having this job in 
every project. Rather, it's a ready-to-use collection of framework 
classes in a read-to-use .js file. There is nothing project-specific in 
it, so you can take just the available qxoo file and use it as a library 
for your own development.

This is a deviation from the normal qooxdoo development model where the 
framework classes are normally merged into the generated application 
when you run the generator.

>
>   //"default-job" : "source-hybrid",
>   "default-job" : "qxoo-build",
>
> and them to generate my project with:
>
> > ./generate.py qxoo-noopt

As above, there is no job "qxoo-noopt" defined in your project. If you 
want to stay in the scheme of generating your application from all 
available classes (including framework classes), you might start with a 
"basic" skeleton ("create-application.py -t basic"), which is tailored 
towards non-browser environments. qxoo, on the other hand, is for people 
that don't want to use the generator at all, but just want to include 
qooxdoo's OO system on their HTML page (much like people use jQuery).

>
> And appear
> ----------------------------------------------------------------------------
>     Initializing: web
> ----------------------------------------------------------------------------
> >>> Processing configuration
> 'NoneType' object has no attribute 'hasFeature'

This is in deed an obscure error message, it should just say that this 
job is not known in your project.

This blog post [1] might help you in working with qxoo. It is geared 
towards Node/Rhino, but it's the same if you want to use it for a 
browser-based application (except you leave away the load/require 
primitives and just <script>-include qxoo in your HTML page).

HTH,
T.


[1] http://news.qooxdoo.org/download-qxoo-now



------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to