Success! Looks like we've fixed this one. According to our records the fix was applied for DSGNR-1452 in a recent build.
  1. #1
    Touch Premium Member hotdp's Avatar
    Join Date
    Nov 2010
    Location
    Denmark
    Posts
    603
    Vote Rating
    14
    hotdp will become famous soon enough

      0  

    Exclamation .metadata + svn = fail

    .metadata + svn = fail


    Hi,
    I am using Designer 2 for a large application for a big company. So it is importend for us that it is in svn so no work gets lost.

    But we are having big problems with .metadata:
    2012-02-24 09.36.35 am.png
    When I add the solution the first time there is no problem. But the first time I save in the Designer something happens to the .metadata folder (I think files are deleted (also svn files?)). I know that the folder contains importent files for the project and therefor I would like to have them in svn to.

    I have tried adding/removing and many things but the problem will always occur when I save.

  2. #2
    Sencha User
    Join Date
    Jun 2011
    Posts
    350
    Vote Rating
    1
    bharatn is on a distinguished road

      0  

    Default


    Can you explain this more - "but the problem will always occur when I save."

    Are you saying that every time you save, the metadata gets deleted?
    Bharat Nagwani
    Sencha Designer Development Team

  3. #3
    Touch Premium Member hotdp's Avatar
    Join Date
    Nov 2010
    Location
    Denmark
    Posts
    603
    Vote Rating
    14
    hotdp will become famous soon enough

      0  

    Default


    Quote Originally Posted by bharatn View Post
    Can you explain this more - "but the problem will always occur when I save."
    What I am trying to say is that if it is a new project just added to svn, there is no problem. But the first time a pres save inside the designer there will be problems with the .metadata folder in SVN and I can't commit the changes to .metadata.

    Quote Originally Posted by bharatn View Post
    Are you saying that every time you save, the metadata gets deleted?
    No the .metadata folder is not deleted but by reading the error message from SVN I suspect the designer to delete the SVN files in the folder and thats why it can't commit?

  4. #4
    Sencha - Architect Dev Team Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Olney, MD
    Posts
    1,953
    Vote Rating
    65
    Phil.Strong is just really nice 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


    *sheepish*
    Apologies we've yet to test with SVN as we are set in our ways here using Git ... shame on us.

    Yes at the moment we are wipe everything in the directory (.metadata) and rewriting the metadata.

    Fix coming soon will only wipe out files designer knows about
    Phil Strong
    @philstrong
    #SenchaArchitect
    Sencha Architect Development Team

  5. #5
    Sencha User
    Join Date
    Jun 2011
    Posts
    350
    Vote Rating
    1
    bharatn is on a distinguished road

      0  

    Default


    This definitely looks like a bug. Any version control file should NOT be deleted inside the metadata.
    Thanks
    Last edited by bharatn; 24 Feb 2012 at 1:11 AM. Reason: NOT
    Bharat Nagwani
    Sencha Designer Development Team

  6. #6
    Touch Premium Member hotdp's Avatar
    Join Date
    Nov 2010
    Location
    Denmark
    Posts
    603
    Vote Rating
    14
    hotdp will become famous soon enough

      0  

    Default


    Do you have any idea about what sprint it will be in? Right now I am manually copying the folder. Its not the must fun thing to do...

    I will blame my boss for not using Git!

  7. #7
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,399
    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 hotdp View Post
    I will blame my boss for not using Git!
    :-) Thats the spirit.

    It's been bumped in priority and we are looking at it today.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  8. #8
    Sencha - Architect Dev Team Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Olney, MD
    Posts
    1,953
    Vote Rating
    65
    Phil.Strong is just really nice 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


    A fix has been submitted for testing. Expect this fix in the Wednesday release
    Phil Strong
    @philstrong
    #SenchaArchitect
    Sencha Architect Development Team

  9. #9
    Touch Premium Member hotdp's Avatar
    Join Date
    Nov 2010
    Location
    Denmark
    Posts
    603
    Vote Rating
    14
    hotdp will become famous soon enough

      0  

    Default


    Quote Originally Posted by Phil.Strong View Post
    A fix has been submitted for testing. Expect this fix in the Wednesday release
    Awesome.