<?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 Network analyst - Create Costum Evaluator with Java in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/network-analyst-create-costum-evaluator-with-java/m-p/93091#M2466</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As part of the project i'm working on, me and my fellows created an extension that uses network analyst to solve routes.We were also needed to create a custom evaluator for the solve route operation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our custom evaluator implemented ITimeAwareEvaluator. pretty much like this example:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.arcgis.com/home/item.html?id=5557e3c3b8c047e68e5632229c102476" title="http://www.arcgis.com/home/item.html?id=5557e3c3b8c047e68e5632229c102476"&gt;http://www.arcgis.com/home/item.html?id=5557e3c3b8c047e68e5632229c102476&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We wrote the extension and the evaluator in .Net.&lt;/P&gt;&lt;P&gt;The projects compiled into dll's and all we had to do was to register the evaluator with "ESRIRegAsm.exe".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Today we are trying to change the extension and the evaluator to Java.&lt;/P&gt;&lt;P&gt;The same interfaces that our custom evaluator implemented exist in java but it compiles into jar&lt;/P&gt;&lt;P&gt;and I can't register it through ESRIRegAsm.exe.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone knows how to create custom evaluator in Java and how to register it to the server and desktop?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Apr 2015 20:07:23 GMT</pubDate>
    <dc:creator>OmerHaimovich</dc:creator>
    <dc:date>2015-04-16T20:07:23Z</dc:date>
    <item>
      <title>Network analyst - Create Costum Evaluator with Java</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/network-analyst-create-costum-evaluator-with-java/m-p/93091#M2466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As part of the project i'm working on, me and my fellows created an extension that uses network analyst to solve routes.We were also needed to create a custom evaluator for the solve route operation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our custom evaluator implemented ITimeAwareEvaluator. pretty much like this example:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.arcgis.com/home/item.html?id=5557e3c3b8c047e68e5632229c102476" title="http://www.arcgis.com/home/item.html?id=5557e3c3b8c047e68e5632229c102476"&gt;http://www.arcgis.com/home/item.html?id=5557e3c3b8c047e68e5632229c102476&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We wrote the extension and the evaluator in .Net.&lt;/P&gt;&lt;P&gt;The projects compiled into dll's and all we had to do was to register the evaluator with "ESRIRegAsm.exe".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Today we are trying to change the extension and the evaluator to Java.&lt;/P&gt;&lt;P&gt;The same interfaces that our custom evaluator implemented exist in java but it compiles into jar&lt;/P&gt;&lt;P&gt;and I can't register it through ESRIRegAsm.exe.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone knows how to create custom evaluator in Java and how to register it to the server and desktop?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2015 20:07:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/network-analyst-create-costum-evaluator-with-java/m-p/93091#M2466</guid>
      <dc:creator>OmerHaimovich</dc:creator>
      <dc:date>2015-04-16T20:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: Network analyst - Create Costum Evaluator with Java</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/network-analyst-create-costum-evaluator-with-java/m-p/93092#M2467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try deploying the jar using one of the following deployment methods?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Copy the .jar file to the ARCGISHOME/java/lib/ext folder. This ensures that the extension gets automatically registered with ArcGIS the next time the application is started. This is a Java-friendly way and a recommended practice for deploying all ArcGIS extensions.&lt;/LI&gt;&lt;LI&gt;Explicitly register the .jar file with ArcGIS either through the API exposed on the com.esri.arcgis.interop.extn.RegTool class or through the "regtool.bat"/"regtool.sh" script available under ARCGISHOME/java/tools.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Utility Objects&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="http://resources.arcgis.com/en/help/arcobjects-java/concepts/engine/index.html#//00010000051r000000" title="http://resources.arcgis.com/en/help/arcobjects-java/concepts/engine/index.html#//00010000051r000000"&gt;http://resources.arcgis.com/en/help/arcobjects-java/concepts/engine/index.html#//00010000051r000000&lt;/A&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 16:57:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/network-analyst-create-costum-evaluator-with-java/m-p/93092#M2467</guid>
      <dc:creator>FreddieGibson</dc:creator>
      <dc:date>2015-09-22T16:57:08Z</dc:date>
    </item>
  </channel>
</rss>

