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

Pages: [1]
1
General Board / Re: How to generate Spring Framework ROO entity sp
« on: July 21, 2011, 01:56:15 pm »
Any update about this?

Nearly all Java developers are start considering or, at least, evaluating, Spring Roo for their future developments, and, currently, no UML solution offers support for Roo scripts generation.

Ideally, they would generate the scripts to update from the last generated version in order to avoid Spring Roo "errors", but a duplicate table, field or relationship would be detected by Roo, the error would be displayed and nothing bad would happen.

Come on, boys!!! You would be the first ones to support it!!!

Thanks,
Oscar

2
Hello to all.

I have created a Stereotype that extends the Class <<metaclass>>.
I have also created a Toolbox, default diagram, and a new language with Code Templates for my MDG.

I want that, when selecting that "Stereotype" from the Toolbox for creating a new element with that Stereotype applied, it has as the default Language the one I have created and defined the Code Templates.

I have seen, for example, that with the ArcGIS technology, if you create from its toolbox a new instance of a Polygon, the language assigned is "ArcGIS".

But I have been analyzing the XML file of that technology without finding how to achieve it.

Any ideas?

Thanks a lot!!

3
Hello to all.

I have created an stereotype that extends de "Attribute" metaclass.
I have also a Toolbox where you can select it and drop it over a class. It becomes created, but firstly it shows a window asking for the name and type of the attribute.

Is there any way to avoid that window, or to simply assign a default type to the attribute?

I have been inspecting the MDG technologies available by default on EA and nothing found...

Thanks!

4
Solved!!!

Linked Class Base was needed. If it's empty it does not work.

5
Hi to all.
I am trying to generate custom code for a new language, but have a problem.

When a class inherits from another one, if I generate the code the base class name is not shown, e.g., %classBaseName% returns "".

Any ideas what can it be?

Thanks in advance

6
I am generating Spring Roo scripts from EA models using the Model2Roo Eclipse plugin:
- http://code.google.com/p/model2roo/

It generates a roo script from an ECORE model.

But I have some problems:
- For Relationships, Source and Target Role names are not exported, and that causes that the name of the "properties" generated for the relationships are not correct.
- I don't know how to integrate the stereotypes defined when using Model2Roo.

Any ideas on how to solve previous points or another alternative for generating Spring Roo scripts?

Thanks in advance,

Oscar

Pages: [1]