View Full Version : Placing additional header comments in the source files

25 Jul 2012, 7:05 AM
When deploying the source files ie. app/controller/myController.js, there is a headerblock that architect places in the source file:

* 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 [email protected]
* 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.


27 Oct 2013, 12:13 PM

We need this too. How is it done?

thanks - dave

27 Oct 2013, 5:39 PM
This feature is on our list of todo's!

28 Oct 2013, 6:22 AM
Not having this is a giant PITA. We have to insert the copyright notice by hand on each release.

28 Oct 2013, 7:01 AM
Until we have it as a feature I'd suggest you integrate it into a build script (maybe post process of Cmd)