<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-text-html" lang="x-western">
      <div class="moz-cite-prefix">On 09/21/2012 12:41 PM, Vlado Pakan
        wrote:<br>
      </div>
      <blockquote cite="mid:505C4467.2060500@redhat.com" type="cite">I'm
        missing these menu items "Quick Fix" and "Create JSF2
        composite..." from Context Menu of Source pane of VPE containing
        XHTML page when SWT Bot tests are run via maven. <br>
      </blockquote>
      Most probably a missing dependency, or a SWTBot bug with Eclipse
      4.2...<br>
      <br>
      <blockquote cite="mid:505C4467.2060500@redhat.com" type="cite">
        Maven command: mvn clean install -P
        default,jbosstools-staging-aggregate -Dswtbot.test.skip=false
        -Dmaven.test.failure.ignore=true <br>
        [...]<br>
        Any ideas how to find out what went wrong? <br>
      </blockquote>
      When in such trouble I do run "mvn verify [blah] -DdebugPort=8000"
      and configure a new Remote Java Application Debug configuration in
      Eclipse that listen to JVM on port 8000. Then put a breakpoint on
      your test before it fails, SWTBot thread gets suspended and you
      can play with Eclipse UI.<br>
      When test is suspended, verify manually on the test instance
      whether this menu is here or not.<br>
      If you can see the menu, it's an SWTBot bug, if you can't it's a
      target-platform bug. Use Plug-in Spy on a working Eclipse to see
      which plugin contributes this menu and verify the contributing
      plugin is a dependency for your SWTBot test.<br>
      <br>
      HTH.<br>
      <div class="moz-signature">-- <br>
        Mickael Istria<br>
        Eclipse developer at <a href="http://www.jboss.org/tools">JBoss,

          by Red Hat</a><br>
        <a href="http://mickaelistria.wordpress.com">My blog</a> - <a
          href="http://twitter.com/mickaelistria">My Tweets</a></div>
    </div>
  </body>
</html>