This is a migrated thread and some comments may be shown as answers.

Please Leave My Headers Alone!

1 Answer 38 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Stuart Hemming
Top achievements
Rank 2
Stuart Hemming asked on 01 Feb 2012, 05:54 PM
My source all has headers like this ....
// ***********************************************************************
//  Assembly         : UEAPL.WebApplication
//  Author           : Jonathan Taylor
//  Created          : 10-22-2010
// 
//  Last Modified By : Stuart Hemming
//  Last Modified On : 01-02-2012
//  Description      : 
// 
//  Copyright        : (c) Ultra Electronics Command & Control Systems. All rights reserved.
// ***********************************************************************

For the purposes of quick file generation, I have put a blank version of that in the JC File Header section ...
***********************************************************************
 Assembly         : 
 Author           :
 Created          :
  
 Last Modified By : 
 Last Modified On : 
 Description      : 
  
 Copyright        : (c) Ultra Electronics Command & Control Systems. All rights reserved.
***********************************************************************

The thing is, now when I clean a file that has a file header, JC replaces it with the blank.

I'll be switching this function off for now.

--
Stuart



1 Answer, 1 is accepted

Sort by
0
Svetlozar
Telerik team
answered on 06 Feb 2012, 06:42 PM
Hi,

Thank you for bringing that subject. The questions here is what we should do if there is already an existing header. We could replace or append (prepend) it. We decided to cover the user story when you want to update the header (changed copyright, license, etc.). Of course appending the new one also makes sense, so most probably we will add an option for that. In the mean time you can exclude the cleaning step from the cleaner and execute the command on demand. 

Here is the PITS item

Kind regards,
Svetlozar
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
General Discussions
Asked by
Stuart Hemming
Top achievements
Rank 2
Answers by
Svetlozar
Telerik team
Share this question
or