> On a note I uncovered while trying to figure this out - whenever I try
> to run the generate.py script from within my contrib, it complains
> that it "Cannot find real generator script under ...".  Is the contrib
> supposed to be kept strictly within the official Qooxdoo library? I
> have installed the Qooxdoo folders under /opt/qooxdoo but I am doing
> my work in, and consequently I my qx-contrib folder under, my user's
> home directory.  It is under the home directory that the contribution
> generate.py script is looking for the "real generator script".  Thus
> trying to build or lint my library does not work.

The thing is, when you start off with a "contribution" skeleton, it 
doesn't use your local qooxdoo path, but sets everything up as if the 
contrib were in the qooxdoo-contrib repository. This has the structure

   Contrib1/
   Contrib2/
   ...
   qooxdoo/
           <version>

The contrib skeleton uses the qooxdoo installation which is supposedly 
under ../qooxdoo/<version>.

As this is obviously not matching your local environment, you have two 
choices:
- you either adapt your contrib's config.json(s) to use your qooxdoo 
installation under /opt/qooxdoo, or
- (this is what I do) you create a symlink under ../qooxdoo/ to link to 
your /opt/qooxdoo installation

With the second choice, you are still compliant with the qooxdoo-contrib 
structure, and should your contrib be checked in to the repository 
eventually, everything will work for other people checking it out. If 
you go for the first approach, obviously this will not work for most 
people checking out your contrib.

T.

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to