<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Mickael,<br>
      <br>
      sounds really good :), so I gave it a try and found out:<br>
      <br>
      1. Not all our test plug-ins are ready to be used with this
      feature due to forgetting include test projects into binary build;
      so far I've found o.j.t.tests.test and o.j.t.foundation.core.test
      have such problem; I couldn't go further than foundation.core.test
      plug-in because of problems explained below<br>
      <br>
      2. Second try to run usually ends up with<br>
      <br>
      [INFO] Installing IUs [org.jboss.tools.foundation.core.test,
      org.eclipse.tycho.surefire.osgibooter,
      org.eclipse.tycho.surefire.junit4] to
      /home/eskimo/jbdevstudio-java-with-space/studio<br>
      Installing org.jboss.tools.foundation.core.test
      1.1.0.Alpha1-v20131109-0206.<br>
      Installing org.eclipse.tycho.surefire.osgibooter 0.19.0.<br>
      Installing org.eclipse.tycho.surefire.junit4 0.19.0.<br>
      Installation failed.<br>
      Cannot complete the install because of a conflicting dependency.<br>
      &nbsp;Software being installed: JBoss Foundation Tests
      1.1.0.Alpha1-v20131109-0206 (org.jboss.tools.foundation.core.test
      1.1.0.Alpha1-v20131109-0206)<br>
      &nbsp;Software currently installed: JBoss Foundation Tests
      1.1.0.Alpha1-v20131109-0203 (org.jboss.tools.foundation.core.test
      1.1.0.Alpha1-v20131109-0203)<br>
      &nbsp;Only one of the following can be installed at once: <br>
      &nbsp; JBoss Foundation Tests 1.1.0.Alpha1-v20131109-0203
      (org.jboss.tools.foundation.core.test 1.1.0.Alpha1-v20131109-0203)<br>
      &nbsp; JBoss Foundation Tests 1.1.0.Alpha1-v20131109-0206
      (org.jboss.tools.foundation.core.test 1.1.0.Alpha1-v20131109-0206)<br>
      Application failed, log file location:
      /tmp/config3255596288906066066equinox/1383962733126.log<br>
      [INFO]
      ------------------------------------------------------------------------<br>
      <br>
      3. Also I've seen problems with shutting down the RCP
      installation:<br>
      <br>
      -------------------------------------------------------<br>
      &nbsp;T E S T S<br>
      -------------------------------------------------------<br>
      Running org.jboss.tools.foundation.core.test.FoundationAllTests<br>
      Accepting connections<br>
      Accepting socket<br>
      Generating response<br>
      Response requested. Delaying<br>
      Responding to request: Hello<br>
      Response generated<br>
      Accepting connections<br>
      Accepting socket<br>
      Cancel Monitor Thread Launched<br>
      Generating response<br>
      Response requested. Delaying<br>
      Canceling Monitor<br>
      Responding to request: Hello<br>
      Response generated<br>
      Flushing response<br>
      Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
      7.037 sec<br>
      <br>
      Results :<br>
      <br>
      Tests run: 9, Failures: 0, Errors: 0, Skipped: 0<br>
      <br>
      Job found still running after platform shutdown.&nbsp; Jobs should be
      canceled by the plugin that scheduled them during shutdown:
      org.eclipse.ui.internal.decorators.DecorationScheduler$3<br>
      Job found still running after platform shutdown.&nbsp; Jobs should be
      canceled by the plugin that scheduled them during shutdown:
      org.eclipse.ui.internal.decorators.DecorationScheduler$1<br>
      Job found still running after platform shutdown.&nbsp; Jobs should be
      canceled by the plugin that scheduled them during shutdown:
      org.eclipse.ui.internal.progress.AnimationManager$1<br>
      An error has occurred. See the log file<br>
/home/eskimo/Projects/jbdevstudio/src-fork/jbosstools-base/foundation/tests/org.jboss.tools.foundation.core.test/target/work/data/.metadata/.log.<br>
      <br>
      <br>
      Denis<br>
      <br>
      On 11/08/2013 07:04 AM, Mickael Istria wrote:<br>
    </div>
    <blockquote cite="mid:527CFD86.5000801@redhat.com" type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      Hi all,<br>
      <br>
      With Tycho 0.19.0, we could fix the long-standing issue
      JBIDE-13869. This will allow you to run your test with Maven
      against an RCP application which is available in your filesystem.<br>
      You can do it by simply running for example:<br>
      &nbsp; $ cd tests/my.test.bundle<br>
      &nbsp; $ mvn clean verify -Dtest.profileName=epp.package.jee
      -Dtest.installPath=/home/me/eclipse-4.4.M2<br>
      If test.installPath is not set, you get the default surefire
      behaviour which is to generate a simple minimal installation to
      run the tests in target/work.<br>
      More info about the profileName can be found in <a
        moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://wiki.eclipse.org/Tycho/Testing_with_Surefire#p2Installed_on_provisioned_RCP_application">http://wiki.eclipse.org/Tycho/Testing_with_Surefire#p2Installed_on_provisioned_RCP_application</a>
      . This works on any RCP application that relies on p2 (in case you
      want to test JBoss Tools inside Websphere Studio ;).<br>
      <br>
      We've configured it so that by default, it is JBDS-friendly and
      set the jbds profileName. So to test on JBDS, you can simply use:<br>
      &nbsp; $ mvn clean verify
      -Dtest.installPath=/home/me/jbdevstudio-8.0.0.Alpha1-SNAPSHOT/studio<br>
      <br>
      Except a few exception, other surefire parameters, such as the
      very cool debugPort parameter, can be used together with this
      mechanism.<br>
      <br>
      Enjoy!<br>
      <div class="moz-signature">-- <br>
        Mickael Istria<br>
        Eclipse developer at <a moz-do-not-send="true"
          href="http://www.jboss.org/tools">JBoss, by Red Hat</a><br>
        <a moz-do-not-send="true"
          href="http://mickaelistria.wordpress.com">My blog</a> - <a
          moz-do-not-send="true" href="http://twitter.com/mickaelistria">My
          Tweets</a></div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
jbosstools-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:jbosstools-dev@lists.jboss.org">jbosstools-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/jbosstools-dev">https://lists.jboss.org/mailman/listinfo/jbosstools-dev</a></pre>
    </blockquote>
    <br>
  </body>
</html>