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 - Kamal Hammoutene

Pages: [1] 2 3
1
Hello

I have the following exception when I try a basic XML/XSLT transformation (EA 16.0.5 trial version). I have attached the package XMI.
I have (almost) followed the procedure described in https://sparxsystems.com/enterprise_architect_user_guide/14.0/model_domains/model_an_xsl_transformation.html but created the XML file and XSLT file objects directly in EA.

Adding that, even though I enter the XSLT code via the EA GUI in the XSLT file object stored document, when I try to export that file object, the exported file is empty.

Thank you for your help.

[384102621]      Stack recording threshold set to 3 frames
[384102828]      Debug XSL Transformation
[384102828]      Using XSL stylesheet: C:\Users\ADMINI~1\AppData\Local\Temp\EADocs\BF70A65D-5B48-4de5-9436-8B0FEDE92C89\Xslt1.xsl
[384102828]      with XML input: C:\Users\ADMINI~1\AppData\Local\Temp\EADocs\25C226D7-203F-4082-87E0-D142819ABAE4\XmlFile1.xml
[384102829]      Default Directory is C:\Program Files\Sparx Systems\EA Trial
[384102829]      Agent dll found: C:\Program Files\Sparx Systems\EA Trial\vea\x86\SSXMLAgent32.DLL
[384102829]      Default Directory is C:\Program Files\Sparx Systems\EA Trial
[384102829]      Debug Session Started
[384102829]      Agent: Started
[384102935]      arseException: missing protocol prefix,
[384102957]      Debug Session Ended
[384102957]      Shutting down

I didn't find a way to attach the XMI file to this message so I could send it if needed.

2
Hello all,

I am looking for a freelance to develop import into EA a set of Excel spreadsheets with different level of structure complexities and create a class generalization tree (including attributes/tag values for some classes) and also export that structure into XML files given a well-defined structure.

Please email me via this forum with availibilities and hourly rate.
Time zone preferably Europe but not mandatory.

Tx

3
Suggestions and Requests / Re: Structuration of the EA forum
« on: November 27, 2012, 09:37:21 pm »
Quote
I know it won't help you directly, but you might still be interested to know that there are several initiatives at the moment to start EA user groups.
Hopefully, once these user groups have some body they can start weighing in on Sparx strategy as a sort of lobby groups.

Improving the forum, and allowing some kind of public access to reported issues and roadmaps would be high on my wish list.

Geert
What are these initiatives?

If we really want, we can setup a new forum in almost one hour using free tools such as phpbb.

4
Suggestions and Requests / Re: Structuration of the EA forum
« on: November 27, 2012, 01:44:08 am »
Quote
Someone at Sparx. Maybe their marketing department or the sales support.

q.
in french;
CQFD  :)

5
Suggestions and Requests / Re: Structuration of the EA forum
« on: November 27, 2012, 01:15:48 am »
Quote
You haven't noticed this is a user forum, have you?

q.
So who is the "user" that  I could contact for restructuring the forum so we can still have easy access to current and live threads?

6
Suggestions and Requests / Re: Structuration of the EA forum
« on: November 27, 2012, 12:31:33 am »
Quote
Quote
So it's a mystery that this forum is treated as a stepchild.

[business view]
As long it "somehow" works, efforts might be better put on feature enhancements and bug eliminations (keeping exactly this order).
[\business view]

Just my 0.02$
Günther

I'd rather read directly Sparx's point of view.

7
Suggestions and Requests / Structuration of the EA forum
« on: November 23, 2012, 12:47:54 am »
I find that the current EA forum contains a massive number of good information about the uses and misuses of the tool.

The current forum structure is not optimised as interesting threads are too quickly replaced by new topics.

Would it be possible to use a structure such as the one that phpbb is using:
hthttps://www.phpbb.com/showcase/  ?

8
General Board / Use Case and Requirement
« on: January 12, 2013, 03:48:10 am »
I have have a trouble choosing between the right connector and connection direction between a Use Case and a Requirement in a specific modelling style:

I create Use Cases and in the Scenario window, I enter a text that I want to be a Requirement shown on the Use Case diagram. What I am trying to model is that the requirement is derived from the Use Case; for example, in an ATM contect, I would create a Use Case "Identify bank customer" and I would write a scenario and in the course of the scenario, elicit a requirement such as "The ATM shall prompt the user for the card PIN".

But when it comes to showing the relationship between the Use Case to the Requirement, I don't know which type of Requirement relationship I should use and in which direction i should draw the relationship (either from the Use Case to the Requirement, or from the Requirement to the Use Case). The relationship and direction choices have a big impact of the type of information that is shown in the traceability window.

If you use SysML, you may want to use the "Trace" or "Refine" relationship. if you don't use SysML, you have only the choice between an Association and the Implements relationship.

As EA is allowing to trace a lot of relationship types, what is your advice and practice?

