It should do what you expect but it is possible it is broken since nobody uses it. I will take a look.
massimo On Apr 7, 8:44 pm, Iceberg <iceb...@21cn.com> wrote: > Thanks for the tip, I'll consider it. But it seems dangerous. > > BTW, what on earth is the web2py.py -f FOLDER for? > > -Iceberg > > On Apr8, 1:03am, Thadeus Burgess <thade...@thadeusb.com> wrote: > > > In windows if you are using NTFS there is something called a "Junction > > Point" which is a "hard link". It works like linux `ln`. > > >http://en.wikipedia.org/wiki/NTFS_junction_point > > > You have to BE CAREFUL, hard links work like folders! If you delete a > > hard link, you delete the file!!!! You have to delete it a special > > way. > > > Here is some spiffy software > > >http://elsdoerfer.name/=ntfslink > > > -Thadeus > > > On Wed, Apr 7, 2010 at 10:44 AM, Iceberg <iceb...@21cn.com> wrote: > > > Hi, do you pals know when and how to use command line option -f > > > FOLDER? I hope to hear some experience. > > > > My major web2py develop environment used to be a web2py source version > > > freshly from latest trunk, on Windows XP, but without win32 extention > > > (why bothers). But today I have to use a web2py windows binary version > > > as a workaround due to the cron feature. Detail is available here: > > >https://groups.google.com/group/web2py/browse_frm/thread/7d577b75534f... > > > > So it seems my apps must be duplicated for the two web2py version home > > > folder. But that is inconvenient to maintain. Therefore I am looking > > > for a way to let the two (or more) copies of web2py share same > > > applications folder. On windows, we don't have "ln -s". But web2py > > > looks like having builtin solution. > > > > -f FOLDER, --folder=FOLDER > > > folder from which to run web2py > > > > However, even I start web2py like this: > > > C:\> cd \my\first\web2py > > > C:\> web2py.py -a1 -f C:\my\another\web2py > > > the web2py starts, serves, but still only hosting apps under the "\my > > > \first\web2py\applications", not those under "\my\another\web2py > > > \applications". > > > > So, is -f FOLDER supposed to do what I want? > > > > Regards, > > > Iceberg -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.