Success! Looks like we've fixed this one. According to our records the fix was applied for DSGNR-1039 in a recent build.
  1. #1
    Ext JS Premium Member
    Join Date
    Jun 2010
    Posts
    13
    Vote Rating
    1
    Mr_Rainbow is on a distinguished road

      0  

    Default Exported view files are getting modified every time Export is done.

    Exported view files are getting modified every time Export is done.


    I am adding events and custom methods to the view classes that I create, but they often are modified again during export. Usually it is only whitespace that gets added, but sometimes code changes from earlier versions are getting reverted. I suspect that the Designer is caching a version and then reapplying the cached version.
    Perhaps this is occurring because I leave the Designer open with my project and edit the view files in another editor. Then, if I re-export the files are reverted to what they were at the last export.

  2. #2
    Sencha - Architect Dev Team Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Olney, MD
    Posts
    1,877
    Vote Rating
    62
    Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice

      0  

    Default


    If you prefer to use your own editor then go ahead. But when you do edit the files please close down and reopen Designer. We plan to add a file watch so it can refresh these changes correctly but for now this doesn't happen
    Phil Strong
    @philstrong
    #SenchaArchitect
    Sencha Architect Development Team

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


    Mr_Rainbow, Could you specify whether you are updating the files in the ui folder or in the view folder?
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  4. #4
    Ext JS Premium Member
    Join Date
    Jun 2010
    Posts
    13
    Vote Rating
    1
    Mr_Rainbow is on a distinguished road

      0  

    Default


    The files that were modified were in the view folder. That's why I reported it as a bug.

  5. #5
    Sencha - Architect Dev Team Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Olney, MD
    Posts
    1,877
    Vote Rating
    62
    Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice

      0  

    Default


    All files under the app/ dir are constantly written to. We use reflection to read in and preserve any members or functions you've added with or without Designer. However right now that reflection only occurs on open and is cached in memory as you say. This is a limitation we hope to address soon
    Phil Strong
    @philstrong
    #SenchaArchitect
    Sencha Architect Development Team

  6. #6
    Touch Premium Member
    Join Date
    Sep 2011
    Location
    Tamworth, NSW, Australia
    Posts
    450
    Vote Rating
    8
    marc.fearby will become famous soon enough

      0  

    Default


    Quote Originally Posted by Phil.Strong View Post
    This is a limitation we hope to address soon
    I eagerly anticipate this fix because this isn't how Designer 1.2 did it, and overwriting the implementation classes seems like craziness to me. I guess this is happening because you're working towards people being able to use nothing but Designer to work on their implementations, but the code editor isn't looking anywhere near as capable and especially not as user customisable enough for this purpose yet.

  7. #7
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,168
    Vote Rating
    119
    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  
    Aaron Conran
    @aconran
    Sencha Architect Development Team

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."