Hello there!
I"m right now in process of building jubula (for quite a while already) to start working on my master thesis, that involves enhancing it a bit.
The problem is I can't achieve a working build from the source code. Generally I want to run command line client in debug mode in Eclipse, and its not working by now :D
Just a bit about the environment: - Mac OSX 10.6.8 - Eclipse for RCP and RAP Developers (Kepler SR1 for x64 Mac) - Target platform is set to juno.target - Java 1.6 - MySQL 5.6.14 (MacOS x64)
Steps i did: 1. Builded it with maven (target platform juno) 2. created a test that works both from jubula ITE and existing testexec in jubula package
After the maven build and refreshing workspace i still get number of errors. Among them there are some in org.eclipse.jubula.examples.* - i dont mention them. The list of the rest is attached to this letter. Generally there are problems in org.jubula.rc.swt.utils and org.jubula.rc.rcp.e3.specific modules.
3. Run "org.eclipse.jubula.app.cmd.launcher" as eclipse application
works, console output complains about missing command line arguments and shows me tooltip
4. Run "org.eclipse.jubula.app.cmd.launcher" as eclipse application with proper command line arguments
I get the following error: "!SESSION 2013-11-07 18:45:50.151 ----------------------------------------------- eclipse.buildId=unknown java.version=1.6.0_22 java.vendor=Apple Inc. BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US Framework arguments: -application org.eclipse.jubula.app.cmd.launcher -project TestProject -version 1.0 -testsuite TestSuiteFirst -server localhost -port 59999 -autid adderSwing SwingAut -resultdir /Users/sukhanov/Documents/thesis/report -datadir /Users/sukhanov/Documents/thesis/report -language en_US -dbuser root -dbpw pause -dburl jdbc:mysql://localhost:3306/jubula Command-line arguments: -application org.eclipse.jubula.app.cmd.launcher -data /Users/sukhanov/Documents/thesis/workspace/../runtime-org.eclipse.jubula.app.cmd.launcher -dev file:/Users/sukhanov/Documents/thesis/workspace/.metadata/.plugins/org.eclipse.pde.core/org.eclipse.jubula.app.cmd.launcher/dev.properties -consoleLog -project TestProject -version 1.0 -testsuite TestSuiteFirst -server localhost -port 59999 -autid adderSwing SwingAut -resultdir /Users/sukhanov/Documents/thesis/report -datadir /Users/sukhanov/Documents/thesis/report -language en_US -dbuser root -dbpw pause -dburl jdbc:mysql://localhost:3306/jubula
!ENTRY org.eclipse.osgi 4 0 2013-11-07 18:45:56.774 !MESSAGE Application error !STACK 1 org.eclipse.jubula.tools.exception.GDConfigXmlException at org.eclipse.jubula.toolkit.common.xml.businessprocess.ComponentBuilder.getCompSystem(ComponentBuilder.java:194) at org.eclipse.jubula.client.core.ClientTest.<init>(ClientTest.java:203) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at org.eclipse.jubula.client.core.ClientTestFactory.getClientTest(ClientTestFactory.java:44) at org.eclipse.jubula.app.cmd.batch.ExecutionController.<init>(ExecutionController.java:327) at org.eclipse.jubula.app.cmd.batch.ExecutionController.getInstance(ExecutionController.java:341) at org.eclipse.jubula.app.cmd.Client.preRun(Client.java:63) at org.eclipse.jubula.client.cmd.AbstractCmdlineClient.run(AbstractCmdlineClient.java:401) at org.eclipse.jubula.client.cmd.AbstractLauncher.start(AbstractLauncher.java:26) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584) at org.eclipse.equinox.launcher.Main.run(Main.java:1438) at org.eclipse.equinox.launcher.Main.main(Main.java:1414) An error has occurred. See the log file /Users/sukhanov/Documents/thesis/runtime-org.eclipse.jubula.app.cmd.launcher/.metadata/.log."
If i try starting not cmd client - i still get this error in log file.
Please, can u help me with fixing this? I appreciate any help, cause I am a bit desperate after trying to build jubula for three weeks already and always running in random problems. Thanks a lot in advance! |