Jython and SciTE

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • rt lange

    Jython and SciTE

    I'm trying to get SciTE to run and compile my jython scripts.
    This is what I have in my python.properti es file:

    command.name.1. *.py=Go Jython
    command.1.*.py= jython $(FileNameExt)
    command.1.subsy stem.*.py=1
    command.name.2. *.py=Jython -> jar
    command.2.*.py= jythonc --core --jar $(FileName).jar $(FileNameExt)
    command.2.subsy stem.*.py=1

    I keep getting as output:
    [color=blue]
    >jython DiceRoll.py
    >The system cannot find the file specified.[/color]
    [color=blue]
    >jythonc --core --jar DiceRoll.jar DiceRoll.py
    >The system cannot find the file specified.[/color]

    It works fine from the command line (PATH is set correctly.)


  • Neil Hodgson

    #2
    Re: Jython and SciTE

    rt lange:
    [color=blue]
    > I'm trying to get SciTE to run and compile my jython scripts.
    > This is what I have in my python.properti es file:
    >
    > command.name.1. *.py=Go Jython
    > command.1.*.py= jython $(FileNameExt)
    > command.1.subsy stem.*.py=1
    > command.name.2. *.py=Jython -> jar
    > command.2.*.py= jythonc --core --jar $(FileName).jar $(FileNameExt)
    > command.2.subsy stem.*.py=1
    >
    > I keep getting as output:
    >[color=green]
    > >jython DiceRoll.py
    > >The system cannot find the file specified.[/color][/color]

    Depending on the OS and the type of command (batch, exe, python script)
    "jython" is you may need to execute through the command interpreter which is
    cmd on NT:

    command.1.*.py= cmd /c jython $(FileNameExt)

    Neil


    Comment

    Working...