1. #1
    Touch Premium Member
    Join Date
    Apr 2011
    Location
    Cary, NC
    Posts
    135
    Vote Rating
    0
    ChrisWalker is on a distinguished road

      0  

    Default Placing additional header comments in the source files

    Placing additional header comments in the source files


    When deploying the source files ie. app/controller/myController.js, there is a headerblock that architect places in the source file:

    Code:
    *
     * File: app/controller/myController.js
     *
     * This file was generated by Sencha Architect version 2.0.0.
     * http://www.sencha.com/products/architect/
     *
     * This file requires use of the Sencha Touch 2.0.x library, under independent license.
     * License of Sencha Architect does not include license for Sencha Touch 2.0.x. For more
     * details see http://www.sencha.com/license or contact license@sencha.com.
     *
     * This file will be auto-generated each and everytime you save your project.
     *
     * Do NOT hand edit this file.
     */
    I need to add additional license/copyright information on each source file (simply as a comment at the top of the file) as well. I have placed a dummy function in the Application file that just has a @preserve tag along with copyright information that our script compiler (Google Closure Compiler) recognizes and places in the min.js file so I am OK there.

    Thanks.

  2. #2
    Sencha Premium Member
    Join Date
    Jun 2013
    Location
    Boulder, CO
    Posts
    538
    Vote Rating
    10
    DavidThi808 will become famous soon enough

      0  

    Default


    Hi;

    We need this too. How is it done?

    thanks - dave

  3. #3
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,445
    Vote Rating
    129
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    This feature is on our list of todo's!
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  4. #4
    Sencha Premium Member
    Join Date
    Jun 2013
    Location
    Boulder, CO
    Posts
    538
    Vote Rating
    10
    DavidThi808 will become famous soon enough

      0  

    Default


    Not having this is a giant PITA. We have to insert the copyright notice by hand on each release.

  5. #5
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,445
    Vote Rating
    129
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Until we have it as a feature I'd suggest you integrate it into a build script (maybe post process of Cmd)
    Aaron Conran
    @aconran
    Sencha Architect Development Team