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

Pages: [1]
1
General Board / Re: Link between EA Class and corresponding .java
« on: January 23, 2009, 12:42:26 am »
Thanks. It was indeed rather obvious. You've been a great help.

2
General Board / Link between EA Class and corresponding .java file
« on: January 22, 2009, 06:07:09 am »
Hello,

This is probably relatively simple, yet I don't succeed in figuring it out. I reverse engineered a bunch of Java files, creating EA packages for each namespace and EA classes for each Java class. However, I don't see where EA keeps the link between the EA class and the Java file.

This would be useful since my reverse engineering results in EA classes with the same name in the same namespace, each related to a different file on the file system (I did not write that code myself  :(). I can use the "open source directory" feature to find out, but unfortunately this opens a new window every time.

Regards,

Erwin.

3
General Board / Re: Reverse Engineer an existing Progress OpenEdge
« on: January 07, 2008, 11:30:04 am »
Now if only Sparx would drastically improve the performance of XMI export to my version management system ! Exporting the result to version management takes ages so I'm not so sure I will be happy with a more complete model. Could you provide a few options for avoiding the import of some non-essential stuff into the model ?

4
General Board / Re: Reverse Engineer an existing Progress OpenEdge
« on: December 19, 2007, 04:41:21 am »
{10/15/2007 1:09:38 PM} - Index - newprimary on table - actual_subsc
{10/15/2007 1:09:38 PM} - Exception by Void addTable(EA.Package, System.String) - Index was outside the bounds of the array.


I experienced the exact same problem (3 databases here with in total over 1000 tables). The problem is generally caused by something like
 ADD TABLE ...
 DESCRIPTION "
  "
in the .df file. If you do a small edit to the .df file and remove the line break between the quotes, it works. If you have a lot of those, time to fire up your favorite regex-capable text file editor (or awk, of course)

5
General Board / Re: Code Engineering - File Organization Questions
« on: September 14, 2006, 03:29:07 am »
Thanks Simon, for the swift and to the point answer.

6
General Board / Code Engineering - File Organization Questions
« on: September 13, 2006, 07:50:36 am »
Hi,

I'm an experienced CASE-tool user (Rose, MEGA, ...) but a novice to EA. Probably these are two simple questions for you guys.

1) If I create a model with a few packages and classes, then generate code with the "include all child packages" option from the top package, the classes don't appear in the dialog and nothing can be generated. If I transform to Java first within EA, then generate the code, I do see the classes and the code generates OK. Where's the difference in the class or package properties of both parts of the model and what do I have to do to generate the code directly from my model without the transformation step ?

2) I've read through the documentation and find that the code generator is designed around the common properties of the languages supported. Suppose I want to define a new language (I do, BTW), that has a different file and directory structure to its source code (in this case: a whole package structure including classes goes into a single file), how do I define the directories and files to be generated using the CTF, or is that not possible ? What alternatives do I have to get this done (perhaps using the document generator ? I'm willing to spend some effort, as this is a really important language for me) ? For information, reverse engineering is not needed, but forward engineering should be incremental (i.e. not overwrite any additions made to the generated code. It's OK to overwrite the previously generated code parts, though)

Thanks for any answers.

Erwin.

Pages: [1]