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

Pages: [1]
1
General Board / EA does not properly handle Java packages
« on: March 25, 2004, 10:07:14 am »
I have tried several things to get EA to properly generate Java package "import" statements.  The best that I could come up with was to come up with a new View for each package.  In that case, "import" statements are properly generated (the View name becomes the package name), but the directory structure is completely messed up.

For example, if I create a View called "com.mycompany.mypackage", the directory called "com.mycompany.mypackage" will be generated under the directory that I specified as the generation directory, and all the generated source files will go there.  Obviously, I would like it to expand the package name and create the proper directory structure.

On reverse engineering, package names are completely ignored.  All classes that are brought in go into the same place.

All this makes round-trip engineering difficult, if not impossible.


2
General Board / Re: java code generation
« on: March 25, 2004, 11:04:07 am »
I had similar problems.  Please see my post above.

3
General Board / How to make Java the default for cogeneration
« on: March 23, 2004, 04:07:17 pm »
Nice tool.  I designed some diagrams, and now I am trying to generate some code.  For every class, I have to go in and change the default code generation language from C++ to Java.  There doesn't seem to be any way to do it on a global level.  Any help would be appreciated.

4
General Board / Re: How to that the tool is supposed to generate
« on: March 23, 2004, 05:37:19 pm »
Thank you.  That checkbox was checked.  However, I noticed that there is an edit box that says "Default name for associated attrib", and what it contained was "m_$LinkClass".  We do not start our variables with "m_", so I changed it to "$LinkClass", hoping that it would work.  Unfortunately, it didn't.  Could it be that the problem is that we do not have a common prefix for our members?

5
General Board / How to generate getters and setters in Java?
« on: March 23, 2004, 04:15:03 pm »
My apologies, the original topic subject that I created did not make any sense.

6
General Board / How to that the tool is supposed to generate
« on: March 23, 2004, 04:12:48 pm »
There seems to be some indication that the tool is supposed to generate getters and setters.  The tool is even nice enough to ask me whether I want my boolean getters to start with "is".  The only problem is, no getters and setters are actually being generated.  What am I doing wrong?  Once again, I would greatly appreciate a global solution, rather than having to go into every single class and change class-specific settings.

Pages: [1]