[jbosstools-dev] Jenkins build is still unstable: jbosstools-4.0_trunk.component--ws #46

Mickael Istria mistria at redhat.com
Fri Sep 21 06:49:41 EDT 2012


On 09/21/2012 12:41 PM, Vlado Pakan wrote:
> 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.
Most probably a missing dependency, or a SWTBot bug with Eclipse 4.2...

> Maven command: mvn clean install -P 
> default,jbosstools-staging-aggregate -Dswtbot.test.skip=false 
> -Dmaven.test.failure.ignore=true
> [...]
> Any ideas how to find out what went wrong?
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.
When test is suspended, verify manually on the test instance whether 
this menu is here or not.
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.

HTH.
-- 
Mickael Istria
Eclipse developer at JBoss, by Red Hat <http://www.jboss.org/tools>
My blog <http://mickaelistria.wordpress.com> - My Tweets 
<http://twitter.com/mickaelistria>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jbosstools-dev/attachments/20120921/080fbf73/attachment.html 


More information about the jbosstools-dev mailing list