Hi David,
One alternative is to manually enter the filename of the component. I.e. say
you have a component in Component View called CompB. If you want this
component to be included in generated files like #include <CompB>, open the
specs for CompB, go to the C++ tab and select the FileName-property and put
CompB instead of AUTO GENERATE. You migth also have to set
AllowExtensionlessFilename to True. It also migth work just by setting
AllowExtensionlessFilename to true, and keeping the FileName set to AUTO
GENERATE.
If you haven't tried this yet, have a go at it :-)
Arne
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> [EMAIL PROTECTED]
> Sent: 24. november 2000 13:02
> To: [EMAIL PROTECTED]
> Subject: (ROSE) How to specify the system file name ( #include
> <systemfile>)
>
>
>
> Dear Members,
>
> I would like to control the way are included the system files, for example
> the standard template library files. The new C++ files don't have
> extensions:
>
> #include <vector>
>
> The way Rational Rose put the include file name is <fileName>.<extension>,
> where extension is defined in the Project Property with the variable
> HeaderFileExtension. This variable will affect to all file
> component of the
> project, including system and not system files.
>
> Is there any way to especify an empty extension for only specific
> component?
>
> If it is possible, then putting dependences in the model Rational Rose
> generates the include statements and you don't have to put by hand.
>
> Thanks in advance,
>
> David
>
>
> Appendix:
>
> Documentation of the FileName property:
>
> The FileName property specifies the file name for the header file
> that is generated for the module spec.
> The following table lists the values for FileName:
>
> If you enter: The action is:
>
> Auto Generate (Default) The C++ Code Generator produces a file
> name based on the name of the module spec.
> This name is the name of the module shortened to no more
> than the maximum number of characters permitted by
> the operating system, or 32, whichever is less. Shortening
> names can result in name conflicts. If this happens you
> must specify a name explicitly for all but one of the
> conflicting modules.
>
> <literal> The C++ Code Generator creates a file whose name is
> <literal.extension>, where <extension> is the file name
> extension specified by the module HeaderFileExtension
> property if one is not already specified.
> <literal> must be a valid file name.
>
> ************************************************************************
> * 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/products/rose/usergroups/rose_forum.jtmpl
> * 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/products/rose/usergroups/rose_forum.jtmpl
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************