ronin.java¶
-
class
ronin.java.Jar(command=None, manifest=None)¶ Bases:
ronin.executors.ExecutorWithArgumentsJava Jar creation executor.
The phase inputs are “.class” files. The phase output is a “.jar” file.
Parameters: - command (basestring or FunctionType) –
jarcommand; defaults to the context’sjava.jar_command - manifest (basestring or FunctionType) – absolute path to manifest file
-
disable_manifest()¶
-
preserve_paths()¶
-
store_only()¶
- command (basestring or FunctionType) –
-
class
ronin.java.JavaClasses(project, phase_name)¶ Bases:
ronin.extensions.ExtensionJava classes generated by another phase.
Usable only with a
Jarexecutor.Parameters: - project (Project) – project
- phase_name (basestring or FunctionType) – phase name in project
-
apply_to_executor_java_jar(executor)¶
-
apply_to_phase(phase)¶
-
class
ronin.java.JavaCompile(command=None, classpath=[])¶ Bases:
ronin.executors.ExecutorWithArgumentsJava compile executor.
The phase inputs are “.java” source files. The phase outputs are “.class” files.
Parameters: - command (basestring or FunctionType) –
javaccommand; defaults to the context’sjava.javac_command - classpath ([
basestringorFunctionType]) – initial classpath
-
add_classpath(value)¶
-
enable_debug()¶
- command (basestring or FunctionType) –
-
ronin.java.configure_java(javac_command=None, jar_command=None)¶ Configures the current context’s Java support.
Parameters: - javac_command (basestring or FunctionType) –
javaccommand; defaults to “javac” - jar_command (basestring or FunctionType) –
jarcommand; defaults to “jar”
- javac_command (basestring or FunctionType) –