<?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 Building ArcGIS JS API v3.13 in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/building-arcgis-js-api-v3-13/m-p/330208#M2105</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are implementing a large GIS web application and we currently use ArcGIS JS API v3.9.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to build and package our scripts, we locally installed the complete sources found in the ZIP file &lt;SPAN style="font-family: 'courier new', courier;"&gt;arcgis_js_v39_api.zip&lt;/SPAN&gt; downloaded from &lt;A href="https://developers.arcgis.com/en/downloads/" title="https://developers.arcgis.com/en/downloads/"&gt;SDK Downloads | ArcGIS for Developers.&lt;/A&gt; This includes the following packages: esri, dojo (dijit, dojo, dojox), dgrid, put-selector and xstyle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To build our application, we created the files &lt;SPAN style="font-family: 'courier new', courier;"&gt;package.json&lt;/SPAN&gt; and &lt;SPAN style="font-family: 'courier new', courier;"&gt;app.profile.js&lt;/SPAN&gt; describing the correct dependencies, packages and layers. We then use the script &lt;SPAN style="font-family: 'courier new', courier;"&gt;build.bat&lt;/SPAN&gt; shipped with the official release of Dojo as explained at &lt;A href="http://dojotoolkit.org/documentation/tutorials/1.10/build/" title="http://dojotoolkit.org/documentation/tutorials/1.10/build/"&gt;Creating Builds - Dojo Toolkit Tutorial&lt;/A&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Until version 3.9 everything worked fine and we were able to build our application. Some days ago we switched to version 3.13 and the build process stopped working: the builder throws various exceptions, like "Illegal character exception" in some ESRI JS files, &lt;SPAN style="font-family: 'courier new', courier;"&gt;package.js&lt;/SPAN&gt; files are missing for dgrid, put-selector and x-style, and even an Out Of Memory exception. Of course, we adapted our &lt;SPAN style="font-family: 'courier new', courier;"&gt;package.json, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;app.profile.js &lt;/SPAN&gt;and &lt;SPAN style="font-family: 'courier new', courier;"&gt;build.bat&lt;/SPAN&gt; to reflect the new versions and folder structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only way we found to make the build working again was to replace all the packages shipped with version 3.13 (dgrid, dijit, dojo, dojox, put-selector, xstyle) with their official releases and to run Dojo build scripts using Node.JS instead of Java. However, this solution is completely not-documented and erases some changes of ESRI (for example in the &lt;SPAN style="font-family: 'courier new', courier;"&gt;dojo.js&lt;/SPAN&gt; file).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Does anyone have the same problem?&lt;/LI&gt;&lt;LI&gt;Is there a documented and valid solution that does not erases ESRI changes to the Dojo packages?&lt;/LI&gt;&lt;LI&gt;Why the packages dgrid, dijit, dojo, dojox, put-selector and xstyle shipped with the ArcGSI JS API are not valid with respect to the Dojo build system?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Jun 2015 09:10:32 GMT</pubDate>
    <dc:creator>DarioPoggiali</dc:creator>
    <dc:date>2015-06-26T09:10:32Z</dc:date>
    <item>
      <title>Building ArcGIS JS API v3.13</title>
      <link>https://community.esri.com/t5/developers-questions/building-arcgis-js-api-v3-13/m-p/330208#M2105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are implementing a large GIS web application and we currently use ArcGIS JS API v3.9.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to build and package our scripts, we locally installed the complete sources found in the ZIP file &lt;SPAN style="font-family: 'courier new', courier;"&gt;arcgis_js_v39_api.zip&lt;/SPAN&gt; downloaded from &lt;A href="https://developers.arcgis.com/en/downloads/" title="https://developers.arcgis.com/en/downloads/"&gt;SDK Downloads | ArcGIS for Developers.&lt;/A&gt; This includes the following packages: esri, dojo (dijit, dojo, dojox), dgrid, put-selector and xstyle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To build our application, we created the files &lt;SPAN style="font-family: 'courier new', courier;"&gt;package.json&lt;/SPAN&gt; and &lt;SPAN style="font-family: 'courier new', courier;"&gt;app.profile.js&lt;/SPAN&gt; describing the correct dependencies, packages and layers. We then use the script &lt;SPAN style="font-family: 'courier new', courier;"&gt;build.bat&lt;/SPAN&gt; shipped with the official release of Dojo as explained at &lt;A href="http://dojotoolkit.org/documentation/tutorials/1.10/build/" title="http://dojotoolkit.org/documentation/tutorials/1.10/build/"&gt;Creating Builds - Dojo Toolkit Tutorial&lt;/A&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Until version 3.9 everything worked fine and we were able to build our application. Some days ago we switched to version 3.13 and the build process stopped working: the builder throws various exceptions, like "Illegal character exception" in some ESRI JS files, &lt;SPAN style="font-family: 'courier new', courier;"&gt;package.js&lt;/SPAN&gt; files are missing for dgrid, put-selector and x-style, and even an Out Of Memory exception. Of course, we adapted our &lt;SPAN style="font-family: 'courier new', courier;"&gt;package.json, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;app.profile.js &lt;/SPAN&gt;and &lt;SPAN style="font-family: 'courier new', courier;"&gt;build.bat&lt;/SPAN&gt; to reflect the new versions and folder structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only way we found to make the build working again was to replace all the packages shipped with version 3.13 (dgrid, dijit, dojo, dojox, put-selector, xstyle) with their official releases and to run Dojo build scripts using Node.JS instead of Java. However, this solution is completely not-documented and erases some changes of ESRI (for example in the &lt;SPAN style="font-family: 'courier new', courier;"&gt;dojo.js&lt;/SPAN&gt; file).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Does anyone have the same problem?&lt;/LI&gt;&lt;LI&gt;Is there a documented and valid solution that does not erases ESRI changes to the Dojo packages?&lt;/LI&gt;&lt;LI&gt;Why the packages dgrid, dijit, dojo, dojox, put-selector and xstyle shipped with the ArcGSI JS API are not valid with respect to the Dojo build system?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 09:10:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/building-arcgis-js-api-v3-13/m-p/330208#M2105</guid>
      <dc:creator>DarioPoggiali</dc:creator>
      <dc:date>2015-06-26T09:10:32Z</dc:date>
    </item>
  </channel>
</rss>

