Questions Tagged With unit-testhttps://answers.axonivy.com/tags/unit-test/?type=rss&user=khanh11166questions tagged <span class="tag">unit-test</span>enWed, 07 Jun 2017 08:22:03 -0400Losing 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-testjar