Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-13931

sd card option requires multi-configuration axis name to be in capital letters

XMLWordPrintable

      Any text entered into the SD card option is automatically capitalized, which can be a pain. For example, a multi-config with a user-defined axis of sd =

      {16M 32M}

      can be entered into the SD card option box as ${sd}. However, all builds fail, and looking at the project configuration shows that the text was changed to ${SD}. The offending code is in EmulatorConfig.java:
      sdCardSize = sdCardSize.toUpperCase().replaceAll("[ B]", "");

      A similar issue probably exists with locale due to this:
      deviceLocale = deviceLocale.substring(0, 2).toLowerCase() +"_"
                     + deviceLocale.substring(3).toUpperCase();

            orrc Christopher Orr
            hamiltont Hamilton Turner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: