Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » Generating separate files for every class in a uml model
Generating separate files for every class in a uml model [message #57499] Mon, 23 February 2009 15:29 Go to next message
Guadalupe is currently offline Guadalupe
Messages: 34
Registered: July 2009
Member
Hi all,
I am using Jet with exemplars to generate code from uml model. I have a
template and I obtain information from Java classes.
Right now I generate an unique file with all the infomation about the
classes in my UML model. How can I generate different files for every
class in the uml model?
Thank-you very much in avdance for your help.
Re: Generating separate files for every class in a uml model [message #57661 is a reply to message #57499] Wed, 25 February 2009 10:16 Go to previous messageGo to next message
Paul Elder is currently offline Paul Elder
Messages: 849
Registered: July 2009
Senior Member
Guadalupe:

This is two complex a topic for a single newsgroup post. Again, assuming you
are using RSA, take a look at part 4 (which starts at chapter 16) of the
following IBM Redbooks publication:

a link to the redbook itself:
http://w3.itso.ibm.com/redpieces/abstracts/sg247529.html
a link directly to chapter 16:
http://www.redbooks.ibm.com/redbooks/SG247529/wwhelp/wwhimpl /api.htm?href=ch16.htm

Paul

"Guadalupe " <gobellot@gmail.com> wrote in message
news:79e55bbccb823b09cb56ba93e2bc30bc$1@www.eclipse.org...
> Hi all,
> I am using Jet with exemplars to generate code from uml model. I have a
> template and I obtain information from Java classes. Right now I generate
> an unique file with all the infomation about the classes in my UML model.
> How can I generate different files for every class in the uml model?
> Thank-you very much in avdance for your help.
>
>
Re: Generating separate files for every class in a uml model [message #57989 is a reply to message #57661] Tue, 03 March 2009 05:11 Go to previous message
Guadalupe is currently offline Guadalupe
Messages: 34
Registered: July 2009
Member
Dear Paul,
It seems to be easier than expected. It can de done using an iteration in
the main.jet; refining it yet though.
Thanks a lot for your help
Previous Topic:[Announce] M2T XPAND 0.7.0 I200903030415 is available
Next Topic:Unable to load mbeans-descriptors.xml
Goto Forum:
  


Current Time: Thu Jul 24 09:10:06 EDT 2014

Powered by FUDForum. Page generated in 0.60799 seconds