Hi Zeb,
Thanks for the pointers. No such thing as dipping your toe in the water with this stuff, so much to get lined up before anything comes together
Set the target according to the referenced material and pressed the Reload
button (whatever that does; seemed like a good guess though). The indigo target is now active but it doesnt seem to have helped, in fact I now have 37 errors L, not sure what the new one is but the others look to be the same as previously. The maven build seems to complete OK so probably a plug-in environment specific issue.
My eclipse is running 64-bit on Java 7 but this doesnt seem to be relevant.
Ive dumped the error messages below. Apologies as I wasnt sure how best to get a decently formatted table into the mailing list.
The specific bug Im going to try to address is one I opened yesterday https://bugs.eclipse.org/bugs/show_bug.cgi?id=386180 Presuming I should be looking somewhere in the AUT wrapper code? If so, then perhaps the plug-in issues are not immediately important? Though could be an issue with extracting the image for display even if I can get the correct data stored for the image.
REGARDS
Peter
Bundle 'org.eclipse.emf.cdo' cannot be resolved MANIFEST.MF /org.eclipse.jubula/META-INF line 15 Plug-in Problem
Bundle 'org.eclipse.emf.ecore' cannot be resolved MANIFEST.MF /org.eclipse.jubula/META-INF line 14 Plug-in Problem
Bundle 'org.eclipse.gef.examples.logic' cannot be resolved MANIFEST.MF /org.eclipse.jubula.examples.extension.rcp.gef.logic.identifier/META?INF line 9 Plug-in Problem
Gate cannot be resolved to a variable GateEditPartIdentifier.java /org.eclipse.jubula.examples.extension.rcp.gef.logic.identifier/src/org/eclipse/jubula/examples... line 61 Java Problemrg.eclipse.j
Gate cannot be resolved to a variable GateEditPartIdentifier.java /org.eclipse.jubula.examples.extension.rcp.gef.logic.identifier/src/org/eclipse/jubula/examples... line 61 Java Problem?????
GateEditPart cannot be resolved to a type GateEditPartIdentifier.java /org.eclipse.jubula.examples.extension.rcp.gef.logic.identifier/src/org/eclipse/jubula/examples... line 34 Java Problemubula.docume
GateEditPart cannot be resolved to a type GateEditPartIdentifier.java /org.eclipse.jubula.examples.extension.rcp.gef.logic.identifier/src/org/eclipse/jubula/examples... line 44 Java Problemrg.eclipse.j
GateEditPart cannot be resolved to a type GateEditPartIdentifier.java /org.eclipse.jubula.examples.extension.rcp.gef.logic.identifier/src/org/eclipse/jubula/examples... line 45 Java Problem
GateEditPart cannot be resolved to a type GateEditPartIdentifier.java /org.eclipse.jubula.examples.extension.rcp.gef.logic.identifier/src/org/eclipse/jubula/examples... line 56 Java Problemrence\en\tex
GateEditPart cannot be resolved to a type LogicEditPartIdentifierAdapterF... /org.eclipse.jubula.examples.extension.rcp.gef.logic.identifier/src/org/eclipse/jubula/examples... line 17 Java Problem
GateEditPart cannot be resolved to a type LogicEditPartIdentifierAdapterF... /org.eclipse.jubula.examples.extension.rcp.gef.logic.identifier/src/org/eclipse/jubula/examples... line 24 Java Problemions\Concret
GateEditPart cannot be resolved to a type LogicEditPartIdentifierAdapterF... /org.eclipse.jubula.examples.extension.rcp.gef.logic.identifier/src/org/eclipse/jubula/examples... line 26 Java Problem??Ã???
GateFigure cannot be resolved to a type GateEditPartIdentifier.java /org.eclipse.jubula.examples.extension.rcp.gef.logic.identifier/src/org/eclipse/jubula/examples... line 57 Java Problem
GateFigure cannot be resolved to a type GateEditPartIdentifier.java /org.eclipse.jubula.examples.extension.rcp.gef.logic.identifier/src/org/eclipse/jubula/examples... line 58 Java Problemcrete\List\V
GateFigure cannot be resolved to a type GateEditPartIdentifier.java /org.eclipse.jubula.examples.extension.rcp.gef.logic.identifier/src/org/eclipse/jubula/examples... line 58 Java ProblemsValue\param
Package 'org.eclipse.jubula.impl' does not exist in this plug?in MANIFEST.MF /org.eclipse.jubula/META-INF??Ã??? line 11 Plug-in Problem
Package 'org.eclipse.jubula.util' does not exist in this plug?in MANIFEST.MF /org.eclipse.jubula/META-INF\Action\Descriptions\Concrete\List\VerifySelectedIndices line 12 Plug-in Problem
Package 'org.eclipse.jubula' does not exist in this plug?in MANIFEST.MF /org.eclipse.jubula/META-INF line 10 Plug-in Problem
Project 'org.eclipse.jubula.examples.extension.rcp.rc' is missing required library: 'lib/org.eclipse.jubula.rc.common.jar' org.eclipse.jubula.examples.extension.rcp.rcions\Concrete\List\VerifySelectedIndices\param-Index.tex Build path Build Path Problem
Project 'org.eclipse.jubula.examples.extension.rcp.rc' is missing required library: 'lib/org.eclipse.jubula.rc.swt.jar' org.eclipse.jubula.examples.extension.rcp.rcrence\en\tex\Action\Descriptions\Concrete\List\VerifySelectedValue Build path Build Path Problem
Project 'org.eclipse.jubula.examples.extension.rcp.rc' is missing required library: 'lib/org.eclipse.jubula.tools.jar' org.eclipse.jubula.examples.extension.rcp.rcted.tex Build path Build Path Problem
Project 'org.eclipse.jubula.examples.extension.swing.rc' is missing required library: 'lib/org.eclipse.jubula.rc.common.jar' org.eclipse.jubula.examples.extension.swing.rc Build path Build Path Problem
Project 'org.eclipse.jubula.examples.extension.swing.rc' is missing required library: 'lib/org.eclipse.jubula.rc.swing.jar' org.eclipse.jubula.examples.extension.swing.rc Build path Build Path Problem
Project 'org.eclipse.jubula.examples.extension.swing.rc' is missing required library: 'lib/org.eclipse.jubula.tools.jar' org.eclipse.jubula.examples.extension.swing.rc Build path Build Path Problem
Project 'org.eclipse.jubula' is missing required source folder: 'src' org.eclipse.jubula Build path Build Path Problem
The constructor GateEditPartIdentifier?GateEditPart? refers to the missing type GateEditPart LogicEditPartIdentifierAdapterF... /org.eclipse.jubula.examples.extension.rcp.gef.logic.identifier/src/org/eclipse/jubula/examples... line 25 Java Problema.documentat
The import org.eclipse.gef.examples cannot be resolved GateEditPartIdentifier.java /org.eclipse.jubula.examples.extension.rcp.gef.logic.identifier/src/org/eclipse/jubula/examples... line 18 Java Probleme\MenuBar\Se
The import org.eclipse.gef.examples cannot be resolved GateEditPartIdentifier.java /org.eclipse.jubula.examples.extension.rcp.gef.logic.identifier/src/org/eclipse/jubula/examples... line 19 Java ProblemIT\org.eclip
The import org.eclipse.gef.examples cannot be resolved GateEditPartIdentifier.java /org.eclipse.jubula.examples.extension.rcp.gef.logic.identifier/src/org/eclipse/jubula/examples... line 20 Java ProblemEnabledByInd
The import org.eclipse.gef.examples cannot be resolved LogicEditPartIdentifierAdapterF... /org.eclipse.jubula.examples.extension.rcp.gef.logic.identifier/src/org/eclipse/jubula/examples... line 4 Java Problema.documentat
The method sendMessage?int, int, int, int[]? in the type SwtUtils is not applicable for the arguments ?long, int, int, int[]? SwtUtils.java /org.eclipse.jubula.rc.swt/src/org/eclipse/jubula/rc/swt/utils line 763 Java Problemtpath
The method sendMessage?int, int, int, int[]? in the type SwtUtils is not applicable for the arguments ?long, int, int, int[]? SwtUtils.java /org.eclipse.jubula.rc.swt/src/org/eclipse/jubula/rc/swt/utils line 786 Java Problemcrete\MenuBa
The project cannot be built until build path errors are resolved org.eclipse.jubula Unknown Java ProblemIT\org.eclip
The project cannot be built until build path errors are resolved org.eclipse.jubula.examples.extension.rcp.rctpath\param-Operator.tex Unknown Java Problem
The project cannot be built until build path errors are resolved org.eclipse.jubula.examples.extension.swing.rc Unknown Java Problemclipse.jubul
Type mismatch: cannot convert from long to int SwtUtils.java /org.eclipse.jubula.rc.swt/src/org/eclipse/jubula/rc/swt/utils line 796 Java Problem\Concrete\Me
Unknown extension point: 'org.eclipse.emf.ecore.generated_package' plugin.xml /org.eclipse.jubula line 13 Plug-in Problem
Hi Peter,
You're on the right path. I think the main problem at the moment is the Target Platform. Be sure that you've configured the Target Platform as described in the Jubula Contribution Guide (http://wiki.eclipse.org/Jubula/JubulaContribGuid). Target Platforms are a concept that are integral to Eclipse plug-in development, as they basically define which plug-ins (in which version) your plug-ins require. You can configure the Target Platform in Eclipse's Preferences dialog.
There are, at the moment, a few projects that are not really used when building Jubula. I think the example extensions are not built, and the org.eclipse.jubula project is another example of this. That being said, setting the Target Platform should resolve most, if not all, of these issues.
General tips and guidelines for contributing to Jubula are defined in the Contribution Guide. For specific tips, we're also available here on the mailing list. For very specific tips about a bug you might be working on, comment on the bug directly and we'll give whatever help we can.
- Zeb
On 31.07.2012 04:21, Peter Hancox wrote:
Ive just started investigating the use of Jubula for UI testing of a Java Swing application. So far it seems to be just what Im looking for but Ive come across a couple of issues. One of which is an issue with saving screenshots to PostgreSQL database. I know PostgreSQL isnt a supported database but, being keen to avoid putting yet another database such as Oracle into our environment, Id prefer to fix the PostgreSQL image storage issue as everything else so far seems to work fine with PostgreSQL.
I dont have any experience with eclipse plug-in development but Im tackling that now. So far I havent been able to locate much information on fixing / enhancing Jubula but did find a thread that basically said:
· git clone http://git.eclipse.org/gitroot/jubula/org.eclipse.jubula.core.git jubula
· cd jubula\org.eclipse.jubula.releng
· mvn clean package
After doing this, the projects imported into eclipse now contained the missing generated code and most of the error messages were resolved. However, Im still left with 36 errors though most seem to relate to examples (e.g., Bundle org.eclipse.gef.examples.logic cannot be resolved).
I also have Bundle org.eclipse.emf.cdo cannot be resolved. Given I have the real Jubula feature installed and working, why would the imported source projects have missing dependencies?
What steps other than those listed above are necessary / recommended?
Is there a guide / hints and tips etc. for fixing / enhancing Jubula?
Other than the user forum, wiki, and this mailing list, are there other places to look for Jubula specific information?
The other problem area Ive experienced is getting the object mapper, recorder, etc. to communicate with AUTs launched using the plugin eclipse launcher though thats less of an issue for me immediately.
Thanks for any assistance as Id really like to get this working. So far I havent found any tool that meets my requirements entirely. Jubula is close, the price is right, and if Im able to fix issues in the code base then Ill be quite happy to use this as the basis for our test infrastructure.
REGARDS
Peter
_______________________________________________
jubula-dev mailing list
jubula-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/jubula-dev
--
BREDEX GmbH
Mauernstr. 33
38100 Braunschweig
Tel.: +49-531-24330-0
Fax: +49-531-24330-99
http: www.bredex.de
Geschäftsführer: Hans-J. Brede, Achim Lörke, Ulrich Obst
Amtsgericht Braunschweig HRB 2450