ArchGenXML | ArgoUML - Profile not found

stoner! <[email protected]>
Newsgroups gmane.comp.web.zope.german
Message-ID <[email protected]>
Hallo liebe Liste,

ich versuche derzeit neue Inhaltstypen/Archetypes per ArchGenXML zu
erstellen und halte mich dabei an die Dokumentation auf plone.org, siehe
hier:
http://plone.org/documentation/manual/developer-manual/using-archgenxml/referencemanual-all-pages

Beim Nachvollziehen des Minimalbeispiels "HelloWorld" scheitere ich am
eigentlichen Aufruf von AGX:

C:\ArchGenBuildout> archgenxml uml\helloworld.zargo
INFO  ArchGenXML Version 2.4.1
(c) 2003-2009 BlueDynamics Alliance, Austria, GPL 2.0 or later
INFO  Parsing...
Traceback (most recent call last):
  File "C:\ArchGenBuildout\bin\archgenxml-script.py", line 19, in ?
    archgenxml.ArchGenXML.main()
  File
"c:\archgenbuildout\eggs\archgenxml-2.4.1-py2.4.egg\archgenxml\ArchGenXML.py",
line 114, in main
    gen.parseAndGenerate()
  File
"c:\archgenbuildout\eggs\archgenxml-2.4.1-py2.4.egg\archgenxml\ArchetypesGenerator.py",
line 4127, in parseAndGenerate
    profile_dir=self.options.option('profile_dir'))
  File
"c:\archgenbuildout\eggs\xmiparser-1.4-py2.4.egg\xmiparser\xmiparser.py",
line 2813, in parse
    raise IOError("Profile %s not found" % fn)
IOError: Profile archgenxml_profile.xmi not found

Sowohl der Profilordner (C:\ArchGenBuildout\profiles) als auch der
bin-Ordner (C:\ArchGenBuildout\bin) der AGX-buildouts sind im path. Ich
verwende Windows XP, ArgoUML 0.28.1 und ArchGenXML 2.4.1. Folgende
Profildatei verwende ich:
http://svn.plone.org/svn/archetypes/ArchGenXML/trunk/umltools/argouml/archgenxml_profile.xmi
Diese liegt in C:\ArchGenBuildout\profiles\archgenxml_profile.xmi.

Anstatt mit *.zargo habe ich es ebenfalls ausprobiert, das Modell als XMI zu
exportieren. Folgender Fehler kommt da:

  File
"c:\archgenbuildout\eggs\xmiparser-1.4-py2.4.egg\xmiparser\xmiparser.py",
line 697, in calcDatatype
    raise ValueError, 'datatype %s not defined' % typeid
ValueError: datatype
archgenxml_profile.xmi#9627e80f-cde2-5780-9619-55e71d92d8ea not defined

Muss das Profil irgendwo in die XMI/zargo Datei eingebettet werden? Das ist
jedenfalls nicht der Fall... Oder was mache ich falsch?

Vielen Dank und viele Grüße
~ Achim Sperling


-- 
View this message in context: http://n2.nabble.com/ArchGenXML-ArgoUML-Profile-not-found-tp4579750p4579750.html
Sent from the Zope & Plone - Germany mailing list archive at Nabble.com.



_______________________________________________
zope mailing list
[email protected]
https://mail.dzug.org/mailman/listinfo/zope
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.