Class JDTCompiler
java.lang.Object
org.bonitasoft.engine.business.data.generator.compiler.JDTCompiler
Compiler based on JDTCompiler
- Author:
- Colin PUY, Matthieu Chaffotte
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidcompile(Collection<File> filesToBeCompiled, File outputDirectory, File... additionalClasspath) Deprecated.static FilelookupJarContaining(Class<?> clazz) static FilelookupJarContaining(String className)
-
Constructor Details
-
JDTCompiler
public JDTCompiler()
-
-
Method Details
-
lookupJarContaining
-
lookupJarContaining
- Throws:
ClassNotFoundException
-
compile
@Deprecated public void compile(Collection<File> filesToBeCompiled, File outputDirectory, File... additionalClasspath) throws CompilationException Deprecated.Compile files in output directory using provided classpath Put null for classpath argument to take current classpath- Throws:
CompilationException- if compilation errors occurs
-
compile
public void compile(File srcDirectory, File outputDirectory, File... additionalClasspath) throws CompilationException - Throws:
CompilationException
-