To answer Melanie's question first, the Java, C++, ANSI C++ and VC++ add-ins each have properties at the Module level that can be used to type in Copyright information. The property for the Java and C++ add-ins is called 'CopyrightNotice' and the property for the ANSI C++ and VC++ add-ins is called 'Copyright'. If you do a Tools->Options and look under the tab for each of these add-ins you will find the aforementioned properties listed for the Module Body and Module Specification. If you enter the Copyright Notice at this level then any module that is created from that point on will have the Copyright Notice information specified and the code generated from those modules will contain the CopyrightNotice info. You can also assign your Copyright Notice to these properties using a script. I have attached a script that demonstrates how this works. The attached script sets the CopyrightNotice for all Java modules in a model.
Herve, you would need to write a script that would add your Copyright Notice to the model. The question would be where exactly you want to place the Copyright Notice in your model, i.e. you could place this in the Documentation field of maybe on a note in the Main diagram etc. etc. Vishu ********** Annamalai "Vishu" Viswanathan -- [EMAIL PROTECTED] Senior Technical Support Engineer Rational Customer Service - Committed to Service Excellence SCP Certified: http://www.rational.com/support/scp.jsp Rational User Conference 2002.....Freedom to Create! Call for Papers Now Open at http://www.rational.com/ruc August 18-22, 2002 Lake Buena Vista, Florida ********** -----Original Message----- From: Herve Blanc [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 21, 2002 2:19 PM To: Viswanathan, Annamalai Cc: '[EMAIL PROTECTED]' Subject: Re: (ROSE) Adding Copywrite information to code generation On a similar subject, is there a way to make sure my company copyright information is saved into the rose files that we create (don't want to seem paranoiac but we do have copyright in all our design documents, so it seems logical to "protect" *.mdl, *.cat, *.sub, ... artifacts too)? Herve. "Viswanathan, Annamalai" wrote: > Melanie, > > What add-in are we talking about here, i.e. is this Java, Classic C++, ANSI > C++ etc. etc. > > Vishu > > > ********** > > Annamalai "Vishu" Viswanathan [EMAIL PROTECTED] > > Senior Technical Support Engineer > > -----Original Message----- > From: Dixon, Melanie (MDIXON) [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 21, 2002 1:07 PM > To: '[EMAIL PROTECTED]' > Subject: (ROSE) Adding Copywrite information to code generation > > > All - > > I am trying to add copywrite information into Rose so that when we gen code it > will automatically be there. Does anyone know how to do this? > > Melanie > -- Herve Blanc phone: 1 408 586 6437 fax: 1 408 586 4675 mailto:[EMAIL PROTECTED] NPTest, Inc. 150 Baytech Drive, San Jose, CA 95134-2302, USA http://www.nptest.com/
CopyrightNotice.ebs
Description: Binary data
