← Back to team overview

sikuli-driver team mailing list archive

[Question #262133]: How to set up a sikuli-java application using Eclipse and Ant

 

New question #262133 on Sikuli:
https://answers.launchpad.net/sikuli/+question/262133

I have been trying since many days on Setting up a working ant Project with Sikuli -Java api using Eclipse but this does not work.
I got a copy of the Sikuli Java ecamples via git clone. Bellow is the result when using maven to build the Project.
[INFO] Scanning for projects...
[INFO] 
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building sikuli-api 1.2.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.809 s
[INFO] Finished at: 2015-02-15T01:51:27+01:00
[INFO] Final Memory: 4M/15M
[INFO] ------------------------------------------------------------------------
[ERROR] Unknown lifecycle phase "sikuli-api". You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-site, site, post-site, site-deploy, pre-clean, clean, post-clean. -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/LifecyclePhaseNotFoundException


So i have some questions:
1- Do i have to install the sikuli-setup.jar?
2- Which other considerations are to be done in other to have a start up Ant Project?

Thank you so much

Etien

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