I've tried with adding a single dependency that is org.wso2.developerstudio.eclipse.esb.core.
The p2 repositories used in the pom [1] SWTBot (with Kepler support): http://download.eclipse.org/technology/swtbot/releases/latest/ Eclipse (Kepler) : http://download.eclipse.org/releases/kepler Dev Studio: http://dist.wso2.org/p2/developer-studio/releases/3.6.0/ [ERROR] Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:0.14.1:test (default-test) on project org.wso2.developerstudio.eclipse.test.esb: Execution default-test of goal org.eclipse.tycho:tycho-surefire-plugin:0.14.1:test failed: "Messages while trying children repositories.": ["": ["Problems downloading artifact: osgi.bundle,org.wso2.developerstudio.eclipse.libraries,3.6.0.": ["Error reading signed content:/tmp/signatureFile5428770762066386577.jar"], "Problems downloading artifact: osgi.bundle,org.wso2.developerstudio.eclipse.esb.core,3.6.0.": ["Error reading signed content:/tmp/signatureFile2679040866387976102.jar"], "Problems downloading artifact: osgi.bundle,org.wso2.developerstudio.eclipse.logging,3.6.0.": ["Error reading signed content:/tmp/signatureFile1943200598424150640.jar"], "Problems downloading artifact: osgi.bundle,org.wso2.developerstudio.eclipse.platform.core,3.6.0.": ["Error reading signed content:/tmp/signatureFile2737266192417490199.jar"], "Problems downloading artifact: osgi.bundle,org.wso2.developerstudio.eclipse.utils,3.6.0.": ["Error reading signed content:/tmp/signatureFile4237022354253305524.jar"], "Problems downloading artifact: osgi.bundle,org.wso2.developerstudio.eclipse.maven,3.6.0.": ["Error reading signed content:/tmp/signatureFile1335516704927992367.jar"], "Problems downloading artifact: osgi.bundle,org.wso2.developerstudio.eclipse.samples,3.6.0.": ["Error reading signed content:/tmp/signatureFile1060962926948217294.jar"]]] -> [Help 1] [ERROR] Please assist me to solve this. [1] https://github.com/Tharshayene/DevStudioUITestAutomation Regards, Tharshayene Loganathan Undergraduate, Dept. of Computer Science & Engineering, IIT,Sri Lanka. On 19 June 2014 02:08, Nila <tharshay...@gmail.com> wrote: > I've added hamcrest-all.org 1.3 to the pom.xml thus now the kepler > support is there. The repository [1] has the pom.xml (removed the Developer > Studio Dependencies). > > When building the pom.xml Developer Studio bundle dependencies I > confronted errors that are attached in the previous mail in this thread. > > Is it because of any jar sign corruption issue? Is it because my JDT [2] > or any other config didn't support? > > But I could be able to install via Eclipse (Kepler) and use Developer > Studio. > > Other thing I've noticed that each time I run 'mvn clean install' the p2 > plugins are redownloaed. But inside the, > .m2/repository/p2/osgi/bundle/org.wso2.developerstudio.eclipse.*.*/3.6.0 > nothing is found. But other group ID plugins contains Jar other than > 'org.wso2.developerstudio.eclipse'. And even I add a single dependency the > whole p2 is downloaded (may be due to transitive dependencies). Are these > are normal behaviors? > > Please help. Please leave a hint or clarify what is | may causing | cause > this issue. > > [1] https://github.com/Tharshayene/DevStudioUITestAutomation > > [2] https://github.com/reficio/p2-maven-plugin/issues/10 > <https://github.com/reficio/p2-maven-plugin/issues/10> > > > Regards, > Tharshayene Loganathan > Undergraduate, > Dept. of Computer Science & Engineering, > IIT,Sri Lanka. > > > > > On 18 June 2014 01:59, Nila <tharshay...@gmail.com> wrote: > >> SWTBot Kepler build is failing due to hamcrest.org. It's a bug [1] [2] >> and hope will find a work around sooner (there are other Kepler based >> systems such as EGit still use SWTBot for UI testing). >> >> As the next step I'm trying to integrate Developer Studio dependencies so >> I could test its UI work flows. >> >> Maven build failures occurred during the process. >> >> >> I've tried to place all the pom.xml dependencies from the JIRA project >> but the build failed. >> >> I've tried only to add ESB dependencies but similar error occurred. I'm >> finding it difficult to trace required dependencies and reasons for the >> failures. Thus please help me by suggesting the list of plugins (at least a >> minimal set of plugin to test a single product related cases). >> >> Is it possible to group out minimum plugins that are to be added to the >> pom.xml to test ESB test cases (as a start)? >> >> I've attached both pom.xml files and corresponding build errors. Please >> check them and let me know what I'm missing. >> >> Thanks in advance. >> >> >> [1] >> http://eclipse.1072660.n5.nabble.com/org-junit-4-11-and-backward-compatibility-td159026.html >> >> [2] https://bugs.eclipse.org/bugs/show_bug.cgi?id=405276 >> >> >> >> >> Regards, >> Tharshayene Loganathan >> Undergraduate, >> Dept. of Computer Science & Engineering, >> IIT,Sri Lanka. >> >> >> >> >> On 17 June 2014 20:07, Nila <tharshay...@gmail.com> wrote: >> >>> 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