9
General Board / Re: Package browser not showing all information
« on: January 17, 2013, 09:44:27 pm »
Quote
Try this:
Code: [Select]
select distinct o.ea_guid as CLASSGUID,o.Object_Type as CLASSTYPE,o.Name as Name,d.name as DiagramName ,package.name as PackageName ,package_p1.name as PackageLevel1,package_p2.name as PackageLevel2 ,package_p3.name as PackageLevel3
from ((((((t_diagram d
inner join t_diagramobjects do on do.Diagram_ID = d.Diagram_ID)
inner join t_object o on o.Object_ID = do.Object_ID)
inner join t_package package on d.package_id = package.package_id)
left join t_package package_p1 on package_p1.package_id = package.parent_id)
left join t_package package_p2 on package_p2.package_id = package_p1.parent_id)
left join t_package package_p3 on package_p3.package_id = package_p2.parent_id)
where
o.Object_Type = 'Requirement'
and package.Package_ID in (#Branch#)
and o.Name like '#WC#<Search Term>#WC#'

Geert

Hi Geert,

This nice SQL query is not working anymore (it used to work).
I got an error message "Invalid column name #Branch#"

How #Branch# is defined?

Thanks a lot for your help.

10
General Board / Re: Package browser not showing all information
« on: December 15, 2012, 08:27:20 pm »
Quote
Quote
Sparx, please give you point of view.
As others already mentioned, may be you should clarify such requirements as official feature request or bug report to Sparx' support ([email protected]).
Done over a month ago.
What I would like is that many users are pushing for it too. As I said in a previous post, I cannot imagine that the implementation would be complex.

11
General Board / Re: Package browser not showing all information
« on: December 15, 2012, 05:54:11 am »
Quote
Quote
As Geert said, the Package Browser is intended to show the elements contained in a package. Not everything that is referenced by a package. If it was intended to show the references then it would. It's just meant for a different use case from what you're trying to use it for. That doesn't make it wrong or misleading.

....

Sorry to come back again to this discussion.

Let's take a concrete example:

I have created a model with actors, use cases and requirements. The requirements are linked to the use cases.
My model is organised by Use Cases. A requirement is written in a "User Story" style: "As a 'actor name', I want to be able to .....".
When I use the package browser, I can see everything.

Now, I wanted to provide a different view on the requirements which is organised by actors. So I have created a package by actor and within each package, a requirement diagram where I dragged and dropped the requirements which are relevant to the current actor.

I then open a package browser on this package, and the result is NOTHING.

I still believe that the Package Browser should list the elements referenced in the diagram even if it was not "the intented use of the package browser".
Actually, the problem is worse as if you document such a packahe with a RTF template, you cannot access/document referenced in the diagram.

Sparx, please give you point of view.

12
General Board / Re: Package browser not showing all information
« on: November 30, 2012, 12:41:39 am »
Quote
Quote
as I said previously, we shouldn't query the database directly.
I'm not sure about that when talking about SQL Searches.
These searches are an official and documented feature of EA.
Unfortunatly Geert, there is no official documentation of the database schema.
For example, how did you manage to know which tables and attributes in the tables were relevant to your great SQL query?

13
General Board / Re: Package browser not showing all information
« on: November 29, 2012, 11:40:38 pm »
Quote
Quote
Try this:
Code: [Select]
select distinct o.ea_guid as CLASSGUID,o.Object_Type as CLASSTYPE,o.Name as Name,d.name as DiagramName ,package.name as PackageName ,package_p1.name as PackageLevel1,package_p2.name as PackageLevel2 ,package_p3.name as PackageLevel3
from ((((((t_diagram d
inner join t_diagramobjects do on do.Diagram_ID = d.Diagram_ID)
inner join t_object o on o.Object_ID = do.Object_ID)
inner join t_package package on d.package_id = package.package_id)
left join t_package package_p1 on package_p1.package_id = package.parent_id)
left join t_package package_p2 on package_p2.package_id = package_p1.parent_id)
left join t_package package_p3 on package_p3.package_id = package_p2.parent_id)
where
o.Object_Type = 'Requirement'
and package.Package_ID in (#Branch#)
and o.Name like '#WC#<Search Term>#WC#'

Geert
Will do. Many thanks.
Works well as a temporary solution. Thanks Geert.
I am expecting Sparx to give their inputs on this topic because as I said previously, we shouldn't query the database directly.

14
General Board / Re: Package browser not showing all information
« on: November 29, 2012, 10:36:35 pm »
Quote
Try this:
Code: [Select]
select distinct o.ea_guid as CLASSGUID,o.Object_Type as CLASSTYPE,o.Name as Name,d.name as DiagramName ,package.name as PackageName ,package_p1.name as PackageLevel1,package_p2.name as PackageLevel2 ,package_p3.name as PackageLevel3
from ((((((t_diagram d
inner join t_diagramobjects do on do.Diagram_ID = d.Diagram_ID)
inner join t_object o on o.Object_ID = do.Object_ID)
inner join t_package package on d.package_id = package.package_id)
left join t_package package_p1 on package_p1.package_id = package.parent_id)
left join t_package package_p2 on package_p2.package_id = package_p1.parent_id)
left join t_package package_p3 on package_p3.package_id = package_p2.parent_id)
where
o.Object_Type = 'Requirement'
and package.Package_ID in (#Branch#)
and o.Name like '#WC#<Search Term>#WC#'

Geert
Will do. Many thanks.

15
General Board / Re: Package browser not showing all information
« on: November 29, 2012, 09:50:33 pm »
Quote
I know that.

If that doesn't help you then I only see two options:
1) you send a feature request to Sparx and you wait.... and wait.... and wait.... without even knowing whether or not your request will be implemented.

2) You get your hands dirty and write an sql search that show you all requirements referenced on diagrams in your currently selected package, and you have your solution this afternoon.


Geert

PS. I can help you writing the query if you want.

I trust Sparx to be able to see the value of this request.

I can also imagine that it won't be a difficult development by adding "linked" elements in the Package Browser list.
Sparx can also put a check box in the Package Browser to specify if you want or not to see the referenced elements.

Quote
I can help you writing the query if you want.
Yes please.

Pages: [1] 2 3