Hi

The area which governs the package structure for code gen is actually the
component view, whene in java, there is one component for each java class,
and if you open the standard spec for the component, and look on the
realizes tab then you will see each component realizes one class.

The first time you code gen, rose will automatically copy the logical view
structure into the component view structure, for each class that does not
have a component assigned.  So.. the easiest way to do what you want is 

1) Forward engineer all the classes, they will go in the wrong place, but at
least you get all the components.
2) Correct the component view to have the right structure
3) Generate again, but this time the code should all be in the right place.

Hope this helps

Steve Arnold
Technical Consultant
Rational Software

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 24 September 2001 17:40
To: [EMAIL PROTECTED]
Subject: (ROSE) code generation directory issue



I was hoping someone could help me with code generation issues from Rose.
I'm using the Rational Unified Process framework for my Rose model. So, for
example, underneath the Logical View I have the following subpackage
structure:

Design Model
     Business Layer
          com
               delphion

and, of course, lots of subpackages underneath delphion.

I keep my source code in c:\Projects\source\java

So, when I generate code it puts it into

c:\Projects\source\java\Design Model\Business Layer\com\delphion\...

but I would like it to get generated to:

c:\Projects\source\java\com\delphion\...

Is this possible?

TIA,

- Mike
__________________________________________
Michael H. La Budde                   Lisle: 630-799-0652
Delphion, Inc.                                Fax: 630-799-0688
[EMAIL PROTECTED]            Milw: 414-347-7855


************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
http://www.rational.com/support/usergroups/rose/rose_forum.jsp
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages: http://www.rational.com/support/usergroups/rose/rose_forum.jsp
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************

Reply via email to