Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-4739] Android: Module resources are not copied when the module is in the system folder

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2011-11-05T14:01:57.000+0000
Affected Version/sRelease 1.7.1
Fix Version/sSprint 2011-32, Release 1.7.3, Release 1.8.0
ComponentsAndroid
Labelsn/a
ReporterJeff English
AssigneeBill Dawson
Created2011-07-20T19:02:33.000+0000
Updated2014-06-19T12:46:13.000+0000

Description

Module resources are not copied to the application resources when the module is located in the system folder. This can be seen with the Android BarCode module installed in the system folder.

Attachments

FileDateSize
timob4739.zip2011-08-10T00:11:50.000+00004997464

Comments

  1. Jeff English 2011-07-21

    Occurs during the build process. The generated R.java file does not have entries for any of the resources because they were not copied.
  2. Bill Dawson 2011-08-10

    Use this project (in the attached zip file) for testing. You will also need the barcode module, which I can send to you via e-mail when you ask.
  3. Bill Dawson 2011-08-10

    Testing: * Put the barcode module zip file in the top-level system titanium folder (/Library/Application Support/Titanium) on OSX. * Unzip that file in place. It will result in /Library/Application Support/Titanium/modules/android/ti.barcode being created. * Unzip the attached project (in the attached zip file). * Build/Run that project. * After it's done building, open the R.java file down in build/android/gen/com/billdawson/timob4739. It should have a bunch of entries in it, well over 200 lines of code.
  4. Bill Dawson 2011-08-10

    Pull request ready: https://github.com/appcelerator/titanium_mobile/pull/356
  5. Natalie Huynh 2011-09-14

    Tested with Win7 Linux 10.04 and Mac OS X 10.6.8 with 1.8.0.v20110914092150 R.java file has over 200 lines
  6. Bill Dawson 2011-09-28

    reopening for 1.7.X merge
  7. Bill Dawson 2011-09-28

    Merged to 1_7_X branch
  8. Alan Vaghti 2011-09-29

    Verified fix in 1.7.3.v20110928185013 with Titanium Studio build: 1.0.4.201108101535 and a Nexus One 2.2.2. R.java was 242 lines (including on blank line at the end of the file).
  9. Natalie Huynh 2011-10-07

    Was reopened for merge, verified for 1.7.3 and 1.8.0
  10. Don Thorp 2011-11-05

    Standardizing summary and labels.

JSON Source