[TIMOB-17568] Update the classpath for android module template
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-08-28T23:03:04.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 3.4.0 |
Components | CLI |
Labels | qe-closed-3.4.0 |
Reporter | Praveen Innamuri |
Assignee | Praveen Innamuri |
Created | 2014-08-27T23:20:09.000+0000 |
Updated | 2014-09-15T08:36:56.000+0000 |
Description
The .classpath file of the Android module template is currently placed in the platform folder (Android). These dot files (.classpath, .project and .settings) are required to be in the root of the project to recognize as a valid Java project and to update the library paths.
Studio will copy the dot files from Android folder to root folder. However, the classpath file has to be updated with the correct src path pointing to android/src and android/build/.apt_generated.
https://github.com/appcelerator/titanium_mobile/pull/5991
Approved.
Tested in below environment - Appc Studio - 3.4.0.201409131030 SDK - 3.4.0.v20140913174915 acs - 1.0.16 alloy - 1.5.0-rc2 npm - 1.3.2 titanium - 3.4.0-rc3 code-processor - 1.1.1 OS - Windows 7, Windows 8, Mavericks Android NDK - android-ndk64-r10b Result - These dot files (.classpath, .project and .settings) are created in the root of the project. Also classpath file updates with the correct src path pointing to android/src and android/build/.apt_generated. Hence closing this issue.