Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[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 Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2017-03-10T20:22:17.000+0000
Affected Version/sRelease 6.0.1
Fix Version/sRelease 6.0.3
ComponentsAndroid, CLI
Labelsqe-6.0.3
ReporterChristopher Williams
AssigneeChristopher Williams
Created2017-03-09T20:00:47.000+0000
Updated2017-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.

Comments

  1. Christopher Williams 2017-03-09

    master: https://github.com/appcelerator/titanium_mobile/pull/8875 6_0_X: https://github.com/appcelerator/titanium_mobile/pull/8876
  2. Josh Longton 2017-03-14

    {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*

JSON Source