1. #1
    Ext JS Premium Member
    Join Date
    Sep 2010
    Posts
    368
    Vote Rating
    6
    stewardsencha is on a distinguished road

      0  

    Default Deploy to app.html, app.js Shouldn't that be the name of the app?

    Deploy to app.html, app.js Shouldn't that be the name of the app?


    If app=videos, shouldn't SA deploy to videos.html and videos.js ?

    webroot/apps/videos
    webroot/apps/account
    webroot/apps/cart

    Every app is deployed to "apps". But they have different names.
    I told you so in the "app" property?

  2. #2
    Sencha Premium Member
    Join Date
    May 2010
    Location
    Guatemala, Central America
    Posts
    1,310
    Vote Rating
    138
    ssamayoa is a glorious beacon of light ssamayoa is a glorious beacon of light ssamayoa is a glorious beacon of light ssamayoa is a glorious beacon of light ssamayoa is a glorious beacon of light ssamayoa is a glorious beacon of light

      0  

    Default


    You should have a different context for each application.

    Regards.
    UI: Sencha Architect 3.x / ExtJS 4 & 5
    Server side: JEE / EJB 3.x / CDI / JPA 2.x/ JAX-RS / JasperReports
    Application Server: Glassfish / WildFly
    Databases: Oracle / DB2 / MySQL / Firebird

    If you like my answer please vote!

  3. #3
    Ext JS Premium Member
    Join Date
    Sep 2010
    Posts
    368
    Vote Rating
    6
    stewardsencha is on a distinguished road

      0  

    Default


    I don't understand the answer.

    I do not have "app" folders and I do not have "app.js" files.

    Those are just sample/example names that sencha uses a lot.

    I was assured they were optional, and not hard-coded anywhere in the build.

    Are they hard-coded into SA?

  4. #4
    Touch Premium Member
    Join Date
    Apr 2011
    Location
    Ottawa, Canada
    Posts
    22
    Vote Rating
    0
    Mike Stoddart is on a distinguished road

      0  

    Default


    Quote Originally Posted by ssamayoa View Post
    You should have a different context for each application.

    Regards.
    What is a 'context' in Architect?

  5. #5
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,369
    Vote Rating
    128
    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


    Quote Originally Posted by stewardsencha View Post
    Are they hard-coded into SA?
    Yes, app.js is always the application entry point in Sencha Architect. You make valid points as to why you want to rename them, etc. We may look at this down the line.
    Aaron Conran
    @aconran
    Sencha Architect Development Team