<?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 Re: Closure Compiler issues in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/closure-compiler-issues/m-p/1065535#M73414</link>
    <description>&lt;P&gt;I added:&lt;/P&gt;&lt;P&gt;export _JAVA_OPTIONS=-Xmx2048m&lt;/P&gt;&lt;P&gt;to my build script and it seems to be working&lt;/P&gt;</description>
    <pubDate>Mon, 07 Jun 2021 06:48:18 GMT</pubDate>
    <dc:creator>JethroLeevers</dc:creator>
    <dc:date>2021-06-07T06:48:18Z</dc:date>
    <item>
      <title>Closure Compiler issues</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/closure-compiler-issues/m-p/1064464#M73375</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have recently been moving a project of mine from local builds (windows) to Jenkins (ubuntu).&lt;/P&gt;&lt;P&gt;Everything builds fine on my local machine but when I try to build on Jenkins the build fails with the following diff in build-report.txt.&lt;/P&gt;&lt;P&gt;/dist/dojo/dojo.js:. OPTIMIZER FAILED: JavaException: java.lang.RuntimeException: Exception parsing "dojo.js.uncompressed.js"&lt;/P&gt;&lt;P&gt;I beleive this is the closure compiler having an exception:&lt;/P&gt;&lt;P&gt;Has anyone else had this issue?&lt;/P&gt;&lt;P&gt;Is there a way to get more verbose logging from the closure compiler?&lt;/P&gt;&lt;P&gt;Is the something else I may be able to do to find the cause of this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Jethro&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;P.S. FYI&lt;/P&gt;&lt;P&gt;Jenkins:&lt;/P&gt;&lt;P&gt;ubuntu@ip-xxx-xx-x-xxx:~$ java -version&lt;BR /&gt;openjdk version "1.8.0_292"&lt;BR /&gt;OpenJDK Runtime Environment (build 1.8.0_292-8u292-b10-0ubuntu1~18.04-b10)&lt;BR /&gt;OpenJDK 64-Bit Server VM (build 25.292-b10, mixed mode)&lt;BR /&gt;ubuntu@ip-xxx-xx-x-xxx:~$ npm -v&lt;BR /&gt;7.15.1&lt;BR /&gt;ubuntu@ip-xxx-xx-x-xxx:~$ node -v&lt;BR /&gt;v16.2.0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Local:&lt;/P&gt;&lt;P&gt;C:\DEV2021\OctonionDojo&amp;gt;java -version&lt;BR /&gt;java version "1.8.0_241"&lt;BR /&gt;Java(TM) SE Runtime Environment (build 1.8.0_241-b07)&lt;BR /&gt;Java HotSpot(TM) 64-Bit Server VM (build 25.241-b07, mixed mode)&lt;/P&gt;&lt;P&gt;C:\DEV2021\OctonionDojo&amp;gt;npm -v&lt;BR /&gt;7.15.1&lt;/P&gt;&lt;P&gt;C:\DEV2021\OctonionDojo&amp;gt;node -v&lt;BR /&gt;v12.16.2&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 02:15:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/closure-compiler-issues/m-p/1064464#M73375</guid>
      <dc:creator>JethroLeevers</dc:creator>
      <dc:date>2021-06-03T02:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: Closure Compiler issues</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/closure-compiler-issues/m-p/1064469#M73376</link>
      <description>&lt;P&gt;My app is based off&amp;nbsp;&lt;A href="https://github.com/Esri/jsapi-resources/tree/master/4.x/amd/dojo" target="_blank"&gt;https://github.com/Esri/jsapi-resources/tree/master/4.x/amd/dojo&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 02:30:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/closure-compiler-issues/m-p/1064469#M73376</guid>
      <dc:creator>JethroLeevers</dc:creator>
      <dc:date>2021-06-03T02:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: Closure Compiler issues</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/closure-compiler-issues/m-p/1064705#M73386</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/150422"&gt;@JethroLeevers&lt;/a&gt;&amp;nbsp;since it is a parse error, one thing is to make sure you have this set:&amp;nbsp;&amp;nbsp;&lt;A href="https://github.com/Esri/jsapi-resources/blob/master/4.x/amd/dojo/build.profile.js#L491" target="_blank"&gt;https://github.com/Esri/jsapi-resources/blob/master/4.x/amd/dojo/build.profile.js#L491&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 16:04:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/closure-compiler-issues/m-p/1064705#M73386</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2021-06-03T16:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: Closure Compiler issues</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/closure-compiler-issues/m-p/1064952#M73393</link>
      <description>&lt;P&gt;Yes, I already have these set&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jun 2021 00:41:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/closure-compiler-issues/m-p/1064952#M73393</guid>
      <dc:creator>JethroLeevers</dc:creator>
      <dc:date>2021-06-04T00:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: Closure Compiler issues</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/closure-compiler-issues/m-p/1065342#M73405</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&amp;gt; Is there a way to get more verbose logging from the closure compiler?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Besides the&amp;nbsp;&lt;SPAN&gt;build-report.txt, the regular console output can sometimes show more details.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Since the only&amp;nbsp;difference appears to be the OS, try to look for any issues like paths used in Windows vs. Linux.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jun 2021 23:16:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/closure-compiler-issues/m-p/1065342#M73405</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2021-06-04T23:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: Closure Compiler issues</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/closure-compiler-issues/m-p/1065507#M73413</link>
      <description>&lt;P&gt;Digging furthur into this issue, the problem seems to be related to the jvm heap size being exceeded when processing dojo.js.uncompressed.js&lt;/P&gt;&lt;P&gt;That being said, is there a way to control the jvm stack size from the build scripts or should I be looking at a build environment setting?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 03:17:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/closure-compiler-issues/m-p/1065507#M73413</guid>
      <dc:creator>JethroLeevers</dc:creator>
      <dc:date>2021-06-07T03:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: Closure Compiler issues</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/closure-compiler-issues/m-p/1065535#M73414</link>
      <description>&lt;P&gt;I added:&lt;/P&gt;&lt;P&gt;export _JAVA_OPTIONS=-Xmx2048m&lt;/P&gt;&lt;P&gt;to my build script and it seems to be working&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 06:48:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/closure-compiler-issues/m-p/1065535#M73414</guid>
      <dc:creator>JethroLeevers</dc:creator>
      <dc:date>2021-06-07T06:48:18Z</dc:date>
    </item>
  </channel>
</rss>

