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.

Topics - philchudley

Pages: 1 2 3 [4] 5 6 ... 8
General Board / Execution Analyser under Windows 7
« on: May 26, 2011, 10:27:21 pm »
Hi All,

I have a demo example in EA to show the creation of a sequence diagram from executing a C# .net application.

This worked fine until my laptop was upgraded to windows 7

Upon trying the demo for the first time today (I don't use it very often)

The following error message occured

Running build script - Northwind Employees      
C:\Projects\Northwind Application Test>"C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\ /build Debug Northwind Application Test.sln"      
The directory name is invalid.      
C:\Projects\Northwind Application Test Build completed with exit code 1

I am guessing EA is complaining about Program Files (x86), which is path to Visual Studio in Windows 7, it worked fine with Program Files

Any suggestions guys?


General Board / EASL Code Generation
« on: January 08, 2011, 01:49:33 am »
Hi All

I am having a little look at the EASL code generation in EA, specifically C# code from a sequence diagram. The User Guide is a little scant, but implies that a Loop combined fragment will generate an iteration, and indeed it does.

Below is an extract from the code generation script

$guard = %EASL_GET("Property", $guardedAction, "Guard")%
$expression = %EASL_GET("Property", $guard, "Expression")%
$upper = %EASL_GET("Property", $guard, "Upper")%
$lower = %EASL_GET("Property", $guard, "Lower")%

Now, the EASL Property "Expression" can be set by using the Properties of the Combined Fragment, and this setting comes out in the generated code. BUT, if we look a little further into the code generation script ...

%if $expression != ""%
while ($expression)\n
%elseIf $lower != ""%
for ($lower; $upper; ; )\n
while (true)\n

We find the $expression (if set) will always generate a while loop ... perfectly OK.

However, how do we get a for loop?

The above script implies, that if no expression is set AND EASL property "lower" is set then we get a for loop

Does anyone know how set a value for the EASL property lower ... what does this correspond to on the combined fragment. I can find no property, or tagged value



General Board / Forks and Joins Missing from Project Browser
« on: August 26, 2010, 01:17:53 am »
I am using the latest build of EA and have just noticed that UML Forks and Joins do not appear in the Project Browser, depsite the fact that they have the Properties as all other UML elements.

In addition, there is no functionality to "Find in Project Browser" ... not surprising since they are not there I guess!

Is this deliberate on the part of Sparx, and if so why? After all all other UML Activity elements appear in the Project Browser as usual.



General Board / Version 8 Workflows
« on: March 31, 2010, 11:07:25 pm »
When version 8 was announced, I was very excited about two features.

1) The structured use case
2) Workflows

I have been evaluating the betas (including the latest Beta 3) and have found the stuctured use case most useful and am pleased with the result.

However, not the same with workflows. The help is very brief, and I cannot find any worked examples not how to use the scripts.

I did manage to create a new workflow script, which gave me a "boiler plate" scrip with comments. I modified one of the permission from true to false (the ability to change status) and yes I did change both the relavant methods.

I saved the script.

But no effect, I can still change anything I want.

How do you get the scripts to take effect? Do they only work on a named user with the security enabled?

I would be most grateful if someone out there has got this to work, and if so how?



General Board / Attribute Qualifiers
« on: April 19, 2010, 07:03:17 pm »
I have noticed (new to EA 8.0?) that it is possible to create a Qualifier for an attribute in a class.

Some of the properties of this Qualifier are

Redfined Property
Subsetted Property

Can someone explain in plain language, what is the use of this feature, (great if supplemented with a practical example).

Help and User Guide not much help as it just states "The Qualifiers dialofg is used to define the Qualifier of an Association connector end, Port, Part, or Attribute"


General Board / SysML Parametric Diagram Simulation
« on: December 09, 2009, 02:20:55 am »
Does anyone know if it is possible to output text values (rather than numeric) when simulating a SysML parametric diagram?

When I display the graphical output, all is well except any output with a text value is not displayed.

Here is the script

var determinant = (b * b) - (4 * a * c);
if (determinant < 0) {
      roots = "Complex roots";
else {
      roots ="Real Roots";
      rootA = ((-1 * b) / (2 * a)) + (Math.sqrt(determinant)) / (2 * a);
      rootB = ((-1 * b) / (2 * a)) - (Math.sqrt(determinant)) / (2 * a);

roots rootA rootB are all visible on the Simulate Diagram dialogue


General Board / SysML Parameteric Diagram Simulation
« on: November 20, 2009, 11:15:50 pm »
Please excuse my ignorance, but in the SysML example contained within EAExample.eap there is a SysML parametric diagram which can be simulated.

This is driven by scripts attatched to ConstraintBlocks.

One of the ConstraintBlocks is Delay which has the following script:

output = input.GetPreviousValue(delay);

I assume that the script language used in the example is VBScript. Where is the function GetPreviousValue() defined?

I cannot find it in VBScript language, apart from some references to spinner controls.

I can see what the function does, but cannot see where it is defined.

If it is a function that is part of some library, then what else is supplied in EA?

I have searched the EA User Guide and the internet to no avail.


General Board / Hiding the stereotype
« on: May 21, 2009, 01:47:17 am »
I have implemented a UML Profile with elements that extend Class

I have defined the attributes that will become tagged values for the stereotyped class and all is well and good.

When the profiled classes are used, the stereotype assigned to them obviously appears on all diagrams and I can see the benefit of showing the stereotype, but what can I do if do not want the stereotype to appear?

There appears to be no way to turn off the visbility of the stereotype, is that so?

I did think of creating a shapescript, however by doing this I loose the ability to manipluate the compartments (none are available). Is it possible to obtain the compartments from the native shape? I cannot see this in the User Guide section on ShapeScripts.


General Board / Network Error
« on: April 20, 2009, 06:49:16 pm »
A fellow user of EA has encountered a problem when making a connection to a SQL server database

A local EAP file needs to be transfered to a SQL DBMS and the database and scripts have been run. A connection between the host machone and SQL server is attainable using SQL Server Management studio and windows authentication.

When the connection is attempted within EA, "Test Connection" succeeds, but the next step fails with

"Enterprise Architect has encountered a Network Error and needs to Close" (or very similar wording)

It does not appear to be an authentication problem since the DB can be accessed via SQL Server Management Studio ...

... any ideas?


General Board / SysML values compartment for Blocks
« on: February 18, 2009, 10:06:50 pm »
Hi All

Hope this is the right board for this post

In SysML it is possible to expose attributes of a block instantiated to <<valueTypes>> in a compartment called values

Is this possible in EA's SysML add-in? If so how?

At the momment I am modelling as standard attributes with a <<values>> stereotype


General Board / EA, Subversion and TortoiseSVN
« on: July 26, 2008, 12:57:48 am »
I am attempted to configure version control using EA, Subversion and TortoiseSVN.

I have configured the conf file in the httpd folder of subversion as

<Location /svn>
   DAV svn
   SVNParentPath C:\svn_repository
   AuthType Basic
   AuthName "Subversion repository"
   AuthUserFile passwd

I have setup passwords for users in the SVN repository passwd file and have set [general] section of the svnserve conf file as

anon-access = write
auth-access = write
password-db = passwd
# authz-db = authz
realm = On-Line Store

The idea begin that I want packages to be checked out via authentication

When configuring the package for version control, there were no problems, but when I attempt to check the package out, EA just hangs (the dreaded hourglass) whilst attempting to retreive the xml file.

It is as if EA is waiting for authentication (just as if I check out the file using TortoiseSVN) but no dialog requesting authentication is visible.

Any ideas?


General Board / Upgrade Trial version with Corporate License
« on: July 18, 2008, 11:33:15 pm »
Am I correct in assuming that if someone has a trial version of EA and then they purchase a Corporate Floating License, then after installing the License Server and licenses, the trial version will upgrade automtaically, either by requesting a license or the license server pushing the license out?

If not, are there any special procedures necessary.

Don't use floating license myself, but one of my clients is in the process of purchasing EA, hence the query

General Board / Running EA under Citrix
« on: July 11, 2008, 06:03:36 pm »
Hi All

Is there anyone out there how has experience in running EA under Citrix? Specifically, the setup and using a coporate shared EA model with EA under Citrix.

Any advice or pointers to information would be most appreciated


General Board / Model Validation
« on: May 21, 2008, 07:52:48 pm »
With the model validation facility, is it possible to define your own rules for use with the model validation tool?

If so how are these rules specified?

Thanks and cheers

General Board / Tab Colours
« on: April 18, 2008, 07:27:21 pm »
This maybe a dumb question, but how do you set the tabs in EA views to be colour coded? Seen coloured tabs on some of the EA video demos

Is this a EA feature or Windows?


Pages: 1 2 3 [4] 5 6 ... 8