Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-19650

Windows: Builder.createAppIconSet ignores existing assets

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: Release 5.0.0
    • Fix Version/s: Release 5.2.0
    • Component/s: Windows
    • Labels:
      None
    • Story Points:
      5
    • Sprint:
      2015 Sprint 20 SDK

      Description

      Let say we want to create app icons with several sizes and create them during build process like below.

      cli/commands/_build/copy.js

      	function createAppIconSet(next) {
      		var appIconSetDir = path.join(this.buildDir, 'Assets'),
      			missingIcons = [
      			// Square44x44Logo
      			{
      				description: 'Square44x44Logo.png - Used for logo',
      				file: path.join(appIconSetDir, 'Square44x44Logo.png'),
      				width: 44,
      				height: 44,
      				required: true
      			},
       
      			// Square71x71Logo
      			{
      				description: 'Square71x71Logo.png - Used for logo',
      				file: path.join(appIconSetDir, 'Square71x71Logo.png'),
      				width: 71,
      				height: 71,
      				required: true
      			},
       
      			// Square150x150Logo
      			{
      				description: 'Square150x150Logo.png - Used for logo',
      				file: path.join(appIconSetDir, 'Square150x150Logo.png'),
      				width: 150,
      				height: 150,
      				required: true
      			}
      		];
      		this.generateAppIcons(missingIcons, next);
      	}
      

      Even when you want to use custom images and place those images in your project (e.g. place custom images under platform/windows/ or project root directory), they are always ignored by the builder during the build.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gmathews Gary Mathews
                Reporter:
                kiguchi Kota Iguchi
              • Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-20446
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Source Code