On Wed, Dec 10, 2008 at 1:08 PM, Kenny Tilton <[EMAIL PROTECTED]>wrote:
>
> I seem to have found a work-around: always build. The Lisp server finds
> stuff then, I guess because qooxdoo is resolving everything during the
> generate and putting it one place.
>
> Meanwhile, my various experiments indicate qooxdoo is creatively
> assembling paths on the fly, so as I try to make the server happy by
> moving things or publishing directories for it to search qooxdoo ends up
> still asking for something the server cannot find.
>
> I also noticed that the generate.py created for an application hardcodes
> a path back to the real generate.py, which is how I got into this mess
> -- I cleaned up what I thought was a stray copy of qooxdoo and it turns
> out that was the copy from which I had generated my application. I did
> not realize that at the time so I started poking and prodding and
> restoring to backup copies of the app itself until I was /really/
> screwed. :)
>
> qooxdoo roolz, but this dynamic/hardocde directory juggling seems a bit
> brittle.
Hi Kenny,
The "source" generation is intended for not moving anything anyplace. It's
used when you want to test your application directly from its source tree.
It's really nice to test that way, because you don't need to keep running
the generator (except when you add the use of new classes).
If you're using a backend, that becomes a bit more complicated. My solution
was to map a web server "root" to the top of my source tree (actually to my
home directlry), and then access the url that takes me to that root and
proceed from there. I therefore have a section of my appache configuration
file that looks like this:
<VirtualHost 127.0.0.1>
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /home/derrell/
<Directory /home/derrell/>
Options FollowSymLinks
AllowOverride None
Order Allow,Deny
Allow from All
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
</VirtualHost>
You'll have to work out how to do something similar with your web server,
but maybe that'll help you to create an easier development environment.
Cheers,
Derrell
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel