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

Pages: 1 ... 3 4 [5] 6 7 8
61
General Board / Re: Problems with MySQL Repository
« on: September 20, 2006, 11:55:19 pm »
Hi all,

I get nearly the same message as above:

"microsoft Cursor Engine [-2147217887] multiple-step operation generated errors.  Check each status value."

This occurs, when I try to apply a large text to a property.notes field, lets say more than 4000 chars. I couldn't find the options Henk mentioned above, because we are using a Oracle 9i database and a "Oracle in OraHome92" ODBC driver.

Thanks for help.
Stefan

Edited: It's not the size. I tried to copy and paste the text from the elements linked dokument to the property.notes field via clipboard and I guess there are invalid (and invisible) characters inside. I do not get the above error when I convert the text into plain text (without formatting) before pasting.

62
General Board / Re: How to include "Use Case Links" in d
« on: July 19, 2006, 08:10:27 am »
I generated a document with the basic template and I can't detect any problems. All associations (to actors) and realizations (to requirements, from packages and from other usecases) were listed in the connections-table.

Have you excluded any elements in the generator options frame?
Stefan

63
General Board / Re: How to include "Use Case Links" in d
« on: July 19, 2006, 07:43:50 am »
I'm using the "Generate RTF-Documentation" - option quite often. I created some RFT-Documentation templates for my needs. The RFT-Generator is a bit queer as you can see at other threads in this forum, but it works.
Stefan

64
General Board / Re: How to include "Use Case Links" in d
« on: July 19, 2006, 06:34:11 am »
You should upgrade to the latest build and see if your problem still exists. If so, what template are you using, <basic> or your own one?
Stefan

65
General Board / Re: Link Use Case to Sequence Diagram
« on: July 18, 2006, 05:11:40 am »
Quote
Right click the use and under adnvanced settings select Composite Element.  Then, right click the use in the project explorer select Add->Sequence Diagram

Assuming you have already constructed your sequence diagram in its own package, you can move the diagram on the use case in the project browser. Now select Composite Element as John explained. Now - very tricky - you can move the diagram back to its own package.
Stefan

66
General Board / Re: Need an argument in favor of EA over Visio
« on: June 20, 2006, 07:00:43 am »
not to mention UML2.1, which is released some weeks ago.

67
General Board / Re: Accept Windows Authentication for Oracle Repos
« on: June 07, 2006, 07:42:12 am »
Peter, we're using an oracle database either. I changes my login to domain\alias and my EA password to my windows password and that was it. No more EA login. Even changing my windows password later on did not affect the EAs login behavior.

If you have an alias, try it. And you have to watch for uppercase/lowercase carefully.

hth
Stefan

68
General Board / Re: RTF Documentation-incomplete diagram and no no
« on: May 31, 2006, 05:12:22 am »
Quote
Also, my diagram notes are not reproduced in the document, even though there is a (empty) column for them.

Do you mean, that the note that you have linked to the diagram note, produces an empty rectangle in the diagrams image in your rtf report? This is a known bug and will be fixed in one of the future builds (though I don't know when).

69
General Board / Re: Deutsche Benutzergruppe
« on: May 22, 2006, 11:09:04 am »
Any topic that fits to one of the four EA discussion board themes should be placed there -- in english language. However, I guess there might be a number of german topics that could be discussed locally. I'm looking foreward for a board of this kind. Btw, what do you germans (and others) think of this one, where I can ask the admin to add EA as a sub-topic: http://vs165243.vserver.de/freiberuflerforum/index.php

Stefan

70
General Board / Re: model versioning and versions changes (diff)
« on: May 19, 2006, 01:30:32 am »
Hi Peter,

     steps 1+2 - I do not know whether.......

This is my script to export the root-packages to XMI. I run it with VB2005 Express edition. If you don't have it, get it for free from Microsoft. You must create a window with a Listbox named "List1" to run it.

Sorry, I haven'd had the time to translate my comments and names into english and to clean up my companies stuff and my private stuff. Just ask me if you encounter any problems.

It picks up parameters from the environment to open the given Oracle database, but you'll find commented areas as well, where you can fill in the parameters of your local EAP-file. The script creates one or more XML-files named like <toplevel-package-name><date><time>.XML.

I hope someone can add information to the other steps.

Stefan

Option Strict Off
Option Explicit On
Friend Class XML_Export

Inherits System.Windows.Forms.Form

Dim m_Repository As EA.Repository

Dim package As EA.Package

Dim m_project As EA.Project

Dim pw, pfad, filePath, dateiName, user, datei As String

Dim j As Short
   Sub main_Renamed()
       'Datenbank-Repository öffnen, XML-Dateinamen festlegen aus Umgebungsvariablen
       filePath = Environ("BLWDB_filePath")
       user = Environ("BLWDB_user")
       pw = Environ("BLWDB_pw")
       dateiName = Environ("BLWDB_dateiName")
       pfad = Environ("BLWDB_pfad")
       If filePath = "" Or user = "" Or dateiName = "" Or pfad = "" Then
           ListAdd("Repository --- Umgebungsvariable nicht gefunden")
           ListAdd("BLWDB_filePath = " & filePath)
           ListAdd("BLWDB_user = " & user)
           ListAdd("BLWDB_pw = " & pw)
           ListAdd("BLWDB_dateiName = " & dateiName)
           ListAdd("BLWDB_pfad = " & pfad)
           GoTo fehler
       End If

       '    'MasterModel-Repository öffnen, XML-Dateinamen festlegen
       '    filePath$ = "MasterModel --- DBType=3;Connect=Provider=OraOLEDB.Oracle.1;Password=xxx;Persist Security Info=True;User ID=xxx;Data Source=xxx.xxx.de"
       '    user$ = "your name"
       '    pw$ = "your secret PW"
       '    dateiName$ = "MasterModel"
       '    pfad$ = "C:\xxx"

       'lokales Repository öffnen
       '    filePath$ = "C:\xxx\xxx_lokal.EAP"
       '    user$ = ""
       '    pw$ = ""
       '    dateiName$ = "xxx_lokal"
       '    pfad$ = "C:\xxx\"

       ListAdd(("***** XML_Exportieren (Version 1.02 ******"))
       '    ListAdd ("Optionen: " + Command$)
       ListAdd(("Öffne Repository: " & filePath) & " am " & Format(Now(), "short Date") & " " & TimeString)
       m_Repository = New EA.Repository
       If user = "" Then
           If Not m_Repository.OpenFile(filePath) Then
               ListAdd("Repository Open failed")
               GoTo fehler
           End If
       Else
           If Not m_Repository.OpenFile2(filePath, user, pw) Then
               ListAdd("Repository Open failed")
               GoTo fehler
           End If
       End If
       For j = 0 To m_Repository.Models.Count - 1
           'datei = CStr(CDbl(pfad & dateiName & "_" & jjmmtt_hhmmss() & "_") + m_Repository.Models.GetAt(j).Name + CDbl(".xml"))
           datei = pfad & dateiName & "_" & jjmmtt_hhmmss() & "_" + m_Repository.Models.GetAt(j).Name + ".xml"
           ListAdd("XML-Export läuft für: " & " " + m_Repository.Models.GetAt(j).Name)
           'ListAdd(" Zeit: " & Str(Today.ToOADate) & " " & Str(TimeOfDay.ToOADate))
           ListAdd(" Zeit: " & Format(Now(), "short Date") & " " & TimeString)
           ListAdd(" Datei: " & datei)
           '                                                   bei Mastermodell: 0 = Spielwiese
           '                                                                     1 = BLW Konzeptionelles Modell
           m_Repository.GetProjectInterface.ExportPackageXMI(m_Repository.Models.GetAt(j).PackageGUID, EA.EnumXMIType.xmiEA11, 1, 0, 1, 1, datei)
       Next j
       m_Repository.CloseFile()
       ListAdd("Fertig!" & Format(Now(), "short Date") & " " & TimeString)
       Me.Close()
       GoTo ende
fehler:
       ListAdd("FEHLER! " & Format(Now(), "short Date") & " " & TimeString)
ende:
   End Sub

Sub ListAdd(ByRef sString As String)


'    Text1.Text = Text1.Text + " / " + sString$


List1.Items.Add((sString))

End Sub

Private Sub XML_Export_Load(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles MyBase.Load


Me.Show()


main_Renamed()

End Sub

Private Function jjmmtt_hhmmss() As String


jjmmtt_hhmmss = Mid(Format(Now(), "short Date"), 7, 4) & Mid(Format(Now(), "short Date"), 4, 2) & Mid(Format(Now(), "short Date"), 1, 2) & "_" & Mid(TimeString, 1, 2) & Mid(TimeString, 4, 2) & Mid(TimeString, 7, 2)
   End Function
End Class

71
General Board / Re: Setting Print Options
« on: May 16, 2006, 07:34:20 am »
Hi Tim,

create your own template based on <basic> or one of the other given templates. Go to the "Generate RTF Documentation" frame and choose <Edit Current...>. There you select <file> <printer setup> <paper> <size>. This will be saved with your template.

72
General Board / Re: Linked Doc oops
« on: May 17, 2006, 12:28:56 am »
How did you move them?

I exported my top-level-Packages to XML (from oracle-DB) and imported them to a new project (EAP-file). All my "attach to element feature"-links where (hmmm... lets say) broken. The content of the text boxes where unprotected but readable. Futhermore, the "attach to diagram note"-links where broken as well and showed  empty squares.

However, I could reassign them all. My EA did not crash.

Stefan

73
General Board / Re: an error msg
« on: April 24, 2006, 03:18:53 am »
If someone uses such expensive stone-age tools, sparx should send him some ads  ;)

74
General Board / Re: Rich Text Documenting not well organized?
« on: April 21, 2006, 05:56:03 am »
You'll find a lot of stuff here: http://sparxsystems.com.au/resources/, e.g. the rtf-documentation tutorial. But sorry, I 'm not sure if this fits to your problem.
Have a nice weekend....
Stefan

75
General Board / Re: Rich Text Documenting not well organized?
« on: April 18, 2006, 11:10:12 pm »
Hi Adrián,

the RTF-generator only creates documents for packages, unfortunately not for diagrams, which would be useful either. This is the reason you get all elements listed, even those with no occurance at all. See more below...
Next, pls note that it's not useful to edit the template outside of EA. Just create a new template based on <basic> and edit it with the build in template editor (via <edit current...>). Don't try to change something that's yellow. Use the tree on the left instead.
Now check if the element check box under diagram is switched on and you have a yellow element> tag and a yellow <element tag before the <diagram tag with nothing between them except a newline.
hth
Stefan

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