{ "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:

\n\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
{html}", "attachment": [ { "id": "18250", "filename": "libndkmoduleso.zip", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:34:46.000+0000", "size": 871, "mimeType": "application/zip" } ], "flagged": false, "summary": "Android: module ant build fails because \"libs\" directory doesn't exist", "creator": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "129872", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

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.

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:34:47.000+0000", "updated": "2011-04-15T03:34:47.000+0000" }, { "id": "129873", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

(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...

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:34:47.000+0000", "updated": "2011-04-15T03:34:47.000+0000" }, { "id": "129874", "author": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "body": "{html}

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.

{html}", "updateAuthor": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "created": "2011-04-15T03:34:47.000+0000", "updated": "2011-04-15T03:34:47.000+0000" }, { "id": "129875", "author": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "body": "{html}

also verified both cases by running ant via command line like\nthe original use case specifies.

{html}", "updateAuthor": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "created": "2011-04-15T03:34:48.000+0000", "updated": "2011-04-15T03:34:48.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }