T. I'm new to qooxdoo and I'm trying to figure out if there is a "best practice" for creating reusable libraries in bigger projects. I've found something about contributions which I undestand as something that helps me to distribute projects through the qooxdoo svn. You are wondering that I try to compile the library...to be honest I don't know what I expect. Obviously I can delete the generate.py from the library project as well. This is something I conclude from your answer. Which files and folders do I need for a library ? How can I add the library to my project ? How to make sure that the library is added to my builds.
Thanks for your help, Connor Am 15.05.2012 14:50, schrieb thron7: > Well, I thought you wanted to create a library, ie. something that you > include in *other* applications?! Now you are trying to compile the > library itself - what kind of result would you expect? > > That being said I think it makes sense to re-enable building a little > demo app in your library. You can achieve this by re-adding an > Application.js main class which in turn instantiates and exercises your > Json library class. So you have both the library code and a demo > application side-by-side. > > This is helpful when developing the library. But when you include the > library - as a library! - in another application, you would ignore the > Application.js class, and would only use the "real" library class(es). > > HTH, > T. > > On 05/15/2012 01:35 PM, [email protected] wrote: >> Thanks T. I did that and got >> >> Error: Invalid include block: [u'json2sidex.Application', >> u'json2sidex.theme.The >> me'] >> Expression gives no results. Malformed entry: json2sidex.Application >> >> in the build process. Did I miss something ? >> >> Connor >> >> Am 15.05.2012 12:47, schrieb thron7: >>> Connor, you can use the stock 'gui' skeleton for that. Just create it, >>> throw away the Application.js and write whatever class suits you. (If >>> you want to create a library the application type you specify has really >>> little bearing, as long as you don't use 'bom' so you get a proper >>> skeleton). >>> >>> T. >>> >>> On 05/15/2012 10:23 AM, [email protected] wrote: >>>> Hi, >>>> >>>> How can I add a custom library to qooxdoo. I have some trouble to get >>>> started with it and can't find some example how to create a the library >>>> project. >>>> I've checked the versionlabel library as an example and found that there >>>> is no application.js. This is what I want, a pure library. I've checked >>>> the options and tried to figure out which -t switch to use to get this >>>> result. >>>> >>>> The library I want to create does not use any gui stuff. I just want to >>>> write a class, that implements a json api to add some typesafety to it. >>>> >>>> Would be great to get some advice on how to get startet with this. >>>> >>>> Thanks in advance, >>>> Connor >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Live Security Virtual Conference >>>> Exclusive live event will cover all the ways today's security and >>>> threat landscape has changed and how IT managers can respond. Discussions >>>> will include endpoint security, mobile security and the latest in malware >>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>> _______________________________________________ >>>> qooxdoo-devel mailing list >>>> [email protected] >>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >>>> >>>> >>> ------------------------------------------------------------------------------ >>> Live Security Virtual Conference >>> Exclusive live event will cover all the ways today's security and >>> threat landscape has changed and how IT managers can respond. Discussions >>> will include endpoint security, mobile security and the latest in malware >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>> _______________________________________________ >>> qooxdoo-devel mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> qooxdoo-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >> >> > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
