Hello all,

I am attempting to use the @sig mechanism to make functions I have defined in a Python script available to Java:

<code>

def createResponseFile(responseFilePath, destinationPath):
    "@sig public static void createResponseFile(java.lang.String responseFilePath, java.lang.String destinationPath)"
    # my code follows
    # ....

</code>

When I run jythonc on this file, this is the Java code that is generated for this function in the PyInner class:

<code>

private static PyObject createResponseFile$1(PyFrame frame) {
            /* @sig public static void createResponseFile(java.lang.String responseFilePath, java.lang.String destinationPath) */
            //my code follows
            //....
}

</code>


It seems jythonc just thinks this is a comment in my script, and doesn't create a public interface to the function I wrote in Python.  Am I doing something wrong?  Is there something else I need to do in order to make my Python functions callable from Java?  Any help anyone could offer would be greatly appreciated...

Kevin Whinnery
Associate Software Engineer
E-Mail: Kevin.Whinnery@lawson.com
Phone: (651) 767-6497

Lawson Software
380 St. Peter St.
St. Paul, MN 55102