← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #262874]: imagePath working inside eclipse but not in jar

 

Question #262874 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/262874

    Status: Answered => Open

jos is still having a problem:
Okay, sikuli was missing from the runnable jar, I edited my pom.xml so
now it should be included. Here is my edited pom.xml:

https://drive.google.com/file/d/0BymG7-nABOfnVllNckpwRVBkUUU/view?usp=sharing


My runnable jar looks now like this: 

https://drive.google.com/file/d/0BymG7-nABOfnMVpwQTQwNWRWYTA/view?usp=sharing


My project structure looks like this:
https://drive.google.com/file/d/0BymG7-nABOfnV1l6RUhHNUhybDQ/view?usp=sharing

And inside the Watcher.java file under the package domain I've got this line:
ImagePath.add("application.Launcher/sikuli");

The program still runs fine inside netbeans,
But when I run the exported fat jar I get the following error:

https://drive.google.com/file/d/0BymG7-nABOfnTVlIb0l4dEhHN1E/view?usp=sharing

I don't know if the first two error lines are bad, but the create a libs
folder, so I don't think it's that bad. But the error 'not on image path
: 1.png' is not so good I guess :/

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.