Field Summary |
|
final protected static String | JYTHONC_PY |
final protected static String | JYTHON_CLASS |
protected String | addpackages Include Java dependencies from this list of packages. |
protected boolean | all Include all of the Jython libraries (everything in core + compiler and
parser). |
protected Path | classpath The classpath for the virtual machine. |
protected String | compiler Compiler name. |
protected String | compileropts Use a different compiler than `standard' javac. |
protected boolean | core Include the core Jython libraries (about 130K). |
protected boolean | deep Compile all Python dependencies of the module. |
protected File | destDir Destination, build directory. |
protected String | extraArgs aditionnals args. |
protected String | falsenames Options passed directly to the Java compiler. |
protected File | jarFile Specifies a .jar file to create and put the results of
the freeze into. |
protected File | jarFileBean Compile into jarfile, including the correct manifest for the bean. |
protected File | jythonHome Path to jython directory. |
protected File | jythoncpy the compiler. |
protected String | packageName Put all compiled code into the named Java package. |
protected String | skipModule Don't include any of these modules in compilation. |
protected File | srcDir Source directory. |
protected File | workdir Specify the working directory where the generated Java source code is
placed. |
Method Summary |
|
public Path | createClasspath() Add a classpath. |
public void | execute() Exectute the compiler. |
public String | getCompilerOptions() get the compiler option, null if none. |
public File | getJythoncPY() Get the path to the jython compiler file (in python). |
public File | getPythonHome() |
public void | setAddpackages(String aValue) Include Java dependencies from this list of packages. |
public void | setAll(boolean aValue) Include all of the Jython libraries (everything in core + compiler and
parser). |
public void | setArgs(String aValue) sets some additional args to send to jythonc. |
public void | setBean(File aJarFileBean) Compile into jarfile, including the correct manifest for the bean. |
public void | setClasspath(Path aClasspath) Sets the classpath field. |
public void | setCompiler(String aCompiler) Set the compiler. |
public void | setCompileropts(String aValue) Options passed directly to the Java compiler. |
public void | setCore(boolean aValue) Include the core Jython libraries (about 130K).
Needed for applets since Netscape doesn't yet support
multiple archives. |
public void | setDeep(boolean aValue) Compile all Python dependencies of the module. |
public void | setDestdir(File aFile) Home for the destination (build). |
public void | setFalsenames(String aValue) A comma-separated list of names that are always false. |
public void | setHome(File aFile) Jython home directory. |
public void | setJar(File aJarFile) Specifies a .jar file to create and put the results of
the freeze into. |
public void | setJythoncpy(File aValue) Change the default Python compiler. |
public void | setPackage(String aString) Put all compiled code into the named Java package. |
public void | setSkip(String aValue) Don't include any of these modules in compilation. |
public void | setSrcdir(File aFile) Home for the source. |
public void | setWorkdir(File aValue) Specify the working directory where the generated Java source code is
placed. |