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 >
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>tycho.demo.itp03</groupId> <artifactId>org.wso2.developerstudio.eclipse.test.esb</artifactId> <version>1.0.0-SNAPSHOT</version> <packaging>eclipse-test-plugin</packaging> <properties> <!-- <tycho-version>0.11.0-SNAPSHOT</tycho-version> --> <tycho-version>0.7.0-SNAPSHOT</tycho-version> <uitest.vmparams>-Xms2048m -Xmx3096m -XX:MaxPermSize=1024m </uitest.vmparams> </properties> <repositories> <repository> <id>helios</id> <layout>p2</layout> <url>http://download.eclipse.org/releases/helios</url> </repository> <repository> <id>swtbot</id> <layout>p2</layout> <url>http://download.eclipse.org/technology/swtbot/helios/dev-build/update-site</url> </repository> <repository> <id>DevStudio</id> <layout>p2</layout> <url>http://dist.wso2.org/p2/developer-studio/releases/3.6.0/</url> </repository> </repositories> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.8.1</version> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.eclipse.tycho</groupId> <artifactId>tycho-maven-plugin</artifactId> <version>0.14.1</version> <extensions>true</extensions> </plugin> <plugin> <groupId>org.eclipse.tycho</groupId> <artifactId>tycho-surefire-plugin</artifactId> <version>0.14.1</version> <configuration> <resolver>p2</resolver> <useUIHarness>true</useUIHarness> <useUIThread>false</useUIThread> <argLine>${uitest.vmparams}</argLine> <application>org.eclipse.ui.ide.workbench</application> <product>org.eclipse.sdk.ide</product> <dependencies> <!-- Adding dependency for tycho --> <dependency> <type>p2-installable-unit</type> <artifactId>org.eclipse.sdk.ide</artifactId> <version>0.0.0</version> </dependency> </dependencies> </configuration> </plugin> </plugins> </build> </project>
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev