This is an automated email from the git hooks/post-receive script. pini pushed a commit to tag upstream/1.1.0_beta1 in repository sikuli.
commit dedbf61f0b9f8d663dc88ccecd09784c349d8af9 Author: Raimund Hocke <[email protected]> Date: Sun Feb 23 12:23:17 2014 +0100 added empty script language support classes (all service providers must be loadable at runtime) - should be changed in the long run to active loading of classes if more scripting support is to be added. --- JRubyFat/pom.xml | 4 +- .../org/sikuli/idesupport/JythonIDESupport.java | 18 +++++ .../sikuli/scriptrunner/JythonScriptRunner.java | 83 ++++++++++++++++++++++ JythonFat/pom.xml | 4 +- .../org/sikuli/idesupport/JRubyIDESupport.java | 18 +++++ .../org/sikuli/scriptrunner/JRubyScriptRunner.java | 83 ++++++++++++++++++++++ 6 files changed, 206 insertions(+), 4 deletions(-) diff --git a/JRubyFat/pom.xml b/JRubyFat/pom.xml index 24281b6..8dc97da 100644 --- a/JRubyFat/pom.xml +++ b/JRubyFat/pom.xml @@ -44,9 +44,9 @@ <version>2.4</version> <configuration> <descriptors> - <descriptor>../${sikuli.jartype}</descriptor> + <descriptor>../plain.xml</descriptor> </descriptors> - <finalName>${sikuli.jarname}-4</finalName> + <finalName>${sikuli.usedversion}-5</finalName> </configuration> <executions> <execution> diff --git a/JRubyFat/src/main/java/org/sikuli/idesupport/JythonIDESupport.java b/JRubyFat/src/main/java/org/sikuli/idesupport/JythonIDESupport.java new file mode 100644 index 0000000..1b24681 --- /dev/null +++ b/JRubyFat/src/main/java/org/sikuli/idesupport/JythonIDESupport.java @@ -0,0 +1,18 @@ +package org.sikuli.idesupport; + +import org.sikuli.basics.IDESupport; +import org.sikuli.basics.IndentationLogic; + +public class JythonIDESupport implements IDESupport{ + + @Override + public String[] getEndings() { + throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. + } + + @Override + public IndentationLogic getIndentationLogic() { + throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. + } + +} diff --git a/JRubyFat/src/main/java/org/sikuli/scriptrunner/JythonScriptRunner.java b/JRubyFat/src/main/java/org/sikuli/scriptrunner/JythonScriptRunner.java new file mode 100644 index 0000000..1a5281d --- /dev/null +++ b/JRubyFat/src/main/java/org/sikuli/scriptrunner/JythonScriptRunner.java @@ -0,0 +1,83 @@ +/* + * To change this license header, choose License Headers in Project Properties. + * To change this template file, choose Tools | Templates + * and open the template in the editor. + */ + +package org.sikuli.scriptrunner; + +import java.io.File; +import org.sikuli.basics.IScriptRunner; + +/** + * + * @author rhocke + */ +public class JythonScriptRunner implements IScriptRunner{ + + @Override + public void init(String[] args) { + throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. + } + + @Override + public int runScript(File scriptfile, File imagedirectory, String[] scriptArgs, String[] forIDE) { + throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. + } + + @Override + public int runTest(File scriptfile, File imagedirectory, String[] scriptArgs, String[] forIDE) { + throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. + } + + @Override + public int runInteractive(String[] scriptArgs) { + throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. + } + + @Override + public String getCommandLineHelp() { + throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. + } + + @Override + public String getInteractiveHelp() { + throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. + } + + @Override + public String getName() { + return ("NotImplemented"); + } + + @Override + public String[] getFileEndings() { + throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. + } + + @Override + public String hasFileEnding(String ending) { + throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. + } + + @Override + public void close() { + throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. + } + + @Override + public boolean doSomethingSpecial(String action, Object[] args) { + throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. + } + + @Override + public void execBefore(String[] stmts) { + throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. + } + + @Override + public void execAfter(String[] stmts) { + throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. + } + +} diff --git a/JythonFat/pom.xml b/JythonFat/pom.xml index 54ab8c3..9515ce3 100644 --- a/JythonFat/pom.xml +++ b/JythonFat/pom.xml @@ -44,9 +44,9 @@ <version>2.4</version> <configuration> <descriptors> - <descriptor>../${sikuli.jartype}</descriptor> + <descriptor>../plain.xml</descriptor> </descriptors> - <finalName>${sikuli.jarname}-3</finalName> + <finalName>${sikuli.usedversion}-4</finalName> </configuration> <executions> <execution> diff --git a/JythonFat/src/main/java/org/sikuli/idesupport/JRubyIDESupport.java b/JythonFat/src/main/java/org/sikuli/idesupport/JRubyIDESupport.java new file mode 100644 index 0000000..57cab58 --- /dev/null +++ b/JythonFat/src/main/java/org/sikuli/idesupport/JRubyIDESupport.java @@ -0,0 +1,18 @@ +package org.sikuli.idesupport; + +import org.sikuli.basics.IDESupport; +import org.sikuli.basics.IndentationLogic; + +public class JRubyIDESupport implements IDESupport{ + + @Override + public String[] getEndings() { + throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. + } + + @Override + public IndentationLogic getIndentationLogic() { + throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. + } + +} diff --git a/JythonFat/src/main/java/org/sikuli/scriptrunner/JRubyScriptRunner.java b/JythonFat/src/main/java/org/sikuli/scriptrunner/JRubyScriptRunner.java new file mode 100644 index 0000000..d453be0 --- /dev/null +++ b/JythonFat/src/main/java/org/sikuli/scriptrunner/JRubyScriptRunner.java @@ -0,0 +1,83 @@ +/* + * To change this license header, choose License Headers in Project Properties. + * To change this template file, choose Tools | Templates + * and open the template in the editor. + */ + +package org.sikuli.scriptrunner; + +import java.io.File; +import org.sikuli.basics.IScriptRunner; + +/** + * + * @author rhocke + */ +public class JRubyScriptRunner implements IScriptRunner{ + + @Override + public void init(String[] args) { + throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. + } + + @Override + public int runScript(File scriptfile, File imagedirectory, String[] scriptArgs, String[] forIDE) { + throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. + } + + @Override + public int runTest(File scriptfile, File imagedirectory, String[] scriptArgs, String[] forIDE) { + throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. + } + + @Override + public int runInteractive(String[] scriptArgs) { + throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. + } + + @Override + public String getCommandLineHelp() { + throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. + } + + @Override + public String getInteractiveHelp() { + throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. + } + + @Override + public String getName() { + return ("NotImplemented"); + } + + @Override + public String[] getFileEndings() { + throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. + } + + @Override + public String hasFileEnding(String ending) { + throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. + } + + @Override + public void close() { + throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. + } + + @Override + public boolean doSomethingSpecial(String action, Object[] args) { + throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. + } + + @Override + public void execBefore(String[] stmts) { + throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. + } + + @Override + public void execAfter(String[] stmts) { + throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. + } + +} -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/sikuli.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

