Re: [Sikuli-driver] [Question #252103]: Not able to use sikuliX snapshot

2014-07-30 Thread Robert Grzeskowiak
Question #252103 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252103

Status: Answered = Solved

Robert Grzeskowiak confirmed that the question is solved:
After clearing my .m2 repo it started to work :) Thanks!

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #252103]: Not able to use sikuliX snapshot

2014-07-28 Thread RaiMan
Question #252103 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252103

Status: Open = Answered

RaiMan proposed the following answer:
this is my OSSRH test pom. this works.

?xml version=1.0?
project xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd; 
xmlns=http://maven.apache.org/POM/4.0.0;
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  modelVersion4.0.0/modelVersion
  groupIdcom.sikulix/groupId
  artifactIdsikulixtestrun/artifactId
  version1.1.0-Beta4/version
  urlhttp://maven.apache.org/url

  properties
project.build.sourceEncodingUTF-8/project.build.sourceEncoding
  /properties
  
  repositories
repository
  idcom-sikulix/id
  namecom-sikulix/name
  urlhttp://oss.sonatype.org/content/groups/public/url
  releases
enabledfalse/enabled
updatePolicydaily/updatePolicy
checksumPolicyfail/checksumPolicy
  /releases
  snapshots
enabledtrue/enabled
updatePolicyalways/updatePolicy
checksumPolicyfail/checksumPolicy
  /snapshots
  layoutdefault/layout
/repository
  /repositories
  
  dependencies
dependency
  groupIdcom.sikulix/groupId
  artifactIdsikulixapi/artifactId
  version1.1.0-Beta4-SNAPSHOT/version
/dependency
  /dependencies
  
  build
plugins
  plugin
artifactIdmaven-jar-plugin/artifactId
version2.4/version
configuration
  archive
manifest
  mainClasscom.sikulix.testrun.TestRun/mainClass
/manifest
  /archive
/configuration
  /plugin
  plugin
artifactIdmaven-compiler-plugin/artifactId
version3.1/version
configuration
  source1.6/source
  target1.6/target
/configuration
  /plugin
/plugins
  /build
/project

//-- this is my test source:
package com.sikulix.testrun;

import org.sikuli.basics.Debug;
import org.sikuli.script.*;

public class TestRun {

  public static void main(String[] args) {
Debug.test(SikuliX 2014 TestRun: hello);
Debug.setDebugLevel(3);
Screen s = new Screen();
s.click();
  }
}

Currently the dependency sikulixtessdata is not yet on OSSRH and leads to
[debug] SikuliX: add to classpath: 
/Users/rhocke/.m2/repository/com/sikulix/sikulixtessdata/1.1.0-Beta4-SNAPSHOT/sikulixtessdata-1.1.0-Beta4-SNAPSHOT.jar
[error] SikuliX: does not exist - not added

just ignore it.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #252103]: Not able to use sikuliX snapshot

2014-07-28 Thread Robert Grzeskowiak
Question #252103 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252103

Robert Grzeskowiak posted a new comment:
Hi,

I have tried the same configuration as you have and unfortunately with no good 
result.
I put even your test-code and added sysout in the end which is not printed out.
The first TestRun: hello is displayed and later on I got several of errors:

Jul 28, 2014 9:39:41 AM java.util.prefs.WindowsPreferences init
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 
0x8002. Windows RegCreateKeyEx(...) returned error code 5.
[TEST] SikuliX 2014 TestRun: hello
[debug] ResourceLoader: SikuliX Package Build: 1.1.0-Beta4 
2014-07-26_07:39nightly
[debug] ResourceLoader: check: The jar in use is some sikulixapi.jar
/C:/Users/robert.grzeskowiak/.m2/repository/com/sikulix/sikulixapi/1.1.0-Beta4-SNAPSHOT/sikulixapi-1.1.0-Beta4-20140726.054020-8.jar
[debug] SikuliX: add to classpath: 
/C:/Users/robert.grzeskowiak/.m2/repository/com/sikulix/sikulixlibswin/1.1.0-Beta4-SNAPSHOT/sikulixlibswin-1.1.0-Beta4-20140726.054020-8.jar
[error] SikuliX: does not exist - not added
[debug] SikuliX: add to classpath: 
/C:/Users/robert.grzeskowiak/.m2/repository/com/sikulix/sikulixtessdata/1.1.0-Beta4-SNAPSHOT/sikulixtessdata-1.1.0-Beta4-20140726.054020-8.jar
[error] SikuliX: does not exist - not added
[error] ResourceLoader: Terminating: The jar was not built with setup nor can 
the libs be exported from classpath!
/C:/Users/robert.grzeskowiak/.m2/repository/com/sikulix/sikulixapi/1.1.0-Beta4-SNAPSHOT/sikulixapi-1.1.0-Beta4-20140726.054020-8.jar

Process finished with exit code 1

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #252103]: Not able to use sikuliX snapshot

2014-07-28 Thread RaiMan
Question #252103 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252103

RaiMan proposed the following answer:
Ok, I have to test on Windows and come back soon.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #252103]: Not able to use sikuliX snapshot

2014-07-28 Thread RaiMan
Question #252103 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252103

RaiMan proposed the following answer:
again tested.

usage and result:
https://github.com/RaiMan/SikuliX-2014/blob/master/TestRunMaven/sikulixtestrun-log-win.txt

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #252103]: Not able to use sikuliX snapshot

2014-07-28 Thread RaiMan
Question #252103 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252103

RaiMan requested more information:
did an 
mvn clean install 

before?

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #252103]: Not able to use sikuliX snapshot

2014-07-28 Thread Robert Grzeskowiak
Question #252103 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252103

Robert Grzeskowiak posted a new comment:
Yes
I have even tried on maven 3.0.5 and 3.1.1

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #252103]: Not able to use sikuliX snapshot

2014-07-28 Thread RaiMan
Question #252103 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252103

RaiMan proposed the following answer:
I am on Windows 8 64
have Java 1.7-65
Maven 3.1.1

and in my user-home I shave a mavenrc_pre.bat
defining 
JAVA_HOME=path-to-the-JDK 1.7

without this my Maven refuses to work at all.

I even deleted the .m2 repo path com.sikulix

…. it works in all cases

I have no idea.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #252103]: Not able to use sikuliX snapshot

2014-07-27 Thread Robert Grzeskowiak
New question #252103 on Sikuli:
https://answers.launchpad.net/sikuli/+question/252103

Hi,

I just wanted to use SikuliX snapshot from OSSRH.
I have added dependencies to my pom.xml file, tried to write simple test with 
it.
Unfortunately I got error while executing the code:

[error] SikuliX: does not exist - not added
[error] SikuliX: does not exist - not added
[error] ResourceLoader: Terminating: The jar was not built with setup nor can 
the libs be exported from classpath!
/C:/Users/user.name/.m2/repository/com/sikulix/sikulixapi/1.1.0-Beta4-SNAPSHOT/sikulixapi-1.1.0-Beta4-20140722.165905-5.jar

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp