and if you try to use components?. During code generation, if there are no
component assigned to a package / class, the code generator will create one
directory per package, and put your packages files in this directory. So,
without component, the directory structure matches the logical view, and
that's what you don't want!. Just create components in you component view,
and assign them to your logical view elements (component packages to
packages, components to classes), so that you can control the directory
structure. if you want several packages to be generated in the same
directory, just assign them to the same component package and that's all !




-----Message d'origine-----
De: Mike La Budde [mailto:[EMAIL PROTECTED]]
Date: mardi 25 septembre 2001 21:58
�: [EMAIL PROTECTED]
Objet: Re: (ROSE) code generation directory issue



Unfortunately, this didn't help. Does anyone else know if it's possible to 
have rose ignore/omit packages at and above a specified point for code 
generation purposes?

TIA,

Mike

At 9/25/2001 09:26 AM, [EMAIL PROTECTED] wrote:

>Hi,
>It is possible.
>I can explain it only for codegeneration with c++ but I think it is nearly
the
>same with java.
>Under Tools->Options there is a tab (for c++ called 'c++') so in your case 
>there
>must eb a java tab :-).
>Select the type 'Project' there is a Model Property 'Directory'.
>You can enter the base directory here.
>My codegeneration use this directory as a base and add the structure of the
>Component view so there is a chance to
>control the single files.
>Tip: I am using a variable from the PathMap in the Directory Property. e.g.
>$CODE_GEN_DIR and set this directory in File->EditPathMap...
>
>I hope that this will help you
>
>CU
>Gebhard
>
>Gebhard Ebeling
>Software Developement
>Delphi Delco Electronics GmbH
>Mobile Multimedia Design Center
>Tec Center
>D-31162 Bad Salzdetfurth
>Germany
>Phone   +49 (0)5063 990-369
>email:[EMAIL PROTECTED]

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