{ "id": "171218", "key": "TIMOB-25824", "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": [], "resolution": null, "resolutiondate": null, "created": "2018-02-28T17:08:05.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "cb-tooling" ], "versions": [], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2021-07-26T13:25:33.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [], "description": "Doing a fresh installation of the appc-cli, I noticed that we still use the \"resizer.jar\" to resize app images. I would rather like to use a node-library that doesn't require Java to be installed.\r\n\r\nError:\r\n{code}\r\n[ERROR] Error: Command failed: java -jar \"/Users/hansknoechel/Library/Application Support/Titanium/mobilesdk/osx/7.1.0.v20180227113527/node_modules/node-appc/tools/resizer/resizer.jar\" \"/Users/hansknoechel/Documents/dev/test_replaykit/DefaultIcon.png\" \"/Users/hansknoechel/Documents/dev/test_replaykit/build/iphone/Assets.xcassets/AppIcon.appiconset/appicon-Small.png\" 29 29 \"/Users/hansknoechel/Documents/dev/test_replaykit/build/iphone/Assets.xcassets/AppIcon.appiconset/appicon-Small@2x.png\" 58 58 \"/Users/hansknoechel/Documents/dev/test_replaykit/build/iphone/Assets.xcassets/AppIcon.appiconset/appicon-Small@3x.png\" 87 87 \"/Users/hansknoechel/Documents/dev/test_replaykit/build/iphone/Assets.xcassets/AppIcon.appiconset/appicon-Small-40.png\" 40 40 \"/Users/hansknoechel/Documents/dev/test_replaykit/build/iphone/Assets.xcassets/AppIcon.appiconset/appicon-Small-40@2x.png\" 80 80 \"/Users/hansknoechel/Documents/dev/test_replaykit/build/iphone/Assets.xcassets/AppIcon.appiconset/appicon-Small-40@3x.png\" 120 120 \"/Users/hansknoechel/Documents/dev/test_replaykit/build/iphone/Assets.xcassets/AppIcon.appiconset/appicon-60@2x.png\" 120 120 \"/Users/hansknoechel/Documents/dev/test_replaykit/build/iphone/Assets.xcassets/AppIcon.appiconset/appicon-60@3x.png\" 180 180 \"/Users/hansknoechel/Documents/dev/test_replaykit/build/iphone/Assets.xcassets/AppIcon.appiconset/appicon-76.png\" 76 76 \"/Users/hansknoechel/Documents/dev/test_replaykit/build/iphone/Assets.xcassets/AppIcon.appiconset/appicon-76@2x.png\" 152 152 \"/Users/hansknoechel/Documents/dev/test_replaykit/build/iphone/Assets.xcassets/AppIcon.appiconset/appicon-83.5@2x.png\" 167 167 \"/Users/hansknoechel/Documents/dev/test_replaykit/build/iphone/Assets.xcassets/AppIcon.appiconset/appicon-Marketing.png\" 1024 1024 \"/Users/hansknoechel/Documents/dev/test_replaykit/build/iphone/Assets.xcassets/LaunchLogo.imageset/LaunchLogo~iphone.png\" 320 320 \"/Users/hansknoechel/Documents/dev/test_replaykit/build/iphone/Assets.xcassets/LaunchLogo.imageset/LaunchLogo@2x~iphone.png\" 374 374 \"/Users/hansknoechel/Documents/dev/test_replaykit/build/iphone/Assets.xcassets/LaunchLogo.imageset/LaunchLogo@3x~iphone.png\" 621 621 \"/Users/hansknoechel/Documents/dev/test_replaykit/build/iphone/Assets.xcassets/LaunchLogo.imageset/LaunchLogo~ipad.png\" 384 384 \"/Users/hansknoechel/Documents/dev/test_replaykit/build/iphone/Assets.xcassets/LaunchLogo.imageset/LaunchLogo@2x~ipad.png\" 1024 1024\r\n{code}", "attachment": [], "flagged": false, "summary": "CLI: SDK requires Java to run apps", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "453953", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "There seems to be a couple Node.js-based solutions these days. Here are two of them:\r\n\r\nSharp\r\nhttps://www.npmjs.com/package/sharp\r\nIncludes native C++ bindings, but it does support prebuilds, so it will work for current Node.js releases (not future ones).\r\n\r\nJimp\r\nhttps://www.npmjs.com/package/jimp\r\nPure JavaScript implementation, but may have poor performance compared to the existing resizer.jar or Sharp, especially if resizing many files.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2020-01-30T21:39:28.000+0000", "updated": "2020-01-30T21:39:28.000+0000" }, { "id": "458901", "author": { "name": "antonioduran", "key": "antonioduran", "displayName": "Francisco Antonio Duran Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hello. I am getting the same.\r\n \r\nDid you find any workaround?\r\n\r\nFor some reason if I run the app from appcelerator studio, it works, but if I use the terminal, I got exactly the same issue reported.\r\n\r\nThanks,\r\n", "updateAuthor": { "name": "antonioduran", "key": "antonioduran", "displayName": "Francisco Antonio Duran Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-07-23T19:49:07.000+0000", "updated": "2021-07-23T19:49:07.000+0000" }, { "id": "458905", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "[~antonioduran] if you try to run the java command it states directly what is the error you get? It's most likely an issue with the Java version used", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2021-07-26T13:25:08.000+0000", "updated": "2021-07-26T13:25:33.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }