{ "id": "87597", "key": "TIMOB-7938", "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": "12097", "description": "", "name": "Sprint 2012-05", "archived": true, "released": true, "releaseDate": "2012-03-11" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-03-09T11:52:30.000+0000", "created": "2012-03-08T14:44:50.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "module_module", "qe-testadded" ], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [], "assignee": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-07-09T10:29:40.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": "The constructor arguments were changed to TiCompositeLayout(Context context, LayoutArrangement arrangement, TiViewProxy proxy) instead of TiCompositeLayout(Context context, LayoutArrangement arrangement). As a result, the default module project doesn't build with this change.", "attachment": [], "flagged": false, "summary": "Android: Sample module does not build due to change in TiCompositeLayout constructor", "creator": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "185629", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "To test:\r\n\r\n1. build a new module\r\n2. verify that the properties in build.properties are correct\r\n3. run 'ant' on the root of the module\r\n\r\nThe module should build without any errors.", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-08T15:12:23.000+0000", "updated": "2012-03-08T15:12:23.000+0000" }, { "id": "185630", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR ready: https://github.com/appcelerator/titanium_mobile/pull/1607", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-08T15:13:00.000+0000", "updated": "2012-03-08T15:13:00.000+0000" }, { "id": "185700", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Build a new module w/ 2.0.0.v20120216180135 without any issues.\r\n\r\nNot sure what do I need to do to replicate the issue though...\r\n\r\n{code:title=Run ant}\r\neGomez-MacBook-Pro:android_composite_layout egomez$ antBuildfile: /Users/egomez/temp/android_composite_layout/build.xml\r\n\r\ninit:\r\n\r\nprocess.annotations:\r\n\r\ngenerate.rhino.bindings:\r\n [java] Generating /Users/egomez/temp/android_composite_layout/build/generated/java/com/android/ExampleProxyPrototype.java\r\n [java] Generating /Users/egomez/temp/android_composite_layout/build/generated/java/com/android/AndroidCompositeLayoutModulePrototype.java\r\n [java] Generating /Users/egomez/temp/android_composite_layout/build/generated/java/android_composite_layoutGeneratedBindings.java\r\n\r\ngenerate.rhino.idswitch:\r\n [echo] Generating IDs for /Users/egomez/temp/android_composite_layout/build/generated/java/android_composite_layoutGeneratedBindings.java\r\n [echo] Generating IDs for /Users/egomez/temp/android_composite_layout/build/generated/java/com/android/AndroidCompositeLayoutBootstrap.java\r\n [echo] Generating IDs for /Users/egomez/temp/android_composite_layout/build/generated/java/com/android/AndroidCompositeLayoutModulePrototype.java\r\n [echo] Generating IDs for /Users/egomez/temp/android_composite_layout/build/generated/java/com/android/ExampleProxyPrototype.java\r\n\r\ngenerate.v8.bindings:\r\n [java] Generating /Users/egomez/temp/android_composite_layout/build/generated/jni/com.android.ExampleProxy.h\r\n [java] Generating /Users/egomez/temp/android_composite_layout/build/generated/jni/com.android.ExampleProxy.cpp\r\n [java] Generating /Users/egomez/temp/android_composite_layout/build/generated/jni/com.android.AndroidCompositeLayoutModule.h\r\n [java] Generating /Users/egomez/temp/android_composite_layout/build/generated/jni/com.android.AndroidCompositeLayoutModule.cpp\r\n\r\ngenerate.bindings:\r\n\r\npre.compile:\r\n\r\nndk.build:\r\n [copy] Copying 1 file to /Users/egomez/temp/android_composite_layout/build/generated\r\n [copy] Copying 1 file to /Users/egomez/temp/android_composite_layout/build/generated/jni\r\n [exec] jni/Android.mk:24: warning: overriding commands for target `/Users/egomez/temp/android_composite_layout/build/generated/KrollGeneratedBindings.cpp'\r\n [exec] jni/Android.mk:24: warning: ignoring old commands for target `/Users/egomez/temp/android_composite_layout/build/generated/KrollGeneratedBindings.cpp'\r\n [exec] jni/Android.mk:27: warning: overriding commands for target `/Users/egomez/temp/android_composite_layout/build/generated/BootstrapJS.cpp'\r\n [exec] jni/Android.mk:27: warning: ignoring old commands for target `/Users/egomez/temp/android_composite_layout/build/generated/BootstrapJS.cpp'\r\n [exec] Compile++ thumb : com.android <= com.android.AndroidCompositeLayoutModule.cpp\r\n [exec] Compile++ thumb : com.android <= com.android.ExampleProxy.cpp\r\n [exec] gperf -L C++ -E -t \"/Users/egomez/temp/android_composite_layout/build/generated/KrollGeneratedBindings.gperf\" > \"/Users/egomez/temp/android_composite_layout/build/generated/KrollGeneratedBindings.cpp\"\r\n [exec] \"python\" \"/Library/Application Support/Titanium/mobilesdk/osx/2.0.0.v20120216180135/module/android/js2c.py\" \"/Users/egomez/temp/android_composite_layout/build/generated/BootstrapJS.cpp\" \"/Users/egomez/temp/android_composite_layout/build/generated/bootstrap.js\"\r\n [exec] Compile++ thumb : com.android <= AndroidCompositeLayoutBootstrap.cpp\r\n [exec] In file included from jni/../AndroidCompositeLayoutBootstrap.cpp:17:\r\n [exec] /Users/egomez/temp/android_composite_layout/build/generated/KrollGeneratedBindings.gperf:14: warning: declaration 'struct titanium::bindings::BindEntry' does not declare anything\r\n [exec] Prebuilt : libstlport_shared.so <= /sources/cxx-stl/stlport/libs/armeabi/\r\n [exec] SharedLibrary : libcom.android.so\r\n [exec] Install : libcom.android.so => libs/armeabi/libcom.android.so\r\n [exec] Install : libstlport_shared.so => libs/armeabi/libstlport_shared.so\r\n [exec] Compile++ thumb : com.android <= com.android.AndroidCompositeLayoutModule.cpp\r\n [exec] Compile++ thumb : com.android <= com.android.ExampleProxy.cpp\r\n [exec] Compile++ thumb : com.android <= AndroidCompositeLayoutBootstrap.cpp\r\n [exec] In file included from jni/../AndroidCompositeLayoutBootstrap.cpp:17:\r\n [exec] /Users/egomez/temp/android_composite_layout/build/generated/KrollGeneratedBindings.gperf:14: warning: declaration 'struct titanium::bindings::BindEntry' does not declare anything\r\n [exec] Prebuilt : libstlport_shared.so <= /sources/cxx-stl/stlport/libs/armeabi-v7a/\r\n [exec] SharedLibrary : libcom.android.so\r\n [exec] Install : libcom.android.so => libs/armeabi-v7a/libcom.android.so\r\n [exec] Install : libstlport_shared.so => libs/armeabi-v7a/libstlport_shared.so\r\n [copy] Copying 2 files to /Users/egomez/temp/android_composite_layout/libs\r\n\r\ncompile:\r\n [javac] Compiling 4 source files to /Users/egomez/temp/android_composite_layout/build/classes\r\n [copy] Copying 1 file to /Users/egomez/temp/android_composite_layout/build/classes\r\n\r\npost.compile:\r\n\r\npre.dist:\r\n\r\ndist:\r\n [jar] Building jar: /Users/egomez/temp/android_composite_layout/dist/android_composite_layout.jar\r\n\r\npost.jar:\r\n\r\npre.docgen:\r\n\r\ndocgen:\r\n [exec] Creating dir: /Users/egomez/temp/android_composite_layout/build/docs\r\n [exec] Generating /Users/egomez/temp/android_composite_layout/build/docs/index.html\r\n\r\npost.docgen:\r\n [zip] Building zip: /Users/egomez/temp/android_composite_layout/dist/com.android-android-0.1.zip\r\n\r\nlibs.check:\r\n\r\nzip.libs:\r\n [zip] Updating zip: /Users/egomez/temp/android_composite_layout/dist/com.android-android-0.1.zip\r\n\r\npost.dist:\r\n\r\nBUILD SUCCESSFUL\r\nTotal time: 14 seconds\r\n{code}\r\n\r\nh4.Build.properties\r\n{noformat}\r\ntitanium.platform=/Library/Application Support/Titanium/mobilesdk/osx/2.0.0.v20120216180135/android\r\nandroid.platform=/Users/egomez/Documents/android-sdk-mac_x86/platforms/android-8\r\ngoogle.apis=/Users/egomez/Documents/android-sdk-mac_x86/add-ons/addon-google_apis-google_inc_-8\r\n{noformat}", "updateAuthor": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-03-08T21:21:46.000+0000", "updated": "2012-03-08T21:21:46.000+0000" }, { "id": "187109", "author": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing issue\r\n\r\nTested with Ti Studio build 2.0.0.201203182248\r\nTi Mob SDK 2.0.0.v20120319003254 hash r60b6da4c\r\nOSX Lion 10.7.3\r\n\r\nVerified that I was able to build a module succesfully", "updateAuthor": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-19T11:09:34.000+0000", "updated": "2012-03-19T11:09:34.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }