Matthias Bohlen wrote:
Hi Chad,
Thursday, April 28, 2005, 12:14:25 AM, you wrote:
P.S.: I am just debugging AndroMDA remotely from Eclipse - an adventure on its own! I wrote a metafacade that extends PackageFacade, wraps Model$Impl and tries to find the packages in the model. The call to getSubpackages() returns 0 elements. It does not work, so I'll go to sleep now. :-(
CB> It should work now (after Wouter fixed it a couple weeks CB> back)...are you using latest head?
no, at the moment, I am using 3.0RC1 with Wouter's fix in PackageFacade.handleGetSubpackages(). I have a cartridge test model that references AndroMDA's standard UML profile .xml.zip module. In the AST, I find *two* instances of Model$Impl, both name="Data". The getSubpackages() call works well on the first one, our profile. I get subpackages like org.andromda.profile..., datatype... etc.
The getSubpackages() call does *not* work on the second one which is my real model. It returns an empty collection. :-(
I'll try to make it reproducible with the latest HEAD version an mail
you my model.
Sounds good.
Cheers... Matthias
---
Matthias Bohlen "Consulting that helps project teams to succeed..."
Internet: http://www.mbohlen.de/ [EMAIL PROTECTED]
Phone: +49 (170) 772 8545
------------------------------------------------------- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix _______________________________________________ Andromda-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-devel
