Titanium JIRA Archive
Alloy (ALOY)

[ALOY-839] Alloy compile copies .svn folders to generated 'Resources'

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2014-11-26T21:59:06.000+0000
Affected Version/sn/a
Fix Version/sAlloy 1.4.0
ComponentsTooling
Labelsalloy, qe-closed-3.3.0, qe-manualtest, svn
ReporterMauro Parra-Miranda
AssigneeTim Poulsen
Created2013-09-30T18:34:52.000+0000
Updated2014-11-26T21:59:06.000+0000

Description

When running the Alloy build, the compile process is copying all the the .svn folders from the /app folder and subfolders to the corresponding subfolders in Resources. This is wrecking havoc on my workspace and interaction with SVN when I try to check in real changes.

Comments

  1. Tony Lukasavage 2014-01-14

    Do you mean this is "now" a critical issue?
  2. Tony Lukasavage 2014-01-14

    Also, isn't there a really easy workaround for this? Please confirm [~egomez].
       cd PROJECT_DIR
       svn propset svn:ignore Resources .
       
  3. Eduardo Gomez 2014-01-14

    Thanks [~tlukasavage], No need to rush, this is not an high-priority issue. In regards to the work around they have attempted to explicitly add /Resources to the svn:ignore property for the project, but this only works intermittently. I will let them know that Alloy 1.4.0 can address this.
  4. Tim Poulsen 2014-02-04

    PR: https://github.com/appcelerator/alloy/pull/313 Test app: test/apps/testing/ALOY-839 Functional test: 1. Build app 2. Using the terminal, open the Resources//alloy folder 3. Using ls -la view the contents of the folder. There should be no .svn folder 4. Likewise, the .svn folder should not be present in the Resources//alloy/controllers or styles subfolders
  5. Tim Poulsen 2014-02-04

    Reopening
  6. Tony Lukasavage 2014-02-04

    PR: https://github.com/appcelerator/alloy/pull/324 Follow test instructions given in the comments above.
  7. Neha Mittal 2014-05-14

    Verified fix using below environment: Appc Studio: 3.3.0.201405121247 SDK build: 3.3.0.v20140513191712 acs: 1.0.14 npm: 1.3.2 alloy: 1.4.0-dev CLI: titanium-3.3.0-dev titanium-code-processor:1.1.1 Xcode: 5.1.1 Osx: Mavericks(10.9.2) I performed the Functional Test given in the comment and found that no .svn folder is not present in the Resources folder and corresponding subfolders. Hence closing the issue.

JSON Source