I have just tried to put *SWTBot Headless plugin* inside */dropins*
and I executed

*eclipse.exe -clean*

I closed the Eclipse.
Then, I tried to run ANT but the same happened


PS: I'm sorry to write here... But, what could be better?
To send email to swtbot-...@eclipse.org?
or
To post in Eclipse Forum (SWTBot project)
or
To write in newsgroup?


PS 2: Eclipse Forum and Newsgroups is the same thing?


On Thu, Sep 2, 2010 at 2:33 PM, Pascal Gelinas <pascal.geli...@nuecho.com>wrote:

>  Well, first of all, Java returned 13 is not a good sign. If it's not 0,
> then there's an error, so now we can dig up.
>
> In the attached result file, you got a nice exception:
> java.lang.RuntimeException: Application
> "org.eclipse.swtbot.eclipse.junit4.headless.swtbottestapplication" could not
> be found in the registry. The applications available are: [snip]
>
> This means that Equinox (the OSGi runtime) cannot find the SWTBot Headless
> plugin. Have you installed it in your eclipse target (c:/eclipse) ? If yes,
> then how? Simply putting the jar in the plugins/ directory is not
> recommended. You should instead use the dropins/ folder or use p2.
> Personally I use p2 because I find it easier to manage, but it took me some
> time getting the hang of it. Now I have a simple script that updates the
> SWTBot version when I want to (which you can find the skeleton in the
> snippets page[1]).
>
> If these steps doesn't work/make sense to you, let me know.
>
> [1] http://wiki.eclipse.org/SWTBot/Snippets
>
> Hope this helps.
> p.s.: you should have posted this in the newsgroup, this is the dev list ;)
>
> On 10-09-02 01:18 PM, Caio Bulgarelli wrote:
>
> OK.  I attached the output (as a Printscreen image)
> and the *.txt* file generated
>
> Do you know what is wrong?
>
> BTW, thanks for the help!
>
>
>
> On Thu, Sep 2, 2010 at 1:01 PM, Pascal Gelinas 
> <pascal.geli...@nuecho.com>wrote:
>
>>  If you could provide the output of the java-test target we could help.
>> I'm suspecting that it doesn't find your plugin in its classpath or
>> something similar. You'll often find that ant output Build Successful but
>> you have errors in SWTBot.
>>
>> An example of what I mean:
>>
>>  [java] java-test:
>>      [java]      [echo] ======================================
>>      [java]      [echo] Running swtbot junit tests in [snip]
>>      [java]      [echo] Command line args are [snip]
>>      [java]      [echo] JVM args are [snip]
>>      [java]      [echo] JUnit Result File: result.xml.
>>      [java]      [echo] Console output File: result.txt.
>>      [java]      [echo] ======================================
>>      [java]      [java] java.lang.Exception: Could not find plugin "MyPlugin"
>>      [java]      [java]      at 
>> org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner.loadSuiteClass(EclipseTestRunner.java:303)
>>      [java]      [java]      at 
>> org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner.getTest(EclipseTestRunner.java:239)
>>      [java]      [java]      at 
>> org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner.<init>(EclipseTestRunner.java:222)
>>      [java]      [java]      at 
>> org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner.run(EclipseTestRunner.java:206)
>>      [java]      [java]      at 
>> org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication.runTests(UITestApplication.java:115)
>>      [java]      [java]      at 
>> org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(WorkbenchTestable.java:71)
>>      [java]      [java]      at java.lang.Thread.run(Thread.java:619)
>>      [java]      [echo] ======================================
>>      [java]      [echo] If you see errors above please see the file 
>> result.txt for more information.
>>      [java]      [echo] Errors are generally caused by missing or incorrect 
>> dependencies.
>>      [java]      [echo] ======================================
>>
>>
>> On 10-09-02 11:22 AM, Caio Bulgarelli wrote:
>>
>>  Hey Marriot!  THANK YOU!!!
>>
>> It was the SAME problem!
>>
>> I "fixed" the *library.xml *in lines 167 and 161 and it worked! =)
>>
>> *run:
>> BUILD SUCCESSFUL
>> Total time: 3 seconds*
>>
>> But, I could not see the Eclipse open and see the "macro" interact with
>> it.
>> It was very fast! (3 second) I would like to see the TestCase on running.
>> (Like on the tutorial Video)
>>
>> What I forgot to do for this?
>>
>>
>> --
>> Caio Bulgarelli
>> R&D - CM - MOTODEV
>> +55 . 19 - 3847-6938 - desk
>> +55 . 19 - 9135-0809 - mobile
>>
>>
>> _______________________________________________
>> swtbot-dev mailing list
>> swtbot-...@eclipse.orghttps://dev.eclipse.org/mailman/listinfo/swtbot-dev
>>
>>
>>
>> _______________________________________________
>> swtbot-dev mailing list
>> swtbot-dev@eclipse.org
>> https://dev.eclipse.org/mailman/listinfo/swtbot-dev
>>
>>
>
>
> --
> Caio Bulgarelli
> R&D - CM - MOTODEV
> +55 . 19 - 3847-6938 - desk
> +55 . 19 - 9135-0809 - mobile
>
>
> _______________________________________________
> swtbot-dev mailing 
> listswtbot-...@eclipse.orghttps://dev.eclipse.org/mailman/listinfo/swtbot-dev
>
>
>
> _______________________________________________
> swtbot-dev mailing list
> swtbot-dev@eclipse.org
> https://dev.eclipse.org/mailman/listinfo/swtbot-dev
>
>


-- 
Caio Bulgarelli
R&D - CM - MOTODEV
+55 . 19 - 3847-6938 - desk
+55 . 19 - 9135-0809 - mobile
_______________________________________________
swtbot-dev mailing list
swtbot-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/swtbot-dev

Reply via email to