[Zope-CMF] can't move cmf from windows to linux

Chris Withers chrisw@nipltd.com
Mon, 05 Aug 2002 15:30:27 +0100


Dieter Maurer wrote:
> Chris Withers writes:
>  > ...
>  > Hmmm, if it starts with c:, it's going to have the whole path too?
>  > 
>  > eg: C:\Program Files\Website\lib\python\Products\(etc)
>  > 
>  > Am I correct in thinking that only the following should be stored:
>  > 
>  > /lib/python/Products/(etc)
> Zope strips the "INSTANCE_HOME" or "SOFTWARE_HOME", respectively,
> because the directories are located relative to one of these locations.
> If you see an absolute path, you probably cannot translate it for
> a different platform.

Well, I'm hoping these fixes:

http://cvs.zope.org/CMF/CMFCore/DirectoryView.py.diff?r1=1.26&r2=1.27
http://cvs.zope.org/CMF/CMFCore/utils.py.diff?r1=1.26&r2=1.27

...will solve the problem. Can people give them a bash and let me knwo if there 
are any problems?
If not, I'd really like to merge this into the 1.3 branch.

Could someone give me a go-ahead?

cheers,

Chris