A library is the same as an application, and created in the same way (e.g.
run create-application.py), you can then reference it from another app by
editing the config.json and changing the jobs/libraries/library key to
refer to your library.

Eg:

        ./create-application.py --name=mylib
        ./create-application.py --name=myapp

Edit myapp/config.json and change the jobs section to:

        "jobs" :
        {
                "libraries" :
                {
                        "library" :
                        [
                        {
                                "manifest" : "../mylib/Manifest.json"
                        }
                        ]
                }
        }


Classes in mylib will be accessible from myapp.

John

On 24/01/2012 09:01, "Vladimir Lipets" <[email protected]> wrote:

>
>Hello,
>
>I would like to create qooxdoo application, in fact, classes, and then
>reuse them in several other qooxdoo applications.
>
>Please help me to find an example how to do it,
>
>Thank you,
>
>Vladimir
>
>
>
>
>--------------------------------------------------------------------------
>----
>Keep Your Developer Skills Current with LearnDevNow!
>The most comprehensive online learning library for Microsoft developers
>is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>Metro Style Apps, more. Free future releases when you subscribe now!
>http://p.sf.net/sfu/learndevnow-d2d
>_______________________________________________
>qooxdoo-devel mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel




------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to