[Zope] Distribution of ZClass Product
Stefan Mallepell
Stefan Mallepell" <steve@syso.ch
Tue, 10 Apr 2001 22:12:04 +0200
Hi
I would like to distribute a ZClass Product from my Developing Server
(Laptop ;) ) to my real public ZopeServer. I tryed the Distribution-Tab ...
but I coudn't install it on my public Server. The tar.gz file contained a
lib/python/Products/prodName directory and in that directory I found
__init__.py, product.dat and version.txt . I copied the prodName directory
(including the three files) to my lib/python/Products directory and
restarted the server ... nothing happend ...
So I transfered it via Import/Export - it worked and I started to run the
website including some of my new objects.
But now I developed further on my laptop and I would like to transfer the
newer version of my product to the public server ... hmm ... well I tryed to
play again the import export game ... this didn't worked, corse the MetaName
was already inuse (well my Product which I like to update is using it - of
corse) ...
so I first deleted the Product on the public Server and imported the newer
version - but now the new attributes are not available on the instances of
the classes ... after a reboot of the server it worked properly
* Now my questions.
What have I done wrong in the proper way of distribution Zclass products?
Is my "Export - delete - Import - reboot - Version" a valid way of doing it?
Or do I wake up with a broken Database, crashed Webside, damaged
installation?
I'm sorry that I'm such a newbie ... but I really apriciate the help of this
MailingList ...
Yours
Stefan Mallepell
www.kisc.ch