Questions Tagged With jarhttps://answers.axonivy.com/tags/jar/?type=rssquestions tagged <span class="tag">jar</span>enTue, 16 Apr 2019 03:21:05 -0400how to upgrade primefaces 6.1 to 7.0 in AXON IVY 7.0.2https://answers.axonivy.com/questions/3771/how-to-upgrade-primefaces-6-1-to-7-0-in-axon-ivy-7-0-2<p>i'm using Designer 7.0.2 and primefaces 6.1 . i need to use p:dataview component from primefaces.how can i upgrade primefaces from 6.1 to 7.0?</p>hiba nassarTue, 16 Apr 2019 03:21:05 -0400https://answers.axonivy.com/questions/3771/how-to-upgrade-primefaces-6-1-to-7-0-in-axon-ivy-7-0-2designerjarprimefacesHow to properly integrate and deploy a third-party library in an ivy project and deploy it to the engine?https://answers.axonivy.com/questions/2953/how-to-properly-integrate-and-deploy-a-third-party-library-in-an-ivy-project-and-deploy-it-to-the-engine<p>Hi,</p> <p>we've modeled a process where some IvyScript tasks make use of a third-party library. For usage in the ivy Designer we just added it to our ivy project and it worked. But whenever we try to deploy everything to the engine we get an error which says that a class from the mentioned library is not available. </p> <p>Hence, my question is: What is the standard workflow to integrate and deploy third-party libraries properly? Do we have to add them manually to some special engine folder (I'm just wondering because I've found some lib folders)?</p> <p>Thank you very much in advance and kind regards, Lars</p>LaAckFri, 03 Nov 2017 08:56:59 -0400https://answers.axonivy.com/questions/2953/how-to-properly-integrate-and-deploy-a-third-party-library-in-an-ivy-project-and-deploy-it-to-the-engineivyscriptjarbuildlibrarydeploymentLosing resources folder when compiling ivy projecthttps://answers.axonivy.com/questions/2678/losing-resources-folder-when-compiling-ivy-project<p>Hi there,</p> <p>Currently, when I use maven to build the project I have this problem.</p> <p>I have 2 projects: <strong>desk_post</strong> and <strong>desk_post_test</strong> (required desk_post)</p> <p>When I run for desk_post</p> <p>-&gt; mvn clean install </p> <p>-&gt; successful </p> <p>-&gt; created: desk_post-1.00.08.00-SNAPSHOT.iar </p> <p>-&gt; the <strong>resources</strong> folder already included in <strong>iar</strong> file <img alt="alt text" src="http://answers.axonivy.com/upfiles/iar_file.png"></p> <p>Then I run for desk_post_test</p> <p>-&gt; mvn clean test -X</p> <p>-&gt; not successful</p> <p>I open the folder <strong>desk_post_test\target\ivyBuildApp\iarJars\</strong></p> <p>I can not find the <strong>resources</strong> anymore (see the picture) <img alt="alt text" src="http://answers.axonivy.com/upfiles/create_jar.png"></p> <p>Unfortunately, I have to use that resource </p> <p>I used: <strong>Ivy 6.3.0</strong></p> <p>Do you have any idea?</p> <p>This is one log in command line:</p> <pre><code>[INFO] Compiling ivy Project... [DEBUG] Create jar 'C:\work\finform_workspace\6.3\postfinance_desk\desk_post_test\target\ivyBuildApp\iarJars\desk_post-1.00.08.00-SNAPSHOT.jar' with java binaries from ivy archive 'C:\Users\vdkhanh\.m2\repository\ch\axonivy\finform\desk_post\1.00.08.00-SNAPSHOT\desk_post-1.00.08.00-SNAPSHOT.iar' </code></pre>khanh11166Wed, 07 Jun 2017 08:22:03 -0400https://answers.axonivy.com/questions/2678/losing-resources-folder-when-compiling-ivy-projectmavenunit-testjarWhy there are two guava JARs in Axon.ivy engine's lib/shared?https://answers.axonivy.com/questions/1762/why-there-are-two-guava-jars-in-axon-ivy-engine-s-lib-shared<p>Hi Ivy team</p> <p>Our team are about to use Guava in our project. The version we use is 19.0. When we test on Axon.ivy Designer, everything works just fine. However, when we deploy on engine, it get exception at runtime:</p> <p><code>Caused by: java.lang.NoSuchMethodError: com.google.common.collect.Range.closed(Ljava/lang/Comparable;Ljava/lang/Comparable;)Lcom/google/common/collect/Range;</code></p> <p>After digging around, we discovered that there are 2 jars of guava in Axon.ivy engine's <code>lib/shared</code> directory: <code>guava-16.0.1.jar</code> and <code>guava-11.0.2.jar</code>. At runtime, somehow Axon.ivy Engine chooses to load <code>guava-11.0.2.jar</code> and ignore the other jar.</p> <p>My questions are:</p> <ul> <li>Why there two jars of two different version?</li> <li>Is there anyway we can use <code>guava-19.0</code> without overriding Axon.ivy engine's <code>lib/shared</code>?</li> </ul>Genzer HawkerTue, 10 May 2016 12:47:55 -0400https://answers.axonivy.com/questions/1762/why-there-are-two-guava-jars-in-axon-ivy-engine-s-lib-sharedjarlibraryconflict