← 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

jos posted a new comment:
I think I'm getting close.
I managed to import the project into netbeans.
I had to modify my pom file so my runnable jar would find the main class,Here you can find the pom.xml
https://drive.google.com/file/d/0BymG7-nABOfnX0txWVVMSXptM0U/view?usp=sharing

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


I created the running jar and opened it again with 7zip. Surprise surprise, the resource folder is gone and the sikuli folder is there! 
:)

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


However if I run the runnable jar I got a new error :( :

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


Any clues?

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