Hi all,
I think I've mostly completed the job of adding a demobrowser-source
command to the generator, just like ./generate.py test-source, but I
need a little nudge in the right direction.
What I did so far:
I've reused most of what there is in application/demobrowser: I moved
the required code to component/demobrowser, added (crude) jobs to
application.json and adjusted demobrowser loader scripts accordingly.
I imitated application/demobrowser to have demo html files in
source/class/demo, demo code in source/class/app/demo. I think I'll
eventually auto-generate html files once I get this working.
Here's a project example: https://gist.github.com/4353160/
Github's new gist interface is quite bad, so if you just clone the
repository, you'll better see the contents.
But well, as of yet, the generated demobrowser not working. The problem
is that I have source scripts in source/class/app/demo but I have
generated scripts in demobrowser/source/scripts. I guess some generator
magic is needed to make this work, but my last-couple-of-hours-fiddling
did not get me anywhere.
In other words, I need to get rid of these two 404's:
http://localhost:8000/source/demo/test/source/script/demotest.demo.test.Demo.a9ebe871a4fa.js
http://localhost:8000/source/demo/source/class/demotest/demo/test/Demo.js
They should be:
http://localhost:8000/demobrowser/source/script/demotest.demo.test.Demo.a9ebe871a4fa.js
http://localhost:8000/demobrowser/source/class/demotest/demo/test/Demo.js
I'm not submitting a pull request yet, because I think you have a rule
of having the relevant bug number in commit logs and I'm going to have
to do a lot of history re-writing to get there, I guess :)
I'm keen on seeing this merged to qooxdoo. I hope it's not impossible!
Best regards (and merry cristmas),
Burak
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel