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 - aap

Pages: [1] 2
1
General Board / Re: Model views (TRAK)
« on: July 08, 2010, 06:54:38 pm »
It looks as if you are picking up the MDG Technology for TRAK http://mdgfortrak.sourceforge.net/. TRAK is the Rail Architecture Framework.

If you don't want it, disable it in Settings=>MDG Technologies...


2
General Board / Re: Configuration
« on: December 23, 2009, 10:42:34 pm »
Quote
Hello Mega,

The behaviour that you describe belongs to EA versions that pre-date 7.5

If you check-out Subversion working copies onto each of the users' PCs, that is, each of the laptops and the desktop PC, and direct EA to use the (personal) working copy instead of trying to share a common working copy folder between all three users, that should solve the problem for you.

When you lock a file in Subversion, a lock token for the file is created in the repository and also copied to the working copy folder.

If your working copy folder does not contain the lock token that the repository says it should, then the file isn't locked in that working copy, and EA won't see the corresponding package as "checked-out".

As of EA version 7.5, this behaviour still applies, however, in addition, EA now records the Windows user name of the person that has checked-out a package.

regards,
Howard Britten.

Does the new EA 7.5 behaviour prevent use of the Work Group Model schema described in the "Setting up Version Control" white paper? I'm having trouble getting this to work with EA 7.5 (847) clients.

I have set up a shared EAP file and shared Subversion working copy on a network drive. My co-worker and I are both using the same SVN userid, but distinct Windows userids. I want to be able to check out a package so that we can both work on it, but the package appears unchecked-out on my co-worker's PC and can't be checked out because EA correctly reports that I have checked it out!

Help please!

Thanks
Andy Pryor

3
General Board / Re: Multiple SVN repositories
« on: June 02, 2009, 01:20:28 am »
You could use different sections of the same SVN repository. For example:

1. Subcontractors work in svn:branches/SubContractor/ModelPackages
2. Your model is linked to svn:trunk/ModelPackages
3. When ready for release, do svn-copy into svn:trunk/ModelPackages

The SVN history will contain a full audit trail. Plus you can see what your subcontractor is doing!

You can repeat this model, using a SVN repository per subsystem to build up a complete system.

Regards

Andy

4
General Board / Re: version control questions (SVN)
« on: February 11, 2009, 07:57:46 pm »
Hi

1. Yes you can break the lock with TSVN (and lose the changes you made in your other model).

2. I think all the XMI files for your controlled packages should have svn-needs-lock set, and this is built into EA. having said that I've noticed a couple of mine don't have the property set -- a bug perhaps?

3. You have to configure the version control for the subfolder. The parent folder needs to be checked out to do this. Note that anyone else using the subpackages must sure that they have used the same Unique Ids in the project's version control settings.

Andy

5
General Board / Re: Version Control with Subversion
« on: November 18, 2008, 08:01:04 pm »
As well as TortoiseSVN we install a command line subversion client, such as Collabnet: http://www.collab.net/downloads/subversion/

This works fine alongside TortoiseSVN.

Andy

6
General Board / Re: Search for Diagramms
« on: November 08, 2008, 01:14:44 am »
Diagram searches don't appear to be supported out of the box, so you have to write your own. Here's one I wrote to search for a diagram GUID, which you should be able to adapt to your needs using the editor in "Manage Searches" in Model Search view.

<?xml version="1.0" encoding="Windows-1252"?>
<RootSearch>
      <Search Name="GUID diagrams" GUID="{26245914-4BE2-4e16-AF23-1D9E928EAE56}" PkgGUID="-1" Type="0" LnksToObj="0" CustomSearch="1" AddinAndMethodName="">
            <SrchOn>
                  <RootTable Filter="SELECT ea_guid AS CLASSGUID, Name, Diagram_Type, ea_guid  FROM t_diagram where ea_guid LIKE '&lt;Search Term&gt;' &amp; '*'" Type="-1">
                        <TableName Display="Custom SQL Search" Name="" />
                        <TableHierarchy Display="" Hierarchy="" />
                  </RootTable>
            </SrchOn>
            <LnksTo />
      </Search>
</RootSearch>

Paste the XML into a file, and the "Import" it from the "Manage Searches" dialog.

Regards

Andy

7
General Board / EA_IMPORT_STUB
« on: April 10, 2008, 11:32:34 pm »
My model has a number of elements linked to a class called EA_IMPORT_STUB.

Is this an indication that something has gone wrong, possibly with version control (I'm using Subversion)?

Is there anything I can do to recover?

Thanks in advance for any help ...

Andy

8
General Board / Viewing log files produced by the Compare Utility
« on: May 14, 2008, 12:33:21 am »
Is there a user-friendly way to view the content of the XML log file produced by the baseline compare tool?

Ideally I'd like to be able to send the log file to a colleague, and let them be able to view it hierarchically, just like in the Compare Utility window.

Thanks in advance for your help.

Andy

9
General Board / Re: EA and Subversion : n-1 release?
« on: April 17, 2008, 06:49:51 pm »
I had the same problem.

I used another Subversion client (TortoiseSVN) to revert the XMI file of the package, and then used "Get Latest" to update the model.

It seems to have worked OK.

Andy

10
General Board / Re: Import from Subversion
« on: April 16, 2008, 10:01:02 pm »
Have you checked "This model is private" in the version control settings?

Read the help for an explanation of why you have to be careful doing this ...

Andy

11
General Board / SQL search on Current Tree Selection
« on: April 08, 2008, 09:18:47 pm »
Is it possible to restrict an SQL model search to the <Current Tree Selection> as for Query Builder searches?

If so, how?

Thanks in advance
Andy

12
General Board / Re: Filter generated RTF-Documentation
« on: February 21, 2008, 02:09:21 am »
Hi Diti

When you make a "realizes" link, the target requirement becomes an "External Requirement" in the properties of the source object.

So, in the RTF template editor, don't use the "Connector" selection in the left-hand window, but use "External Requirements" instead.

Good luck

Andy

13
General Board / Re: reference from text
« on: October 23, 2006, 02:42:31 am »
We have achieved this with RTF bookmarks:

1. Copy the RTF bookmark of the element you want to link to (on the right-click menu).
2. Paste the bookmark into your text.

We have written a Word macro that converts these into hyperlinked references:

Sub PostProcess()
'
' PostProcess Macro
' Macro recorded 02/10/2006 by RSO
'
   Dim txt As String
   Dim cont As Boolean
   Dim start As Long, laststart As Long
   cont = True
   
   laststart = 0
   Do While cont
       txt = GetNextRef(start)
       If txt <> "" Then
           txt = ProcessBookmark(txt)
           If IsBookmark(txt) Then
               Selection.TypeText ("page ")
               Selection.InsertCrossReference ReferenceType:="Bookmark", ReferenceKind:= _
               wdPageNumber, ReferenceItem:=txt, InsertAsHyperlink:=True, _
               IncludePosition:=False
           Else
               Selection.TypeText ("{BOOKMARK NOT DEFINED}")
           End If
           'ActiveDocument.Hyperlinks.Add Anchor:=Selection.Range, Address:="", _
           '    SubAddress:=txt, ScreenTip:="", TextToDisplay:="Click here"
           If (start < laststart) Then
               cont = False
           End If
           laststart = start
       Else
           cont = False
       End If
   Loop
End Sub

Function IsBookmark(txt As String) As Boolean
   Dim i As Integer
   IsBookmark = False
   For i = 1 To ActiveDocument.Bookmarks.Count
       If ActiveDocument.Bookmarks.Item(i) = txt Then
           IsBookmark = True
           Exit Function
       End If
   Next
End Function

Function ProcessBookmark(txt As String)
   Dim i As Long
   If (Left(txt, 4) <> "BKM_") Then
       txt = "BKM_" & txt
   End If
   
   ' Replace all "-" with "_"'s dur bug in Enterprise Architect
   i = 1
   Do While (i <= Len(txt))
       If Mid$(txt, i, 1) = "-" Then
           Mid$(txt, i, 1) = "_"
       End If
       i = i + 1
   Loop
   ProcessBookmark = txt
End Function

Function GetNextRef(ByRef start As Long) As String
   Dim txt As String
   Dim Last As String
   Dim cont As Boolean
   Selection.Find.ClearFormatting
   With Selection.Find
       .Text = "{"
       .Replacement.Text = ""
       .Forward = True
       .Wrap = wdFindContinue
       .Format = False
       .MatchCase = False
       .MatchWholeWord = False
       .MatchWildcards = False
       .MatchSoundsLike = False
       .MatchAllWordForms = False
   End With
   Selection.Find.Execute
   If Selection.Find.Found Then
       Selection.MoveLeft Unit:=wdCharacter, Count:=1
       cont = True
       Do While cont
           Selection.MoveRight Unit:=wdCharacter, Count:=1, Extend:=wdExtend
           Last = Right$(Selection.Text, 1)
           If (Last = "}") Then
               cont = False
           End If
       Loop
       GetNextRef = Mid$(Selection.Text, 2, Len(Selection.Text) - 2)
       start = Selection.start
   Else
       start = 0
       GetNextRef = ""
   End If
       
End Function

14
General Board / Re: reference from text
« on: October 19, 2006, 07:14:34 am »
I too think that this would be very useful, especially if the reference propagates to RTF and HTML exports as hyperlinks.

15
Answering my own question ...

The trick is to make sure that the templates for each model document (not the master document) have "skip root package" ticked.

Andy

Pages: [1] 2