Results 1 to 5 of 5

Thread: generate app - set default starter application

  1. #1
    Sencha User
    Join Date
    Mar 2013
    Posts
    25
    Vote Rating
    10
      0  

    Default generate app - set default starter application

    I've been looking for a way to have the 'generate app' command generate a predefined default application other than the default CMD already generates. I would assume that it could be similar to the way a theme gets generated by extending the existing theme, but I haven't found anything about how to do it.

    Is this possible? If so, where do I construct the default application, and tell CMD to use it when the 'generate app' command is issued?

    Thanks for the help!

  2. #2
    Sencha Premium Member
    Join Date
    Dec 2012
    Location
    Seattle, WA
    Posts
    336
    Vote Rating
    44
      0  

    Default

    I am also interested in this. I generally have a base template I create for all my internal applications and would like sencha cmd to build it for me.

  3. #3
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    6,154
    Vote Rating
    247
      0  

    Default

    @josh.tingle:
    I'm not quite sure what you're looking to do. Can you elaborate?

    @MikeRH:
    I wonder if you'd be able to hook into a before / after event in the application's build.xml file. You can pass Ant operations (triggers) before and after a number of operations including -before-page which would run prior to the application being built in the Cmd build process.
    Are you a Sencha products veteran who has wondered what it might be like to work at Sencha? If so, please reach out to our human resources manager: fabienne.bell@sencha.com

  4. #4
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    6,154
    Vote Rating
    247
      0  

    Default

    Perhaps what you're looking for is the --starter option. From there you can specify your own entry template directory.

    --starter, -s - Overrides the default Starter App template directory
    http://docs.sencha.com/extjs/4.2.1/#...mand_reference
    Are you a Sencha products veteran who has wondered what it might be like to work at Sencha? If so, please reach out to our human resources manager: fabienne.bell@sencha.com

  5. #5
    Sencha User
    Join Date
    Mar 2013
    Posts
    25
    Vote Rating
    10
      0  

    Default

    @slemmon

    --starter, -s - Overrides the default Starter App template directory

    That is precisely the information I was looking for! Thank you so much!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •