← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #241257]: How to save sikuli logs into an external file

 

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

    Status: Solved => Open

DeepaKiran is still having a problem:
Thanks Raiman, Though my problem has been resolved, I still have few
questions :

1. As I am using Maven, are these sikuli-java and sikuli-script 1.0.1 jars are part of maven central repository to use as dependency in my POM ? 
As my project need to refer these jars from my local sikuli's installation folder (C:/SikuliX), is it possible to use maven repository ?
Currently i am defining dependency in POM as:
<dependency>
<groupId>org.sikuli</groupId>
<artifactId>sikuli-script</artifactId>
<version>1.0.1</version>
<systemPath>C:\SukuliX\sikuli-script.jar</systemPath>
<scope>system</scope>
</dependency>

The reason i am asking this is - If I share my maven project to some of
my colleague , he need to have sikuli installed in his local machine to
run my project ? OR any dependency defined in POM can handle this ?

2. Can you also please give me an example code to add my own defined
logs to the log.txt file. I also wanted to add few lines of text in
log.txt file after each step of test execution

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