[TIMOB-24470] Android: Fails to build modules that contain additional java files inside plugins folder or test folders not intended to be in distributed module
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2017-03-10T20:22:17.000+0000 |
Affected Version/s | Release 6.0.1 |
Fix Version/s | Release 6.0.3 |
Components | Android, CLI |
Labels | qe-6.0.3 |
Reporter | Christopher Williams |
Assignee | Christopher Williams |
Created | 2017-03-09T20:00:47.000+0000 |
Updated | 2017-03-14T17:31:21.000+0000 |
Description
Some modules (such as our own hyperloop.next module for Android) may contain *.java files not intended for distribution/compilation in the module. Specifically, I have a java source file in the plugins hook that gets compiled at runtime, but doesn't go in the module binary itself. I also have some text code in a test-src folder.
Our CLI currently scans the project directory for *all* java files, but really should only gather the src/**/*.java files and build/generated/**/*.java files.
master: https://github.com/appcelerator/titanium_mobile/pull/8875 6_0_X: https://github.com/appcelerator/titanium_mobile/pull/8876
{noformat} Mac OS Version : 10.12.3 Appc CLI : 6.1.0 Appc NPM : 4.2.9-1 Node : v4.6.0 NDK : r12b {noformat} Using above env passed FR. After merge, the changes are present in SDK
6.0.3.v20170310122139
. *Closing*