[Zope-dev] test.py and symlinks

2004-11-16 Thread Florent Guillaume
I need this patch to make test.py work when some of my directories are 
symlinked elsewhere.

Without this, I can't run
  bin/zopectl test -vv --dir Products/CMFCore
when Products is a symlink and CMFCore is also a symlink.
I'll check it in soon unless someone sees a problem with it.
Thanks,
Florent
--- test.py.~1.2.2.15.~	2004-11-05 11:44:18.0 +0100
+++ test.py	2004-11-16 17:26:02.0 +0100
@@ -380,11 +380,12 @@
 self.cwd = os.path.realpath(os.getcwd())
 # Hack again for external products.
 if libdir:
-self.libdir = os.path.realpath(os.path.join(self.cwd, libdir))
+self.libdir = os.path.join(self.cwd, libdir)
 else:
-self.libdir = os.path.realpath(os.path.join(self.cwd, 
self.libdir))
-if self.libdir not in sys.path:
-sys.path.insert(0, self.libdir)
+self.libdir = os.path.join(self.cwd, self.libdir)
+real_libdir = os.path.realpath(self.libdir)
+if real_libdir not in sys.path:
+sys.path.insert(0, real_libdir)
 # Determine where to look for tests
 if test_dir:
 self.testdir = os.path.abspath(os.path.join(self.cwd, 
test_dir))

--
Florent Guillaume, Nuxeo (Paris, France)   CTO, Director of RD
+33 1 40 33 71 59   http://nuxeo.com   [EMAIL PROTECTED]
___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] webdav and excel read-only problem

2004-11-16 Thread David King
I'm having the problem that others have already posted about [1][2].  
Andreas Jung mentioned in a message from September 2004 that he had 
posted an explaination of the issues about two years ago.  I've googled 
zope.org and manually searched every month in the archive at [3] and 
couldn't find that explaination.  I've also searched through Microsoft's 
knowledgebase with no luck.  Does anybody have a link to Andreas' 
message or a similar explaination of the problem?

[1] http://mail.zope.org/pipermail/zope/2002-March/111345.html
[2] http://mail.zope.org/pipermail/zope-dev/2004-September/023776.html
[3] http://mail.zope.org/pipermail/zope-dev/
Thanks,
-David
___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )