Book a Demo

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - lubos

Pages: 1 2 3 [4] 5 6 7
46
Uml Process / Re: Handling pending changes
« on: November 02, 2009, 11:52:48 pm »
I think everybody here will agree.
Sometimes a compromise has to be done.
E.g.: You are short of time and people for some period ... in this situation coding is usually prefered  to modelling since there is no time to do both -- I know  you can do better code with modelling phase ... but everybody is lucky when any working code will be in time ;-) ...then the model is not up to date --> the model is not truthworthy --> the model is useless.
You try  to force people to update the model after busy period, but the model is not as good as when created in time of development.
...and this is a typical scenario in our company. :-/   and I believe its not much better elsewhere

47
Uml Process / Re: Handling pending changes
« on: October 30, 2009, 01:40:45 am »
Thanks for all replies.
I wanted to avoid branching and consequental merging but I understand it is the only possible/reasonable  way.
But there are another things to take into account.
Many people (developers particullary, analytics some times) hates this (UML) tools because they find them unnecessary...they know what to do, so why to document it ;-)
It's very difficult to persude them of doing it. We have also quite complicated environmet -- many EA projects connected with ClearCase where we have quite a lot of branches for source codes.
It is very difficult to hadle these branches for models too. And force the people to do a correct merge it's not possible at all :-) for me.
And project managers want to have a corect and up-to-date documentation.
The result is that we use the model for documenting purposes mainly and as a inspiration for new proposals, that are created outside the model (in Word documents as a "free" text) . Only when they are being developed it's putted into model in a formal way.

I will think about some compromise....

48
Uml Process / Handling pending changes
« on: June 16, 2009, 06:11:55 pm »
Hello,

I'm looking for some 'metodology' how to hadle process used in our company.
We have the following sequence of activities:

1) Customer requests some new features
2) A proposal (New/Updated UseCases + domain model is prepared) + the calculation of capacities ( = price)
3) Customer decide if he really wants it
4) The proposal is implemented and delivered

The problem is, that customer quite often decide not to realize requested changes and
that the implementation is done typically a few month after the proposal was made (we do two releases per year).

When creating a proposal it's very appropriate to use a case tool (EA) since it's desired for it.
But the model  serves as a documentation as well and this is not actual since it contains not yet realized chages.
It's very dificult to "remove" proposals decided not to realize from the model as well.

We found the merging between models not easy usable for typical user. We would use status indicators or some other system of tagging of pending changes.
But we often do proposals for the same usecase and some are realized and some are not. I'm afraid that any
system of tagging of pending chages will grow wild shortly.

So we do proposals as a word documents and when the proposal is confirmed it's modeled afterward. But we deprive of the advantage of case tool in creative work.

any hints welcomed

49
Uml Process / Re: the relation between different classes
« on: October 08, 2009, 07:02:09 pm »
moreover both these attributes could be different types.
Yes, this is quite confusing.

BTW:
I have also the problem with the API, where there is not a simple way how to get all attributes of some class, you have to chesk attributes and associations together.

50
The problem I see is that you have to know the name of the profile, which is not very general.
We have solved this problem by this code in plugin:
Code: [Select]
oreach (FileInfo fi in di.GetFiles("*.xml"))
                {
              
                    XPathDocument xdoc = new XPathDocument(fi.FullName);
                    XPathNavigator xnav= xdoc.CreateNavigator();
                    String[] stereotypes = elem.StereotypeEx.Split(',');
                    foreach (String stereotype in stereotypes)
                    {
                  
                        XPathNodeIterator xiter = xnav.Select("/MDG.Technology/UMLProfiles/UMLProfile/Content/Stereotypes/Stereotype[@name='"+stereotype+"']/TaggedValues/Tag");
                        while (xiter.MoveNext())
                        {
                        
                            String def= xiter.Current.GetAttribute("default", "");
                            if (def == String.Empty) def = "";
                            String name = xiter.Current.GetAttribute("name", "");
                            if (name == String.Empty) name = "xxxnamexxx";
                            CommonUtils.setTaggedValue(elem, name, def);
                        }
                    }

                }

that parses the MDG xml file and looks for definitions of the given stereotype and automatically adds the requirred tagged values to the element.

The advantage I see is you can add new UML profiles without modifying the plugin.

Any other ideas?

51
Automation Interface, Add-Ins and Tools / Re: OracleOleDB problem?
« on: April 21, 2010, 06:27:43 pm »
It's interesting,
I still have the result 41 in EA search. It seems it's a problem of some driver bridge...
But the hack with '- -' works so I will not continue to try to discover it.

Thanks

52
Automation Interface, Add-Ins and Tools / Re: OracleOleDB problem?
« on: April 21, 2010, 12:00:11 am »
I have overcome it by:

select instr('Tag:Value',':') - -1    as C1 from dual;

You'are right, software is wonderful ;-)

Still interesting in more appropriate solution...

53
Automation Interface, Add-Ins and Tools / Re: OracleOleDB problem?
« on: April 20, 2010, 11:44:07 pm »
OK I haven't described my goal :-)
I want to get  5 in EA search.

Thanks

54
Automation Interface, Add-Ins and Tools / OracleOleDB problem?
« on: April 20, 2010, 10:27:24 pm »
Hello,
I begin to play with oracle and EA.
I connect to DB using Oracle Provider for OLE DB.
I have the following problem:
this SQL query>
select instr('Tag:Value',':') + 1 AS C1 from dual;

returns 5 in PL/SQL Developer
but
returns 41 when using it as as Custom SQL search in EA.

Is this a problem of OLE bridge?
Do you know how to solve it?

Thanks for any hints.

55
I have just found out that the hyperlinks to model elements in linked documents are different in version 8.
The old style of hyperlinks is still supported.

Old style was:
#BKM_0D541981_621D_4646_BDD0_4AF3D9210FAA

New style is (e.g.):
$diagram:/{0D541981-621D-4646_BDD0-4AF3D9210FAA}
$package:/{B3A7AB3A-1BF6-4854-84D0-1D64D02400F4}

It would be nice to have this documented, since some users' plugins can rely on it -- e.g. trying to provide the still missing "Refresh names" function for hyperlinks.
  

56
Automation Interface, Add-Ins and Tools / Re: Get linked document
« on: March 12, 2010, 05:43:18 pm »
I have tried to play with this BinContent some time ago. I'm not sure but I think I have found out it is uuencoded zip file containing the RTF.

Hope it helps

57
Hello, I'm just investigating changes in 8.0 version and I want to ask if someone knows how  the new API function VersionControlGetLatest is implemented
It can check if the package is up-to-date with respect to the XML file.
Does it comparing the date of the XML file and a LoadTime of the package or using some more sofisticated way -- e.g. by CRC check?

Maybe that such a function is a good candidate for a new extra function in API.

Thanks for hints.

58
Automation Interface, Add-Ins and Tools / Re: t_xref & t_xrefsystem
« on: November 09, 2009, 07:53:48 pm »
err:: I CAN'T find the refered object ;-)

59
Automation Interface, Add-Ins and Tools / Re: t_xref & t_xrefsystem
« on: November 09, 2009, 07:53:17 pm »
I have expected it too, but I find the refered objects (with given ea_guid).
but since in each project there are only a few rows (30 max) in these tables, they are not so important and it is safe to ignore them in our migration proces...

thanks

60
Automation Interface, Add-Ins and Tools / t_xref & t_xrefsystem
« on: November 09, 2009, 07:28:46 pm »
Hello,

can anybody provide some information about these tables?
Especially  about their columns XrefID,client,supplier for t_xref
and XrefID,Supplier,link for t_xrefsystem.
I expect that XrefID is a primary key.
client and link referes to elements (t_object,t_diagram,...)
but I can't find out what the supplier refers to.

----
We want to join many projects into one, and since these project were created from the same basic project, we have a lot of elements with the same ea_guid that we don't want to collide.
We decided to rename ea_guid in all projects to assure that they will be unique in each project. but we have to rename all occurences consistently.
Exporting the whole project and importing with strip guid is not possible, since the XML file is very big (100MB and more) and EA crashed in import always.

thak you for any hints

Pages: 1 2 3 [4] 5 6 7