Please Leave My Headers Alone!

2 posts, 0 answers
  1. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 01 Feb 2012 Link to this post

    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.


  2. Svetlozar
    Svetlozar avatar
    260 posts

    Posted 06 Feb 2012 Link to this post


    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,
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. DevCraft R3 2016 release webinar banner
Back to Top