Compile a new jar with foo method ?
Asked by
Joe List
Hello,
I have a simple question. I just want to add a simple method in a Java
class of Sikuli. For example, add a foo method to Location.java
My new method :
public Location foo(){
return new Location(1, 1);
}
I see the prerequisite to compile Sikuli. But it's very complicated for me
(Visual C++, CMake, OpenCV, ...)
Prerequisite
https:/
Seems lot of stuff just to add a simple method to Location.java
I probably don't need all that stuffs, and also I currently don't know how
to use them :)
My question is finally simple: Is it possible to compile quickly a new jar
and use it in my python script ? What is the minimum software to use?
loc = Location(10,10)
loc.foo() # (1,1)
Thanks!
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Joe List
- Solved:
- Last query:
- Last reply:
To post a message you must log in.