{ "id": "63646", "key": "TIMOB-3014", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11241", "name": "Release 1.6.0 M08", "archived": true, "released": true, "releaseDate": "2011-02-07" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T02:00:41.000+0000", "created": "2011-04-15T03:34:46.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "defect", "regression", "release-1.6.0", "reported-1.6.0" ], "versions": [], "issuelinks": [ { "id": "21309", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "100228", "key": "TIMOB-11119", "fields": { "summary": "Android: Modules: Windows 7: android module packaging fails due to missing docs folder", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2012-09-25T16:00:31.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}
Reproduce:
\nCreate a new module for Android following this\nguide.
\nAt the command line, in the module's root folder, enter\nant
(as the guide tells you to do in the section\n\"Building the module zip\".)
You should get this error in the output:
\n\ndist:\n\nBUILD FAILED\n/Library/Application Support/Titanium/mobilesdk/osx/1.6.0/module/android/build.xml:102: /Users/bill/projects/ti/android_modules/testmod/libs does not exist.
\n
to test the solution to this, you should not only test the\nfailcase above, but then also create the libs
folder\nand put an .so file into it (the attached one will do) and run\nant
again, then look at the\ndist/[yourmodule].zip
file with unzip -l\ndist/[yourmodule].zip
to be sure the libs
\nfolder and the .so file made it into the zip.
(from [bec6e41036a96c47d3c3fff8364b5e705bcbc54f])\n[#3014 state:fixed-in-qa] Only include the libs\nfolder in module zip if it exists \nhttps://github.com/appcelerator/titanium_mobile/commit/bec6e41036a9...
I am able to verify both cases via building in eclipse. libs\ndirectory only appears in resulting zip if libs directory is\npresent in module source. Verified against 2.2.
also verified both cases by running ant via command line like\nthe original use case specifies.