Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-5984

WP8 add/remove dll resources is crufty

    XMLWordPrintableJSON

Details

    Description

      plugman + wp8 has support for adding/removing dll resources to the project, although there are multiple potential issues with string comparison in filesnames.

      Code like this:

      var parts = relative_path.split('\\');
      var dll_name = parts[parts.length - 1].substr(0, parts[parts.length - 1].length - 4);
      
      

      Can easily be replaced with this :

      var dll_name = path.basename(relative_path, '.dll');
      
      

      I fear there are also latent bugs here, so more tests should also be added.

      Attachments

        Issue Links

          Activity

            People

              purplecabbage Jesse MacFadyen
              purplecabbage Jesse MacFadyen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: