Copyright comments can be added to all of the js and config.js files which get generated
through the Designer Workbench.
About this task
To generate copyright comments with the web UI framework, use the following
procedure:
Procedure
-
Click the More button at the top right of the Designer Workbench
toolbar.
-
Click Copyright Comments.
The Provide Copyright Comments to add in js and config.js files window displays.
-
Enter the copyright statement in the dialog box.
-
Click the Save button.
The comments are stored in the designer.preferences file at:
C:\Documents and Settings\<user-name>\.designer. If
you delete the designer.preferences file, you need to provide comments again,
because this file holds all of your Designer Workbench-related preferences.
Sample comments
generated:
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright Your Company 2011
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
where
Copyright Your Company 2011
are the comments
provided by the user.
Once this setup is done, all files (both old and new) that are saved
through the Designer Workbench are generated with these comments.
These copyright comments are
also used and generated in the overlay files generated through the Extensibility Workbench and the
bundle files during localization.
Note: It is recommended that you delete browser
cache files and cookies before entering copyright comments.
Note: If you
remove the provided comments in the Provide Copyright Comments dialog box and
click Save, or if you don't do this setup, your screens will be generated the
way they were being generated before, that is, without any copyright comments.