{ "id": "107696", "key": "TIMOB-12435", "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": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14980", "description": "2013 Sprint 02 JS", "name": "2013 Sprint 02 JS", "archived": true, "released": true, "releaseDate": "2013-01-28" }, { "id": "14812", "description": "2013 Sprint 02", "name": "2013 Sprint 02", "archived": true, "released": true, "releaseDate": "2013-01-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-01-27T02:26:49.000+0000", "created": "2013-01-10T14:07:12.000+0000", "priority": null, "labels": [ "cli-review", "qe-port" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2013-02-05T00:52:52.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": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "All output to console are trimmed into one line when run the project in sdk 3.0.0.GA but when I switch back to 2.1.4.GA, everything is OK.\r\n\r\nI just create \"Default Alloy Project\", and put one line of code to output an object: \r\n\r\nTi.API.info({'a':'a','b':'b'});\r\n\r\nThen run the iPhone simulator, here are the result I got:\r\n\r\nOutput in 3.0.0GA:\r\n[INFO] : \b\b \bBuild type: development\r\n[INFO] : \b\b \bBuilding for target: simulator\r\n[INFO] : \b\b \bBuilding using iOS SDK: 6.0\r\n[INFO] : \b\b \bBuilding for iOS iPhone Simulator: 6.0\r\n[INFO] : \b\b \bBuilding for device family: iphone\r\n[INFO] : \b\b \bBuilding for iOS 6.0; using 4.3 as minimum iOS version\r\n[INFO] : \b\b \bDebugging disabled\r\n[INFO] : \b\b \bCleaning old build directory\r\n[INFO] : \b\b \bFound Alloy app in /data/titanium/a/app\r\n[INFO] : \b\b \bExecuting Alloy compile: /usr/local/bin/node /usr/local/bin/alloy compile /data/titanium/a/app --config platform=ios,version=0,simtype=none,devicefamily=iphone,deploytype=development\r\n[INFO] : \b\b \bCopying lib from: /usr/local/lib/node_modules/alloy/Alloy/lib\r\n[INFO] : \b\b \bCopying assets from: /data/titanium/a/app/assets\r\n[INFO] : \b\b \bcompiling alloy to /data/titanium/a/Resources/app.js\r\n[INFO] : \b\b \bAlloy compiler completed successfully\r\n[INFO] : \b\b \bPerforming full rebuild\r\n[INFO] : \b\b \bCopying Xcode iOS files\r\n[INFO] : \b\b \bCreating Xcode project directory: /data/titanium/a/build/iphone/a.xcodeproj\r\n[INFO] : \b\b \bWriting Xcode project data file: Titanium.xcodeproj/project.pbxproj\r\n[INFO] : \b\b \bWriting Xcode project configuration: project.xcconfig\r\n[INFO] : \b\b \bWriting Xcode module configuration: module.xcconfig\r\n[INFO] : \b\b \bCreating symlinks for simulator build\r\n[INFO] : \b\b \bWriting properties to ApplicationDefaults.m\r\n[INFO] : \b\b \bNo module resources to copy\r\n[INFO] : \b\b \bNo CommonJS modules to copy\r\n[INFO] : \b\b \bFinished building the application in 35s 44ms\r\n[INFO] : \b\b \bRunning application in iOS Simulator\r\n[INFO] : \b\b \bLaunching application in iOS Simulator\r\n[INFO] : \b\b \biPhone Simulator log:\r\n[INFO] : \b\b \bApplication started\r\n[INFO] : \b\b \ba/1.0 (0.0.0.a5894b3)\r\n[INFO] : \b\b \b{\r\n\r\n\r\nOutput in 2.1.4GA:\r\n[INFO] One moment, building ...\r\n[INFO] Titanium SDK version: 2.1.4 (11/09/12 12:46 51f2c64)\r\n[INFO] iPhone Device family: universal\r\n[INFO] iPhone SDK version: 6.0\r\n[INFO] iPhone simulated device: iphone\r\n[INFO] Detected compiler plugin: ti.alloy/1.0\r\n[INFO] alloy app found at /data/titanium/a/app\r\n[INFO] Executing Alloy compile:\r\n[INFO] /usr/local/bin/node /usr/local/bin/alloy compile /data/titanium/a/app --no-colors --config platform=ios,version=6.0,simtype=none,devicefamily=universal,deploytype=development,\r\n .__ .__ \r\n_____ | | | | ____ ___.__.\r\n\\__ \\ | | | | / _ < | |\r\n / __ \\| |_| |_( <_> )___ |\r\n(____ /____/____/\\____// ____|\r\n \\/ \\/\r\nAlloy by Appcelerator. The MVC app framework for Titanium.\r\n[INFO] Copying lib from: /usr/local/lib/node_modules/alloy/Alloy/lib\r\n[INFO] Copying assets from: /data/titanium/a/app/assets\r\n[INFO] compiling alloy to /data/titanium/a/Resources/app.js\r\n[INFO] Minimum iOS version: 4.3 Linked iOS Version 6.0\r\n[INFO] Launching application in Simulator\r\n[INFO] Launched application in Simulator (17.51 seconds)\r\n[INFO] Application started\r\n[INFO] a/1.0 (2.1.4.GA.51f2c64)\r\n[INFO] {\r\n a = a;\r\n b = b;\r\n}\r\n\r\n", "attachment": [], "flagged": false, "summary": "CLI: Debug console output are trimmed into one line when using sdk 3.0.0.GA but not in 2.1.4.GA ", "creator": { "name": "timma", "key": "timma", "displayName": "Tim Ma", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "timma", "key": "timma", "displayName": "Tim Ma", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "OSX Mountain Lion 10.8.2\r\nTitanium Studio, build: 3.0.1.201212181159\r\nBuild: jenkins-titanium-rcp-master-350 (origin/master)\r\nDate: 18 December 2012, 12:04:42", "comment": { "comments": [ { "id": "236108", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "I *just* fixed this today by coincidence.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-01-26T02:17:06.000+0000", "updated": "2013-01-26T02:17:06.000+0000" }, { "id": "236109", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master pull request: https://github.com/appcelerator/titanium_mobile/pull/3796\n3.0.x pull request: https://github.com/appcelerator/titanium_mobile/pull/3797\n\nTo test, add following to app.js and build with \"--log-level info\":\n\n{code}\nTi.API.info({'a':'a','b':'b'});\n{code}", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-01-26T02:18:50.000+0000", "updated": "2013-01-26T02:18:50.000+0000" }, { "id": "237154", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with:\r\nTitanium Studio, build: 3.0.2.201302011646\r\nTitanium SDK, build: 3.0.2.v20130201161712 \r\nXcode 4.6\r\nDevices:\r\niOS 6.1 Simulator \r\niPad4 iOS 6.1\r\nlog output:\r\n[INFO] : \b\b \b {\r\n[INFO] : \b\b \b a = a;\r\n[INFO] : \b\b \b b = b;\r\n[INFO] : \b\b \b }\r\n\r\nClosing, verified with Chris.\r\n", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-05T00:21:39.000+0000", "updated": "2013-02-05T00:51:53.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }