<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic angular-localization failed Intel XDK build in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/angular-localization-failed-Intel-XDK-build/m-p/1066384#M56407</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;

&lt;P&gt;I have Intel XDK 3619 and I have a project with specific set of Bower Libraries as well as with Cordova Plugins. I don't use IONIC - instead I replaced it with Angular Material.&lt;/P&gt;

&lt;P&gt;All works just fine until I added angular-localization via Bower - once it is there I cannot build the project - it fails all the time.&lt;/P&gt;

&lt;P&gt;The funny thing is - all this works just fine prior IONIC replacement with Angular Material but this is only guess. I can of course consider angular-localization replacement in case I cannot avoid, but ideally you can give me a hint on the topic.&lt;/P&gt;

&lt;P&gt;Please find enclosed build log.&lt;/P&gt;

&lt;P&gt;Best Regards,&lt;/P&gt;

&lt;P&gt;Angel&lt;/P&gt;</description>
    <pubDate>Wed, 26 Oct 2016 19:56:42 GMT</pubDate>
    <dc:creator>Angel_T_</dc:creator>
    <dc:date>2016-10-26T19:56:42Z</dc:date>
    <item>
      <title>angular-localization failed Intel XDK build</title>
      <link>https://community.intel.com/t5/Software-Archive/angular-localization-failed-Intel-XDK-build/m-p/1066384#M56407</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;

&lt;P&gt;I have Intel XDK 3619 and I have a project with specific set of Bower Libraries as well as with Cordova Plugins. I don't use IONIC - instead I replaced it with Angular Material.&lt;/P&gt;

&lt;P&gt;All works just fine until I added angular-localization via Bower - once it is there I cannot build the project - it fails all the time.&lt;/P&gt;

&lt;P&gt;The funny thing is - all this works just fine prior IONIC replacement with Angular Material but this is only guess. I can of course consider angular-localization replacement in case I cannot avoid, but ideally you can give me a hint on the topic.&lt;/P&gt;

&lt;P&gt;Please find enclosed build log.&lt;/P&gt;

&lt;P&gt;Best Regards,&lt;/P&gt;

&lt;P&gt;Angel&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2016 19:56:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/angular-localization-failed-Intel-XDK-build/m-p/1066384#M56407</guid>
      <dc:creator>Angel_T_</dc:creator>
      <dc:date>2016-10-26T19:56:42Z</dc:date>
    </item>
    <item>
      <title>I am not seeing anything</title>
      <link>https://community.intel.com/t5/Software-Archive/angular-localization-failed-Intel-XDK-build/m-p/1066385#M56408</link>
      <description>&lt;P&gt;I am not seeing anything obvious in the build file. How big is your project folder? If it's larger than ~400MB that can cause the build system to fail.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2016 00:33:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/angular-localization-failed-Intel-XDK-build/m-p/1066385#M56408</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2016-10-27T00:33:51Z</dc:date>
    </item>
    <item>
      <title>Nope - my entire project</title>
      <link>https://community.intel.com/t5/Software-Archive/angular-localization-failed-Intel-XDK-build/m-p/1066386#M56409</link>
      <description>&lt;P&gt;Nope - my entire project folder size is ~ 74MB. I am enclosing also both bower package and Intel XDK project files - these will allow you to see which exactly Bower packages and plugins I am using.&lt;/P&gt;

&lt;P&gt;Update:&lt;/P&gt;

&lt;P&gt;I can confirm this is not project size related issue - if I change this angular-localization Bower package with another one e.g. angular-translation, which in fact is bigger, hence the total project size increases, I can build the project successfully.&lt;/P&gt;

&lt;P&gt;The remaining question is - why I cannot build a Intel XDK project with angular-localization package?&lt;/P&gt;

&lt;P&gt;Update 2:&lt;/P&gt;

&lt;P&gt;I can confirm that Intel XDK has issue when angular-localization Bower package is added. Here are the steps:&lt;/P&gt;

&lt;OL&gt;
	&lt;LI&gt;I've just created a brand new Cordova project and keep it as it is - with default plugins.&lt;/LI&gt;
	&lt;LI&gt;Build it, just to confirm all is good&lt;/LI&gt;
	&lt;LI&gt;Added (via Bower) ONLY angular-localization package only. Added version is 1.2.1. The package itself added three dependencies - angular, angular-cookies, angular-sanitize - all three are version 1.5.8&lt;/LI&gt;
	&lt;LI&gt;Attempt to build again - build failed. Please find enclosed build log - CordovaFailedLog-20161027.txt file.&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Since I build the project where three above dependencies are present, the only one which actually breaks the build in my opinion is angular-localization.&lt;/P&gt;

&lt;P&gt;Hope you can fix that or at least give me some hints how to avoid this unpleasant issue.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2016 07:08:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/angular-localization-failed-Intel-XDK-build/m-p/1066386#M56409</guid>
      <dc:creator>Angel_T_</dc:creator>
      <dc:date>2016-10-27T07:08:01Z</dc:date>
    </item>
    <item>
      <title>This is indeed an odd failure</title>
      <link>https://community.intel.com/t5/Software-Archive/angular-localization-failed-Intel-XDK-build/m-p/1066387#M56410</link>
      <description>&lt;P&gt;This is indeed an odd failure. I'll let our build expert know, he might be able to provide some insight into what's going on.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2016 17:02:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/angular-localization-failed-Intel-XDK-build/m-p/1066387#M56410</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2016-10-27T17:02:57Z</dc:date>
    </item>
    <item>
      <title>Hi Angel T.,</title>
      <link>https://community.intel.com/t5/Software-Archive/angular-localization-failed-Intel-XDK-build/m-p/1066388#M56411</link>
      <description>&lt;P&gt;Hi Angel T.,&lt;/P&gt;

&lt;P&gt;I was able to reproduce the build failure you suffered with the sample project you provided! I've analyzed the failure, and it is rooted in the Android build process's "aapt" tool! This tool packages the APK file, and as it does so, it enumerates through your project files, including bower component files. The angular-localization bower component has both an "angular-localization.nim.js" and an&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;"angular-localization.nim.js.gz" file. For a reason I cannot explain, aapt will remove the "gz" extension, and then fail because there are now two minimized angular localization scripts! Try removing the gz file, and you're build should succeed. If you do not need the gz file, then you're good to go!&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Sidenote: I'm working on a patch for the build system to provide users a more verbose compile log, so you and other users will be able to find this issue without needing to go to the forums to have an Intel XDK engineer look at our debug logs!&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Reference:&amp;nbsp;http://stackoverflow.com/questions/4666098/why-does-android-aapt-remove-gz-file-extension-of-assets&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2016 17:56:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/angular-localization-failed-Intel-XDK-build/m-p/1066388#M56411</guid>
      <dc:creator>Jerroyd_M_Intel</dc:creator>
      <dc:date>2016-10-27T17:56:00Z</dc:date>
    </item>
    <item>
      <title>Hey Jerroyd,</title>
      <link>https://community.intel.com/t5/Software-Archive/angular-localization-failed-Intel-XDK-build/m-p/1066389#M56412</link>
      <description>&lt;P&gt;Hey Jerroyd,&lt;/P&gt;

&lt;P&gt;Thanks for your answer you saved my day, man!&lt;/P&gt;

&lt;P&gt;Cheers,&lt;/P&gt;

&lt;P&gt;Angel&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2016 19:12:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/angular-localization-failed-Intel-XDK-build/m-p/1066389#M56412</guid>
      <dc:creator>Angel_T_</dc:creator>
      <dc:date>2016-10-27T19:12:19Z</dc:date>
    </item>
  </channel>
</rss>

