Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2278] Android: aapt warnings are treated as errors

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:58:37.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.0
ComponentsAndroid
Labelsaapt, android, defect, mobilesdk
ReporterMarshall Culpepper
AssigneeMarshall Culpepper
Created2011-04-15T03:15:30.000+0000
Updated2011-04-17T01:58:37.000+0000

Description

If aapt issues warnings on stderr, builder.py forcefully exits even though in some cases the warnings may not be fatal. As a test put a file starting with a "." under a directory in platform/android/res, and there should be a "skipping file" warning.

Comments

  1. Marshall Culpepper 2011-04-15

    (from [4709549065e50e06db1e9225bc2cabbc2634381c]) don't fatally exit if aapt just prints warnings, added support to run.run for specifiying a warning regex [#2278 state:fixed-in-qa] https://github.com/appcelerator/titanium_mobile/commit/4709549065e50e06db1e9225bc2cabbc2634381c"> https://github.com/appcelerator/titanium_mobile/commit/4709549065e5...

  2. Matt Schmulen 2011-04-15

    [INFO] Compiling localization files [WARN] (skipping hidden file '/Users/mattschmulen/trees/appcelerator/github_titanium_mobile/titanium_mobile/demos/KitchenSink/build/android/res/.2278Test.txt') [INFO] Compiling Android Resources... This could take some time

JSON Source