I figured that out, that I need a separate eclipse folder with all the required 
plugins (including SWTBot) in which the plugin under test runs. This I have 
already done manually.

But there is another difference in the other example as far as I have seen. It 
uses a listener (which it provides as an extra plugin) and the classname to 
start all of it is org.eclipse.equinox.launcher.Main and not 
org.eclipse.core.launcher.Main.

I am still working on your example and will report when finished.


--- On Wed, 7/9/08, Ketan Padegaonkar <[EMAIL PROTECTED]> wrote:
From: Ketan Padegaonkar <[EMAIL PROTECTED]>
Subject: Re: [SWTBot-users] Running SWTBot Plugin Test from Ant
To: swtbot-users@lists.sourceforge.net
Date: Wednesday, July 9, 2008, 3:01 AM

On 09-Jul-08, at 12:16 PM, Hans Schwaebli wrote:

> I already tried it with this example:
http://www.eclipse.org/articles/article.php?file=Article-PDEJUnitAntAutomation/index.html
>
> But it seemed a bit too complicated and I didn't suceed in short  
> time with it.


This particular example builds your plugins from within ant. My  
snippet assumes that you already have this infrastructure in place. In  
case you do not, a good way to start would be to export the plugins  
from within eclipse.

If you're able to do this, I'd recommend plugin-builder next if you  
want something that's quick and easy to set up.

-- Ketan


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
SWTBot-users mailing list
SWTBot-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swtbot-users
http://swtbot.org/ - a functional testing tool for SWT/Eclipse


      
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
SWTBot-users mailing list
SWTBot-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swtbot-users
http://swtbot.org/ - a functional testing tool for SWT/Eclipse

Reply via email to