Re: ArchGenXML thought

Reinout van Rees <[email protected]>
Newsgroups gmane.comp.web.zope.plone.archetypes.devel
Organization Zest software
Message-ID <[email protected]>
Matt wrote:
> 
> Ok, I guess that's all a yes.
> 
> Are there any developer protocols you all adhere to? I'm very  familiar 
> with plone test cases and selenium testing and pretty ok on  subversion 
> branching and merging. 

Archgenxml is only very lightly tested. Basically only the PyParser.py 
is tested with unittests (and a few other utility methods). There's one 
big whopping 2000 line method in ArchetypesGenerator.py or so that does 
most of the work: that's not tested. So if you haven't looked at the 
code yet, be prepared for a nasty surprise.

In the end, it all works and it's not too bad. It is a mess, though.

> I presume I need to set up a branch  on 
> http://svn.plone.org/svn/archetypes/ArchGenXML/branches/  - say  
> http://svn.plone.org/svn/archetypes/ArchGenXML/branches/ 
> form_controller_support ? ... and some permissions to access it.

If you don't have archetypes repository access yet, could you do it as a 
patch?

> also, which specifications of XMI should be developed against?
> 
> xmi 2.0
> xmi 2.1
> xmi 1.3
> xmi 1.2
> xmi 1.1
> 
> and UML
> 
> uml 2.0
> uml 1.5
> 
> I someone could edit that list it would help, or I could follow my  nose 
> in the code.

Just look at the code. This is actually a bit of a mess. There's a xmi 
1.0, 1.1 and 1.2 reader, but basically only the 1.2 gets used. And that 
includes lots of if/else statements to support all the various UML 
products (including xmi 2.0 support for poseidon4.0). Best talk with 
Phil about how to structure that ('zwork' on irc).

Reinout

-- 
Reinout van Rees                       r.van.rees @ zestsoftware.nl
http://vanrees.org/weblog/                  http://zestsoftware.nl/
"Military engineers build missiles. Civil engineers build targets."



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.