ronin.java
¶
-
class
ronin.java.
Jar
(command=None, manifest=None)¶ Bases:
ronin.executors.ExecutorWithArguments
Java Jar creation executor.
The phase inputs are “.class” files. The phase output is a “.jar” file.
Parameters: - command (str or FunctionType) –
jar
command; defaults to the context’sjava.jar_command
- manifest (str or FunctionType) – absolute path to manifest file
-
disable_manifest
()¶
-
preserve_paths
()¶
-
store_only
()¶
- command (str or FunctionType) –
-
class
ronin.java.
JavaClasses
(project, phase_name)¶ Bases:
ronin.extensions.Extension
Java classes generated by another phase.
Usable only with a
Jar
executor.Parameters: - project (Project) – project
- phase_name (str 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.ExecutorWithArguments
Java compile executor.
The phase inputs are “.java” source files. The phase outputs are “.class” files.
Parameters: - command (str or FunctionType) –
javac
command; defaults to the context’sjava.javac_command
- classpath ([
str
orFunctionType
]) – initial classpath
-
add_classpath
(value)¶
-
enable_debug
()¶
- command (str or FunctionType) –
-
ronin.java.
configure_java
(javac_command=None, jar_command=None)¶ Configures the current context’s Java support.
Parameters: - javac_command (str or FunctionType) –
javac
command; defaults to “javac” - jar_command (str or FunctionType) –
jar
command; defaults to “jar”
- javac_command (str or FunctionType) –