Skip to content

Commit

Permalink
run anything
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Feinberg committed Jul 20, 2010
1 parent 8923b87 commit ff004cb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .classpath
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry combineaccessrules="false" kind="src" path="/processing-core"/>
<classpathentry kind="lib" path="jython.jar" sourcepath="src.zip"/>
<classpathentry kind="lib" path="C:/jython2.5.2b1core/jython.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
3 changes: 2 additions & 1 deletion rundemo.sh
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
c:\jdk6_18\bin\java -jar python-hack.jar kinetictype.py
#!/bin/sh
java -jar python-hack.jar kinetictype.py
2 changes: 1 addition & 1 deletion src/jycessing/Runner.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ private static String wrap(final Reader r) throws IOException {
}

public static void main(final String[] args) throws Exception {
final String pathname = "kinetictype.py";
final String pathname = args[0];
final String text = wrap(new FileReader(pathname));

Py.initPython();
Expand Down

0 comments on commit ff004cb

Please sign in to comment.