Thanks Melan, I've solved the issue that I've mentioned above by adding org.hamcrest to the Manifest (as Tycho refers to it to resolve certain dependencies). It's a reported buggy behavior of SWTBot [1].
Now the Tycho Integration is been successful and the Repository is up to date. Yes, now I need to add Dev Studio bundles and for that I will consider the facts that you've mentioned and refer the Jira [2]. I faced several issues trying to build the Jira project. Then only I decided to try with a minimal pom.xml. Now I'll set the dependencies, build and update by tonight. Thanks. [1] http://permalink.gmane.org/gmane.comp.ide.eclipse.tycho.user/1426 [2] https://github.com/Tharshayene/DevStudioUITestAutomation [3] https://wso2.org/jira/browse/TOOLS-1334 Regards, Tharshayene Loganathan Undergraduate, Dept. of Computer Science & Engineering, IIT,Sri Lanka. On 17 June 2014 12:01, Melan Nimesh <me...@wso2.com> wrote: > Hi Nila, > > According to the pom file that you attached, you are using eclipse helios > based P2 repositories for both eclipse SDK and swtbot, however WSO2 > developer-studio 3.6.0 is based on eclipse kepler, so you have to use > kepler P2 repository and compatible swtbot version for eclipse kepler. > furthermore you have to add developerstudio's bundles as dependencies to > your pom. please look at pom attached to jira [1] for your reference for > dependencies issue. > > Thanks, > Melan > > [1] https://wso2.org/jira/browse/TOOLS-1334 > > > > > On Tue, Jun 17, 2014 at 10:52 AM, Nila <tharshay...@gmail.com> wrote: > >> Updates: >> >> The repository [1] (not up to date, didn't push because I'm stuck trying >> to integrate SWTBot tests with Maven Tycho). >> >> I've created the plugin project [2] and set the pom.xml [3] exactly as >> instructed but that wasn't working saying Sona Type Dependency is missing. >> >> I've gone through the existing code in the JIRA [4] (building that fails >> due to certification issues) >> >> The Objective: Tycho is a set of Maven plugin that also refers the OSGI, >> MANIFEST file and build Eclipse plugins. I'm trying to run SWTBot tests >> with Tycho during this building process of my UITestPlugin. Thus I've >> minimized the pom.xml according to my understanding and referring to the >> Jira [4]. >> >> Issue : I'm building the project >> org.wso2.developerstudio.eclipse.test.esb (symbolic name) and I get the >> error saying " Bundle org.wso2.developerstudio.eclipse.test.esb is not >> found". >> >> I'm going through OSGI, P2 and Tycho details but still couldn't find >> the solution. Seems like I'm missing something. >> >> The Error Message during the tycho build and the corresponding pom.xml is >> attached below. >> >> Command line: >> >> /bin/sh -c cd /home/nila/DevStudioUITestAutomation && >> /usr/lib/jvm/java-7-oracle/jre/bin/java -Dosgi.noShutdown=false >> -Dosgi.os=linux -Dosgi.ws=gtk -Dosgi.arch=x86_64 -Xms2048m -Xmx3096m >> -XX:MaxPermSize=1024m -jar >> /home/nila/.m2/repository/p2/osgi/bundle/org.eclipse.equinox.launcher/1.1.1.R36x_v20101122_1400/org.eclipse.equinox.launcher-1.1.1.R36x_v20101122_1400.jar >> -data /home/nila/DevStudioUITestAutomation/target/work/data -dev >> file:/home/nila/DevStudioUITestAutomation/target/dev.properties -install >> /home/nila/DevStudioUITestAutomation/target/work -configuration >> /home/nila/DevStudioUITestAutomation/target/work/configuration -application >> org.eclipse.tycho.surefire.osgibooter.uitest -testproperties >> /home/nila/DevStudioUITestAutomation/target/surefire.properties >> -testApplication org.eclipse.ui.ide.workbench -product org.eclipse.sdk.ide >> -nouithread >> >> java.lang.RuntimeException: Bundle >> org.wso2.developerstudio.eclipse.test.esb is not found >> at >> org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.getBundleClassLoader(OsgiSurefireBooter.java:133) >> at >> org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:65) >> at >> org.eclipse.tycho.surefire.osgibooter.AbstractUITestApplication.runTests(AbstractUITestApplication.java:44) >> at >> org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(WorkbenchTestable.java:71) >> at java.lang.Thread.run(Thread.java:745) >> >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] BUILD FAILURE >> [INFO] >> ------------------------------------------------------------------------ >> >> >> Please help me sort out this issue. >> >> [1] https://github.com/Tharshayene/DevStudioUITestAutomation >> >> [2] http://wiki.eclipse.org/SWTBot/UsersGuide >> >> [3] >> https://docs.sonatype.org/display/TYCHO/How+to+run+SWTBot+tests+with+Tycho >> >> [4] https://wso2.org/jira/browse/TOOLS-1380 >> >> >> Regards, >> Tharshayene Loganathan >> Undergraduate, >> Dept. of Computer Science & Engineering, >> IIT,Sri Lanka. >> >> >> >> >> On 13 June 2014 01:57, Nila <tharshay...@gmail.com> wrote: >> >>> Yes, I'm working on it, will soon share with you. >>> >>> >>> On Thursday, June 12, 2014, Jasintha Dasanayake <jasin...@wso2.com> >>> wrote: >>> >>>> Any updates? >>>> >>>> /Jasintha >>>> >>>> >>>> On Fri, Jun 6, 2014 at 6:48 AM, Jasintha Dasanayake <jasin...@wso2.com> >>>> wrote: >>>> >>>> HI Nila >>>> >>>> Hope you have already started coding , So can you please share your >>>> source repository location >>>> >>>> Thanks >>>> /Jasintha >>>> >>>> >>>> >>>> On Mon, Jun 2, 2014 at 6:14 PM, Nila <tharshay...@gmail.com> wrote: >>>> >>>> Hi, >>>> As you've asked my hierarchical Task Analysis for the midterm >>>> evaluation, I've attached that and also my proposal document. >>>> Lemme know the feedback. >>>> >>>> >>>> Regards, >>>> Tharshayene Loganathan >>>> Undergraduate, >>>> Dept. of Computer Science & Engineering, >>>> IIT,Sri Lanka. >>>> >>>> >>>> >>>> >>>> On 31 May 2014 09:32, Nila <tharshay...@gmail.com> wrote: >>>> >>>> Hi, >>>> As we've already discussed over the phone, I'm preparing my >>>> hierarchical analysis design so far. And I would like to get an overall >>>> mid term evaluation criteria, bench marks,tasks (schedules),objectives >>>> (date by), Also I wish if I can get any reference/samples regarding >>>> the specified module. >>>> >>>> >>>> Regards, >>>> Tharshayene Loganathan >>>> Undergraduate, >>>> Dept. of Computer Science & Engineering, >>>> IIT,Sri Lanka. >>>> >>>> >>>> >>>> >>>> On 23 May 2014 17:32, Nila <tharshay...@gmail.com> wrote: >>>> >>>> >>> >>> -- >>> Sent from Gmail Mobile >>> >> >> >> _______________________________________________ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > *Melan Nimesh* > Software Engineer; > WSO2 Inc.; http://wso2.org > E-mail: melan AT wso2.com; > Mobile: +94 77 631 6759 > >
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev