Cant add Sikuli to

Asked by Darya

Hi. I'm tying to use SikuliX to test our eclipse application. But when I ty to add SikuliX dependency into MANIFEST.MF file and launch the program I get that error: "Missing requirement: <...> 0.0.1.qualifier requires 'java.package; org.sikuli 0.0.0' but it could not be found". Maybe I misspelling the name of the package? or SikuliX can't be added to the manifest?
Thanks in advance

Question information

English Edit question
SikuliX Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :

What version and artefact of SikuliX?
Where did you get it?

Did you already simply try a test inside Eclipse for example as a Maven project?

Revision history for this message
Darya (dbeaverdasha) said :

I'm trying to include com.sikulix.sikulixapi 2.0.5 artifact, got it from maven central repository. Вon't quite understand the second question. If you are talking about whether the program and other tests work in principle - yes, they do. JUnit + SWTBot + maven works great

Revision history for this message
RaiMan (raimund-hocke) said :

... understand the second question.

I am talking about a simple maven project, with a pom file listing com::sikulix::sikulixapi::2.0.5 as a dependency.

Revision history for this message
Darya (dbeaverdasha) said :

Yes, simple project compiles without problems. Errors occurs only for definition in manifest in my work project. And without including the sikuli in in it maven says that 'import org.sikuli ...' cannot be resolved

Revision history for this message
RaiMan (raimund-hocke) said :

Artefacts from MavenCentral usually do not contain any dependencies.
sikulixapi from MavenCentral can only be used in a project, that is compiled in a Maven project using a pom-file, where sikulixapi is declared as a dependency. Then maven will take care to get all dependencies from MavenCentral into the project.

If you want to use sikulixapi as a library dependency declared so in a manifest file, then you have to use an artefact from the download page of SikuliX (a jar, that is packed with all needed dependencies).

... but with SikuliX is is recommended to use it in real mavenized projects (having a pom file with sikulixapi as dependency).

Can you help with this problem?

Provide an answer of your own, or ask Darya for more information if necessary.

To post a message you must log in.