Search in sources :

Example 11 with JavaCode

use of abs.backend.java.codegeneration.JavaCode in project abstools by abstools.

the class ABSUnitRunner method compile.

private void compile(Model m, File destDir) throws IOException, JavaCodeGenerationException {
    JavaCode javaCode = new JavaCode(destDir);
    m.generateJavaCode(javaCode, true);
    javaCode.compile();
}
Also used : JavaCode(abs.backend.java.codegeneration.JavaCode)

Aggregations

JavaCode (abs.backend.java.codegeneration.JavaCode)11 JavaCodeGenerationException (abs.backend.java.codegeneration.JavaCodeGenerationException)1 ABSException (abs.backend.java.lib.runtime.ABSException)1 ABSRuntime (abs.backend.java.lib.runtime.ABSRuntime)1 COGView (abs.backend.java.observing.COGView)1 ObjectView (abs.backend.java.observing.ObjectView)1 SystemObserver (abs.backend.java.observing.SystemObserver)1 WrongProgramArgumentException (abs.common.WrongProgramArgumentException)1 Model (abs.frontend.ast.Model)1 DeltaModellingException (abs.frontend.delta.DeltaModellingException)1 AbsNature (org.absmodels.abs.plugin.builder.AbsNature)1 AbsJobException (org.absmodels.abs.plugin.exceptions.AbsJobException)1 NoModelException (org.absmodels.abs.plugin.internal.NoModelException)1 UtilityFunctions.getAbsNature (org.absmodels.abs.plugin.util.UtilityFunctions.getAbsNature)1