← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #251123]: [1.0.1] Can't run tests via ant script and batch file

 

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

J posted a new comment:
Apologies, but I'm not quite sure how to do this. This is what I have
and it isn't working:

---

@echo off
setlocal
set ECLIPSE=C:\Program Files\eclipse
set WORKSPACE=C:\Users\tester\Documents\workspace\ProView-Automated-Tests
set BUILDFILE=C:\Users\tester\Documents\workspace\ProView-Automated-Tests\buildfiles\core_pages_browser.xml

set ANT_HOME=C:\apache-ant-1.9.4
set JAVA_HOME=C:\Program Files\Java\jdk1.7.0_55
set SIKULIX_HOME=C:\Sikuli
set PATH=%JAVA_HOME%\bin;%ANT_HOME%\bin;%SIKULIX_HOME%\libs
set CLASSPATH=%JAVA_HOME%\lib

cd C:\Users\tester\Documents\workspace\ProView-Automated-Tests

java -Dsikuli.Debug=3 -jar "%SIKULIX_HOME%\sikuli-java.jar"

call ant -buildfile buildfiles\core_pages_browser.xml

pause

---

I'm getting "no main manifest attribute, in C:\Sikuli\sikuli-java.jar"
at the top of the command line when I execute the batch file. Thanks for
your help with this.

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