on archgenxml and argouml_profile.xmi

24 messages Options
Embed this post
Permalink
1 2
Trin-2 () on archgenxml and argouml_profile.xmi
Reply Threaded More More options
Print post
Permalink
Hi,

I'm slowly learning with archgenxml. One thing I noticed was, that
archgenxml ignores some tagged values and stereotypes. I looked into the
xmi and have seen thing like:
<UML:ModelElement.stereotype>
                <UML:Stereotype href =
'http://argouml.org/user-profiles/argouml_profile.xmi#xmi.331'/>
</UML:ModelElement.stereotype>

the problem is in the href - there should be some link to information in
argouml.xmi. I don't know, how should I use argouml_profile.xmi profile,
so that these links are correctly set. Currently I solve this problem by
defining tagged value types and stereotypes by hand inside the project.

Anyone encountered the same problem?
Thanks.

Martin

------------------------------------------------------------------------------
_______________________________________________
Archetypes-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/archetypes-users
Thomas N. () Re: on archgenxml and argouml_profile.xmi
Reply Threaded More More options
Print post
Permalink
Hi Martin,

as someone from the ArgoUML team I'm more like a guest here, but you could have a look on the informations I gathered here:
http://www.argouml-users.net/index.php?title=Plone

There you can find how to start ArgoUML so that the elements from the profile are known in your project:
java -Dargo.defaultModel=location_of_archgenxml/argouml/argouml_profile.xmi -jar argouml/argouml.jar

(I'd prefer to add the -D option to the starting script argouml.bat or argouml.sh)

But let me suggest to try ArgoUML 0.26.2 (the actual release) with the new profile http://svn.plone.org/svn/archetypes/ArchGenXML/trunk/umltools/argouml/archgenxml_profile.xmi
which can be enabled inside ArgoUML (Edit->Setttings->Profiles, there add the directory containing that profile to the Default XMI Directories list, after restart you can enable that profile in "File->ProjectProperties->Profiles).
Trin-2 () Re: on archgenxml and argouml_profile.xmi
Reply Threaded More More options
Print post
Permalink
Thomas N. wrote:

> Hi Martin,
>
> as someone from the ArgoUML team I'm more like a guest here, but you could
> have a look on the informations I gathered here:
> http://www.argouml-users.net/index.php?title=Plone
>
> There you can find how to start ArgoUML so that the elements from the
> profile are known in your project:
> java -Dargo.defaultModel=location_of_archgenxml/argouml/argouml_profile.xmi
> -jar argouml/argouml.jar
>
> (I'd prefer to add the -D option to the starting script argouml.bat or
> argouml.sh)
>
> But let me suggest to try ArgoUML 0.26.2 (the actual release) with the new
> profile
> http://svn.plone.org/svn/archetypes/ArchGenXML/trunk/umltools/argouml/archgenxml_profile.xmi
> which can be enabled inside ArgoUML (Edit->Setttings->Profiles, there add
> the directory containing that profile to the Default XMI Directories list,
> after restart you can enable that profile in
> "File->ProjectProperties->Profiles).
>  
Thomas,
the new profile works a bit better than the one from agx-2.1. I was
using ArgoUML 0.26.2 already, but I had only added the profile, now I
also added the Default XMI directory.  But even though I added the
directory (and changed the profiles, started a new project to ensure
everything uses the new settings),  there are still references to
argouml.org in the xmi file:
 
<UML:TagDefinition href =
'http://argouml.org/user-profiles/archgenxml_profile_new.xmi#07212beb-609a-5dd6-8be3-213b7d6772f5'/>

AGX cannot process the "href", it expects only "idref" and so ends with
python exception. Maybe the agx from svn can process it. Which agx
version do you use?


Thanks,
Martin

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Archetypes-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/archetypes-users
Thomas N. () Re: on archgenxml and argouml_profile.xmi
Reply Threaded More More options
Print post
Permalink
Hi Martin!

Trin wrote:
AGX cannot process the "href", it expects only "idref" and so ends with
python exception. Maybe the agx from svn can process it. Which agx
version do you use?
The honest answer? I never used AGX! *LOL*

I'm just a member of the ArgoUML development team and assisted a little bit when Vincent Fretin developed the new archgenxml_profile.xmi. The prefix 'http://argouml.org/user-profiles/' is needed by ArgoUML to find the element in the loaded user profiles. For some work of Vincent regarding that profile, see: http://plone.org/products/archgenxml/issues/229

Another option that might work for you is to import the profile via "File->Import XMI...", but then you have the whole profile in your user model. The reference to the stereotype will then look like:

          <UML:Classifier.feature>
            <UML:Operation xmi.id = '-64--88-109-34-44f558b8:11ed55cdf22:-8000:0000000000001FEE'
              name = 'newOperation' visibility = 'public' isSpecification = 'false' ownerScope = 'instance'
              isQuery = 'false' concurrency = 'sequential' isRoot = 'false' isLeaf = 'false'
              isAbstract = 'false'>
              <UML:ModelElement.stereotype>
                <UML:Stereotype xmi.idref = '339d4b64-3e9f-5715-ad1b-75b061229e6e'/>
              </UML:ModelElement.stereotype>
              <UML:BehavioralFeature.parameter>
                <UML:Parameter xmi.id = '-64--88-109-34-44f558b8:11ed55cdf22:-8000:0000000000001FEF'
                  name = 'return' isSpecification = 'false' kind = 'return'/>
              </UML:BehavioralFeature.parameter>
            </UML:Operation>
          </UML:Classifier.feature>

But this can't be the solution. I can't believe that neither the old nor the new profile never worked for AGX and you are the first who dares to tell it... ;-)

Sorry that you met the only member of this list that never used AGX. *LOL again*

Thomas
Thomas N. () Re: on archgenxml and argouml_profile.xmi
Reply Threaded More More options
Print post
Permalink
So the real question then is: since which version AGX is able to resolve hrefs? (It has to!)
Trin-2 () Re: on archgenxml and argouml_profile.xmi
Reply Threaded More More options
Print post
Permalink


On Wed, Jan 14, 2009 at 3:06 PM, Thomas N. <[hidden email]> wrote:

So the real question then is: since which version AGX is able to resolve
hrefs? (It has to!)
 
It does not. I checked the code. There is no reference to hrefs or including profiles. More! *.zargo does not even contain the profile path, only the profile filename (*.xmi does not contain even that). So AGX cannot find the profile based on the information provided.
When looking into the code, I have found out that modifying agx to include profiles is not that hard. It took me a day to modify it, but it works. I attached a patch against agx-2.1. tarball (I was not able to install current svn of agx). Apply with:

patch -p0 <agx_profiles.diff

in the a directory with the unpacked tarball.

What does the patch change:
You can specify a directory, where your profiles are stored, on the command line.
All used profiles must be in the directory. Even the default uml1.4 profile. I didn't search for that one, I just removed the uml1.4 profile from my project and used only AGX types (tagged values, stereotypes).
When supplying a .zargo file, the .zargo archive is searched for profile description and for profile filenames. So this only works for the .zargo files. For regular xmi files you will have to modify the agx a bit more. But this is not my problem anymore, I'm happy with argouml :-)

I hope this change will reach AGX-2.2 (in this form or another).

Cheers,
Martin
 

--
View this message in context: http://n2.nabble.com/on-archgenxml-and-argouml_profile.xmi-tp2101053p2157002.html
Sent from the Archetypes mailing list archive at Nabble.com.


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Archetypes-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/archetypes-users


[agx-profiles.diff]

--- archgenxml-2.1./src/archgenxml/ArchetypesGenerator.py 2009-01-21 13:35:05.000000000 +0100
+++ archgenxml-2.1./src/archgenxml/ArchetypesGenerator.py 2009-01-19 16:45:36.000000000 +0100
@@ -46,6 +46,8 @@
 from archgenxml.plone.interfaces import IConfigPyView
 from archgenxml.uml.interfaces import *
 
+import ZargoParser
+
 _marker = []
 log = logging.getLogger('generator')
 
@@ -3966,10 +3968,19 @@
             zf=ZipFile(self.xschemaFileName)
             xmis=[n for n in zf.namelist() if os.path.splitext(n)[1].lower()in ['.xmi','.xml']]
             assert(len(xmis)==1)
+            # search for profiles includes in *.zargo zipfile
+            profile_files = {}
+            if self.profile_dir != '':
+                profiles=[n for n in zf.namelist() if os.path.splitext(n)[1].lower() in ['.profile']]
+                assert(len(profiles)==1)
+                for fn in ZargoParser.getProfileFilenames(zf.read(profiles[0])):
+                    profile_files[fn] = os.path.join(self.profile_dir, fn)
+                print "Profile files: '"+str(profile_files)+"'"
             buf=zf.read(xmis[0])
             self.root=root=XMIParser.parse(xschema=buf,
                                            packages=self.generate_packages, generator=self,
-                                           generate_datatypes=self.generate_datatypes)
+                                           generate_datatypes=self.generate_datatypes,
+                                           profile_files=profile_files)
         else:
             raise TypeError,'input file not of type .xmi, .xml, .zargo, .zuml'
 
--- archgenxml-2.1./src/archgenxml/ArchGenXML.py 2009-01-21 13:35:05.000000000 +0100
+++ archgenxml-2.1./src/archgenxml/ArchGenXML.py 2009-01-19 15:49:10.000000000 +0100
@@ -99,6 +99,10 @@
     if options['pdb_on_exception']:
         sys.excepthook = info
 
+    # check if profile_dir options was set
+    if options['profile_dir']:
+        print "profile_dir: '"+options['profile_dir']+"'"
+
     # start generation
     try:
         # for standalone use
--- archgenxml-2.1./src/archgenxml/OptionParser.py 2009-01-21 13:35:05.000000000 +0100
+++ archgenxml-2.1./src/archgenxml/OptionParser.py 2009-01-19 15:57:59.000000000 +0100
@@ -319,6 +319,15 @@
                   default='',
                   )
 
+parser.add_option("-p",
+                  "--profile-dir",
+                  dest="profile_dir",
+                  help="Directory, where xmi profiles are stored. No other xmi files should be there",
+                  section="GENERAL",
+                  type="string",
+                  default='',
+                  )
+
 #----------------------------------------------------------------------------
 # Config File options
 
--- archgenxml-2.1./src/archgenxml/XMIParser.py 2009-01-21 13:35:05.000000000 +0100
+++ archgenxml-2.1./src/archgenxml/XMIParser.py 2009-01-20 12:21:37.000000000 +0100
@@ -40,7 +40,6 @@
 # Tag constants
 clean_trans = string.maketrans(':-. /$', '______')
 
-
 class XMI1_0(object):
     XMI_CONTENT = "XMI.content"
     OWNED_ELEMENT = "Foundation.Core.Namespace.ownedElement"
@@ -161,6 +160,15 @@
     def getIdRef(self, domElement):
         return domElement.getAttribute('xmi.idref').strip()
 
+    def getHrefId(self, domElement):
+        href = domElement.getAttribute('href').strip()
+        splitted = href.rsplit('/',1)
+        if not len(splitted) == 2: return ''
+        return splitted[1]
+    
+    def getIdRefOrHrefId(self, domElement):
+        return self.getIdRef(domElement) or self.getHrefId(domElement)
+
     def getAssocEndParticipantId(self, el):
         assocend = getElementByTagName(el, self.ASSOCEND_PARTICIPANT, None)
 
@@ -432,7 +440,7 @@
         if len(typeinfos):
             classifiers = typeinfos[0].getElementsByTagName(XMI.CLASSIFIER)
             if len(classifiers):
-                typeid = str(classifiers[0].getAttribute('xmi.idref'))
+                typeid = str(self.getIdRefOrHrefId(classifiers[0]))
                 typeElement = datatypes[typeid]
                 att.type = XMI.getName(typeElement)
                 # Collects all datatype names (to prevent pure datatype
@@ -626,19 +634,19 @@
             # Fix for http://plone.org/products/archgenxml/issues/62
             return None, None
         # Fetch the name from the global tagDefinitions (weird)
-        idref = tdef.getAttribute('xmi.idref')
-        tagname = normalize(self.tagDefinitions[idref].getAttribute('name'))
+        id = self.getIdRefOrHrefId(tdef)
+        tagname = normalize(self.tagDefinitions[id].getAttribute('name'))
         tagvalue = normalize(getAttributeValue(el, self.TAGGED_VALUE_VALUE,
                                                default=None))
         return tagname, tagvalue
 
-    def collectTagDefinitions(self, el):
+    def collectTagDefinitions(self, el, prefix=''):
         tagdefs = el.getElementsByTagName(self.TAG_DEFINITION)
         if self.tagDefinitions is None:
             self.tagDefinitions = {}
         for t in tagdefs:
             if t.hasAttribute('name'):
-                self.tagDefinitions[t.getAttribute('xmi.id')] = t
+                self.tagDefinitions[prefix+t.getAttribute('xmi.id')] = t
 
     def calculateStereoType(self, o):
         # In xmi its weird, because all objects to which a stereotype
@@ -649,7 +657,7 @@
         for st in sts:
             strefs = getSubElements(st)
             for stref in strefs:
-                id = stref.getAttribute('xmi.idref').strip()
+                id = self.getIdRefOrHrefId(stref)
                 if id:
                     st = stereotypes[id]
                     o.addStereoType(self.getName(st).strip())
@@ -679,7 +687,7 @@
             classifiers = [cn for cn in typeinfos[0].childNodes
                            if cn.nodeType == cn.ELEMENT_NODE]
             if len(classifiers):
-                typeid = str(classifiers[0].getAttribute('xmi.idref'))
+                typeid = self.getIdRefOrHrefId(classifiers[0])
                 try:
                     typeElement = datatypes[typeid]
                 except KeyError:
@@ -2679,6 +2687,51 @@
 
     XMI.collectTagDefinitions(doc)
 
+def buildProfileDataTypes(profile_docs):
+    global datatypes
+    for key in profile_docs.keys():
+        print "DataType profile: "+key
+        doc = profile_docs[key]
+
+        getId = lambda dt: key+"#"+str(dt.getAttribute('xmi.id'))
+
+        dts = doc.getElementsByTagName(XMI.DATATYPE)
+    
+        for dt in dts:
+            datatypes[getId(dt)] = dt
+    
+        classes = [c for c in doc.getElementsByTagName(XMI.CLASS)]
+    
+        for dt in classes:
+            datatypes[getId(dt)] = dt
+    
+        interfaces = [c for c in doc.getElementsByTagName(XMI.INTERFACE)]
+    
+        for dt in interfaces:
+            datatypes[getId(dt)] = dt
+    
+        interfaces = [c for c in doc.getElementsByTagName(XMI.ACTOR)]
+    
+        for dt in interfaces:
+            datatypes[getId(dt)] = dt        
+        XMI.collectTagDefinitions(doc, prefix=(key+"#"))
+    
+def buildProfileStereoTypes(profile_docs):
+    global stereotypes
+
+    for key in profile_docs.keys():
+        print "Stereotype profile: "+key
+        doc = profile_docs[key]
+        getId = lambda dt: key+"#"+str(dt.getAttribute('xmi.id'))
+
+        sts = doc.getElementsByTagName(XMI.STEREOTYPE)
+
+        for st in sts:
+            id = st.getAttribute('xmi.id')
+            if not id:continue
+            stereotypes[getId(st)] = st
+            #print 'stereotype:', id, XMI.getName(st)
+    
 def buildStereoTypes(doc):
     global stereotypes
     sts = doc.getElementsByTagName(XMI.STEREOTYPE)
@@ -2689,7 +2742,7 @@
         stereotypes[str(id)] = st
         #print 'stereotype:', id, XMI.getName(st)
 
-def buildHierarchy(doc, packagenames):
+def buildHierarchy(doc, packagenames, profile_docs = {}):
     """Builds Hierarchy out of the doc."""
     global datatypes
     global stereotypes
@@ -2700,8 +2753,12 @@
     stereotypes = {}
     datatypenames = ['int', 'void', 'string']
 
+    buildProfileDataTypes(profile_docs)
+    buildProfileStereoTypes(profile_docs)
+
     buildDataTypes(doc)
     buildStereoTypes(doc)
+    
     res = XMIModel(doc)
 
     packageElements = doc.getElementsByTagName(XMI.PACKAGE)
@@ -2737,7 +2794,7 @@
 
     return res
 
-def parse(xschemaFileName=None, xschema=None, packages=[], generator=None,**kw):
+def parse(xschemaFileName=None, xschema=None, packages=[], generator=None, profile_files = {}, **kw):
     """ """
     global XMI
 
@@ -2746,6 +2803,10 @@
     else:
         doc = minidom.parseString(xschema)
 
+    profile_docs = {}
+    for f in profile_files.keys():
+        profile_docs[f] = minidom.parse(profile_files[f])
+
     try:
         xmi = doc.getElementsByTagName('XMI')[0]
         xmiver = str(xmi.getAttribute('xmi.version'))
@@ -2764,6 +2825,6 @@
 
     XMI.generator = generator
 
-    root = buildHierarchy(doc, packages)
+    root = buildHierarchy(doc, packages, profile_docs = profile_docs)
 
     return root
--- archgenxml-2.1./src/archgenxml/ZargoParser.py 1970-01-01 01:00:00.000000000 +0100
+++ archgenxml-2.1./src/archgenxml/ZargoParser.py 2009-01-19 16:40:03.000000000 +0100
@@ -0,0 +1,8 @@
+from xml.dom import minidom
+
+def getProfileFilenames(xml_string):
+    doc = minidom.parseString(xml_string)
+    filenames = []
+    for el in doc.getElementsByTagName('filename'):
+        filenames.append( el.childNodes[0].data )
+    return filenames


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Archetypes-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/archetypes-users
Thomas N. () Re: on archgenxml and argouml_profile.xmi
Reply Threaded More More options
Print post
Permalink
In reply to this post by Thomas N.
Hi Martin,

cool, kudos!!!

I'm not involved in the Plone/Archetypes processes, but kindly consider creating an issue record (with the patch attached) here:
http://plone.org/products/archgenxml/issues/

Thomas
Alexander Limi () Re: on archgenxml and argouml_profile.xmi
Reply Threaded More More options
Print post
Permalink
In reply to this post by Trin-2
Please put this in ArchGenXML's issue tracker instead of here — or if  
there is none, possibly even the Plone issue tracker. It will probably be  
lost if it's just posted here.

Alternatively, you could get commit access to work on AGX if you're  
interested. It definitely needs some love, the project has been silent  
lately. :)

--
Alexander Limi · http://limi.net



On Wed, 21 Jan 2009 07:23:01 -0800, Trin Trin  
<[hidden email]> wrote:

> On Wed, Jan 14, 2009 at 3:06 PM, Thomas N.  
> <[hidden email]> wrote:
>
>>
>> So the real question then is: since which version AGX is able to resolve
>> hrefs? (It has to!)
>
>
> It does not. I checked the code. There is no reference to hrefs or  
> including
> profiles. More! *.zargo does not even contain the profile path, only the
> profile filename (*.xmi does not contain even that). So AGX cannot find  
> the
> profile based on the information provided.
> When looking into the code, I have found out that modifying agx to  
> include
> profiles is not that hard. It took me a day to modify it, but it works. I
> attached a patch against agx-2.1. tarball (I was not able to install  
> current
> svn of agx). Apply with:
>
> patch -p0 <agx_profiles.diff
>
> in the a directory with the unpacked tarball.
>
> What does the patch change:
> You can specify a directory, where your profiles are stored, on the  
> command
> line.
> All used profiles must be in the directory. Even the default uml1.4  
> profile.
> I didn't search for that one, I just removed the uml1.4 profile from my
> project and used only AGX types (tagged values, stereotypes).
> When supplying a .zargo file, the .zargo archive is searched for profile
> description and for profile filenames. So this only works for the .zargo
> files. For regular xmi files you will have to modify the agx a bit more.  
> But
> this is not my problem anymore, I'm happy with argouml :-)
>
> I hope this change will reach AGX-2.2 (in this form or another).
>
> Cheers,
> Martin
>
>
>>
>> --
>> View this message in context:
>> http://n2.nabble.com/on-archgenxml-and-argouml_profile.xmi-tp2101053p2157002.html
>> Sent from the Archetypes mailing list archive at Nabble.com.
>>
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by:
>> SourcForge Community
>> SourceForge wants to tell your story.
>> http://p.sf.net/sfu/sf-spreadtheword
>> _______________________________________________
>> Archetypes-users mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/archetypes-users
>>




------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Archetypes-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/archetypes-users
Alexander Limi · http://limi.net

Alexander Limi () Re: on archgenxml and argouml_profile.xmi
Reply Threaded More More options
Print post
Permalink
On Wed, 21 Jan 2009 21:15:32 -0800, Alexander Limi  
<[hidden email]> wrote:

> Alternatively, you could get commit access to work on AGX if you're
> interested. It definitely needs some love, the project has been silent
> lately. :)

Strike that, they just released version 2.2. :)

--
Alexander Limi · http://limi.net


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Archetypes-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/archetypes-users
Alexander Limi · http://limi.net

Trin-2 () Re: on archgenxml and argouml_profile.xmi
Reply Threaded More More options
Print post
Permalink
In reply to this post by Alexander Limi
Alexander Limi wrote:
> Please put this in ArchGenXML's issue tracker instead of here — or if  
> there is none, possibly even the Plone issue tracker. It will probably be  
> lost if it's just posted here.
>  
Ok, I added the functionality proposal and patch (against agx-2.2 and
xmlparser-1.2 this time) to the products/archgenxml/issues.
> Alternatively, you could get commit access to work on AGX if you're  
> interested. It definitely needs some love, the project has been silent  
> lately. :)
>  


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Archetypes-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/archetypes-users
Thomas N. () Re: on archgenxml and argouml_profile.xmi
Reply Threaded More More options
Print post
Permalink
Trin wrote:
Ok, I added the functionality proposal and patch (against agx-2.2 and
??? I can't find it, can you provide a link ???

So you have the same problem with AGX 2.2? That's interesting, because in the release notes they claim "support for ArgoUML 0.26.2 ". Did you try?
Elcado () Re: on archgenxml and argouml_profile.xmi
Reply Threaded More More options
Print post
Permalink
Thomas N. wrote:
Trin wrote:
Ok, I added the functionality proposal and patch (against agx-2.2 and
??? I can't find it, can you provide a link ???

So you have the same problem with AGX 2.2? That's interesting, because in the release notes they claim "support for ArgoUML 0.26.2 ". Did you try?
Right here : http://plone.org/products/archgenxml/issues/231
Vincent Fretin () Re: on archgenxml and argouml_profile.xmi
Reply Threaded More More options
Print post
Permalink
Hi Martin, Thomas N. and everyone,

Sorry I was not subscribed to this mailing-list yet. Now it's done.
I wrote a post in december about the new archgenxml_profile and I said xmiparser/archgenxml didn"t support href to a profile yet. I planned to do a patch, but I didn't find the time to do it.
The post: http://vincentfretin.ecreall.com/articles/whats-up-on-archgenxml-these-days

And so you'r right, archgenxml 2.2 and xmiparser 1.2 doesn't support ArgoUML 0.26.2. It supports only 0.24.
Jens, could you please correct the changelog in http://plone.org/products/archgenxml/releases/2.2 ?

I'll review your patch Martin and include it in trunk.
Thanks!
Vincent Fretin () Re: on archgenxml and argouml_profile.xmi
Reply Threaded More More options
Print post
Permalink
I don't know if you received an email Martin. The issue is submitted
by (anonymous).
Please read my comment:
http://plone.org/products/archgenxml/issues/231
Maybe anonymous can't attach patch? I don't know Poi very well.
If you dont have the field to attach the patch, please send it to me.
--
Vincent Fretin

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Archetypes-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/archetypes-users
Jens W. klein-2 () Re: on archgenxml and argouml_profile.xmi
Reply Threaded More More options
Print post
Permalink
In reply to this post by Vincent Fretin
Am Fri, 23 Jan 2009 07:32:58 -0800 schrieb Vincent Fretin:
>
> And so you'r right, archgenxml 2.2 and xmiparser 1.2 doesn't support
> ArgoUML 0.26.2. It supports only 0.24.
> Jens, could you please correct the changelog in
> http://plone.org/products/archgenxml/releases/2.2 ?

shi!?**-####t

I didnt read carefully enough. Lets fix this and release asap 2.3.

Sorry for that.

I'll change the release notes now.

Jens

>
> I'll review your patch Martin and include it in trunk. Thanks!





--
Jens W. Klein, BlueDynamics Alliance, http://bluedynamics.com


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Archetypes-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/archetypes-users
Trin-2 () Re: on archgenxml and argouml_profile.xmi
Reply Threaded More More options
Print post
Permalink
In reply to this post by Vincent Fretin
Vincent Fretin wrote:
> I don't know if you received an email Martin. The issue is submitted
> by (anonymous).
> Please read my comment:
> http://plone.org/products/archgenxml/issues/231
> Maybe anonymous can't attach patch? I don't know Poi very well.
> If you dont have the field to attach the patch, please send it to me.
>  
Hi Vincent,
I registered and added the patch as attachment to the issue.
I was just too lazy to play with it when i was submitting first time.

Martin





------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Archetypes-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/archetypes-users
Trin-2 () Re: on archgenxml and argouml_profile.xmi
Reply Threaded More More options
Print post
Permalink
In reply to this post by Vincent Fretin
Vincent Fretin wrote:

> Hi Martin, Thomas N. and everyone,
>
> Sorry I was not subscribed to this mailing-list yet. Now it's done.
> I wrote a post in december about the new archgenxml_profile and I said
> xmiparser/archgenxml didn"t support href to a profile yet. I planned to do a
> patch, but I didn't find the time to do it.
> The post:
> http://vincentfretin.ecreall.com/articles/whats-up-on-archgenxml-these-days
>
> And so you'r right, archgenxml 2.2 and xmiparser 1.2 doesn't support ArgoUML
> 0.26.2. It supports only 0.24.
> Jens, could you please correct the changelog in
> http://plone.org/products/archgenxml/releases/2.2 ?
>
> I'll review your patch Martin and include it in trunk.
>  
The patch needs some small polishing. I stopped working on it as soon as
soon as it worked for me.
Adding the same functionality also for regular (non-zargo) 1.2xmi files
would be great.
Martin
> Thanks!
>  


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Archetypes-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/archetypes-users
Vincent Fretin () Re: on archgenxml and argouml_profile.xmi
Reply Threaded More More options
Print post
Permalink
On Sat, Jan 24, 2009 at 7:09 AM, Trin <[hidden email]> wrote:
> The patch needs some small polishing. I stopped working on it as soon as
> soon as it worked for me.
> Adding the same functionality also for regular (non-zargo) 1.2xmi files
> would be great.
> Martin
Thanks for the patch. I'll take care of it this weekend normally.
Jens will do a new release after that. Jens, I can do the release if
you want. Just let me know all steps it needs.
--
Vincent Fretin

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Archetypes-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/archetypes-users
Vincent Fretin () Re: on archgenxml and argouml_profile.xmi
Reply Threaded More More options
Print post
Permalink
On Sat, Jan 24, 2009 at 10:42 AM, Vincent Fretin
<[hidden email]> wrote:
> Thanks for the patch. I'll take care of it this weekend normally.
> Jens will do a new release after that. Jens, I can do the release if
> you want. Just let me know all steps it needs.

It's in trunk now. I rewritten some parts of the patch to refactor the
code a bit.
I updated xmiparser version to 1.3, and archgenxml depends on xmiparser >= 1.3.
I added adapts, interface stereotypes and template_name, name,
move:pos, move:top, move:bottom, move:after, move:before tagged values
to the profile.
I removed the old argouml_profile.xmi and modified the
argouml/README.txt with an explanation how to set up argouml to use
the profile.

Trunk works with ArgoUML 0.26.2, cool!
--
Vincent Fretin

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Archetypes-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/archetypes-users
Trin-2 () Re: on archgenxml and argouml_profile.xmi
Reply Threaded More More options
Print post
Permalink
Vincent Fretin wrote:

> On Sat, Jan 24, 2009 at 10:42 AM, Vincent Fretin
> <[hidden email]> wrote:
>  
>> Thanks for the patch. I'll take care of it this weekend normally.
>> Jens will do a new release after that. Jens, I can do the release if
>> you want. Just let me know all steps it needs.
>>    
>
> It's in trunk now. I rewritten some parts of the patch to refactor the
> code a bit.
> I updated xmiparser version to 1.3, and archgenxml depends on xmiparser >= 1.3.
>  
I cannot find xmiparser1.3 anywhere, probably is takes some time to publish.
However I cannot find xmiparser svn.  Is there a public accessible svn
for xmiparser?
I searched http://svn.plone.org/svn/archetypes/ , but I guess you've put
is somewhere else (as the goal is independent parser for xmi).

Thanks,
Martin
> I added adapts, interface stereotypes and template_name, name,
> move:pos, move:top, move:bottom, move:after, move:before tagged values
> to the profile.
> I removed the old argouml_profile.xmi and modified the
> argouml/README.txt with an explanation how to set up argouml to use
> the profile.
>
> Trunk works with ArgoUML 0.26.2, cool!
>  


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Archetypes-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/archetypes-users
1 2