Book a Demo

Author Topic: New to EA  (Read 1985 times)

morkus

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
New to EA
« on: September 30, 2005, 08:12:15 am »
I'm having a few "newbie" problems with Build 772.

I've created a relatively simple class diagram with three elements (two classes and one interface).

(Issue 1)

The diagram elements started out as a Java diagram (I don't see how to change the default to C# for a given project) and I later changed each diagram element's type to C#.

However when I generate code to get the three classes, I get one .cs class generated and to with .java extensions (even though the internal file is c# syntax for all three files).

I've re-opened each element and made sure it was "C#". I tried saving the project, closing it, etc., but I still get one .CS and two .java file extensions.

What do I need to do here to fix this?

---------------------------------------------------

(Issue 2)

When I generated code, I initially picked the C:\TEMP directory just so I could see what was happening before I transferred the actual code to INETPUB.

But, now everytime I generate code it goes to C:\TEMP.

I don't see how to configure the output directory for a project so I can control where the generated C# files are written (*at the project level*).

What do I need to do to fix this?

----------------------------------------

(Suggestion):

Perhaps I don't know how to use this feature properly, but when you create the "getters" and "setters" for all the properties in your class, it seems you have to do them one at a time.

If this is true, it would be great if EA could let me do either of the following:

1. Present all the properties with get / set checkboxes so I can set them all at once, and/or

2. Allow me select more than one property to create the getters/setters for so I don't have to do each one individually.

------------------------------------

Thanks very much to anyone's help on getting me up to speed with this terrific tool!

-- M

thomaskilian

  • Guest
Re: New to EA
« Reply #1 on: October 04, 2005, 12:13:00 am »
Issue 1) try setting the language in Tools/Options/Generation (Default Language). To change classes afterwards use right click to package Code Engineering/Reset Options...
Issue 2) Read about Configuration/"Local Paths" in the help or in this board
Suggestion) maybe you can place it in the appropriate board.