Am Tue, 02 Jun 2009 21:07:09 +0200 schrieb Mirto Silvio Busico:
> Hi all,
>
> I'm trying to start to (re)develop plone products. My experience was
> with the 2.5 way.
>
> First I installed le latest plone with unified installer (with zeo
> parameter).
>
> Now I'm trying to create a new product with archgenxml 2.4.1 (from
> pypi). I create the helloworld product and the generation was ok. Then I
> copied the product in the [plone install]/zeocluster/src directory;
> added the helloworld lines in the [plone
> install]/zeocluster/buildout.cfg file.
>
> But when I launch the buildout it says that the helloworld prduct is
> missing the setup.py file
>
> And in the archgenxml product there is no setup.py file.
>
> Question: how can i use archgenxml to create products that can be
> included in the plone buildout?
I usally create the eggs structure manually or using paster. Then I put
the model in the 'Products' directory of the package and run and use
ArchGenXML from there as usal.
Afterwards it looks like:
Products.ZZTypes/
|-- README.txt
|-- setup.py
`-- src
|-- Products
| |-- ZZTypes
| | |-- ZZEvent.py
| | |-- ZZImage.py
| | |-- ZZImageLink.py
| | |-- __init__.py
| | |-- config.py
| | |-- configure.zcml
| | |-- i18n
| | | `-- generated.pot
| | |-- interfaces.py
| | |-- locales
| | |-- profiles
| | | `-- default
| | | |-- ZZTypes_marker.txt
| | | |-- cssregistry.xml
| | | |-- factorytool.xml
| | | |-- import_steps.xml
| | | |-- jsregistry.xml
| | | |-- metadata.xml
| | | |-- skins.xml
| | | |-- types
| | | | |-- ZZEvent.xml
| | | | |-- ZZImage.xml
| | | | `-- ZZImageLink.xml
| | | `-- types.xml
| | |-- profiles.zcml
| | |-- refresh.txt
| | |-- setuphandlers.py
| | `-- skins
| | |-- zztypes_images
| | | |-- ZZEvent.gif
| | | |-- ZZEvent.gif.metadata
| | | |-- ZZImage.gif
| | | |-- ZZImage.gif.metadata
| | | |-- ZZImageLink.gif
| | | `-- ZZImageLink.gif.metadata
| | |-- zztypes_styles
| | `-- zztypes_templates
| |-- __init__.py
| |-- archgenxml.log
| |-- zztypes.zuml
| |-- zztypes.zuml.bak.0
| |-- zztypes.zuml.bak.1
| |-- zztypes.zuml.bak.2
| |-- zztypes.zuml.bak.3
| `-- zztypes.zuml.bak.4
`-- Products.ZZTypes.egg-info
...
hth
--
Jens W. Klein - Klein & Partner KEG - BlueDynamics Alliance
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers