wingide zope debugging support in buildout setup

View: New views
4 Messages — Rating Filter:   Alert me  

wingide zope debugging support in buildout setup

by johannes raggam :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hello,

in a buildout setup i initially failed with installing zope2/plone
support in wingIDE but finally got it up and running.
to share my experience, here is what i have done:

say, ~/buildout is my buildout root directory

1) ~/buildout/parts/instance/etc/zope.conf
here are only INSTANCEHOME and CLIENTHOME variables defined.
i also defined:
%define ZOPE_HOME ~/buildout/parts/zope2
%define ZOPE ~/buildout/parts/zope2
%define INSTANCE_HOME ~/buildout/parts/instance
%define SOFTWARE_HOME ~/buildout/parts/zope2/lib/python

i don't know if all these vars are needed, but the
project/properties/extensions dialog swallowed it AFTER RESTARTING
WINGIDE.

2) wingide installed the WingDBG product into
~/buildout/parts/instance/Products but this directory was not otherwise
used by my buildout setup. so i decided not to add a aditional
"products" variable into zope.conf but to move WingDBG into the
~/buildout/products directory

the rest is described in http://www.wingware.com/doc/howtos/zope

hope that helps someone who could need it :)

cheers, johannes raggam


_________________________________________________
Wing IDE users list
http://wingware.com/lists/wingide

Re: wingide zope debugging support in buildout setup

by John Ehresman-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

johannes raggam wrote:
> 2) wingide installed the WingDBG product into
> ~/buildout/parts/instance/Products but this directory was not otherwise
> used by my buildout setup. so i decided not to add a aditional
> "products" variable into zope.conf but to move WingDBG into the
> ~/buildout/products directory

Thanks for the write up.  Do Products normally go in ~/buildout/Products
or does this depend on the buildout configuration?

Cheers,

John
_________________________________________________
Wing IDE users list
http://wingware.com/lists/wingide

Re: wingide zope debugging support in buildout setup

by Wingware Support :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

johannes raggam wrote:
> 2) wingide installed the WingDBG product into
> ~/buildout/parts/instance/Products but this directory was not otherwise
> used by my buildout setup. so i decided not to add a aditional
> "products" variable into zope.conf but to move WingDBG into the
> ~/buildout/products directory

Thanks for the write up.  Do Products normally go in ~/buildout/Products
or does this depend on the buildout configuration?

Cheers,

John

_________________________________________________
Wing IDE users list
http://wingware.com/lists/wingide

Re: wingide zope debugging support in buildout setup

by johannes raggam :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


> say, ~/buildout is my buildout root directory

> Thanks for the write up.  Do Products normally go in ~/buildout/Products
> or does this depend on the buildout configuration?
>
currently i'm not a buildout expert, but
yes, i think that ~/buildout/products (note the capitalization) ist the
directory for old-style products (in contrast to new style eggs). but
there is still a instance's products directory
~/buildout/parts/instance/Products . it is just not configured in
~/buildout/parts/instance/etc/zope.conf

more information is available at:
http://plone.org/documentation/tutorial/buildout/tutorial-all-pages

and in general:
http://pypi.python.org/pypi/zc.buildout/

cheers,
hannes


> Cheers,
>
> John

_________________________________________________
Wing IDE users list
http://wingware.com/lists/wingide
LightInTheBox - Buy quality products at wholesale price!