Re: including arbitrary files in zope products
I borrowed the "product_home = Globals..." line from your code. Thanks!
But this is not optimal because if I change applet.jar (which happens a lot during development), it is not automatically reflected within Zope. Yes, you are right. Perhaps you should try what Max suggested.
I also suspect that some of these products might be of help:
http://sourceforge.net/projects/localfs
http://zope.org/Members/shh/ExtFile I think this would be a good solution for you. You could perhaps add a localfs folder or an ExtFile calling the manage_add method of such classes. I also considered them for my solution, but actually I didn't use them because I don't want to add more extra dependencies to my Product and my applet doesn't change. In case it changes some day, then I will have to think about an update method, but I think it isn't difficult to do it.
participants (1)
-
Josef Meile