localWorkingDirectory,
repositories,
serviceClassLoader,
flowCompilerOptions);
FlowCompiler compiler = new FlowCompiler(config);
JobflowModel jobflow = compiler.compile(flowGraph);
File jobflowSources = new File(
localWorkingDirectory,
Naming.getJobflowSourceBundleName(flowId));
File jobflowPackage = new File(
localWorkingDirectory,
Naming.getJobflowClassPackageName(flowId));
compiler.collectSources(jobflowSources);
compiler.buildSources(jobflowPackage);
return toInfo(jobflow, jobflowSources, jobflowPackage);
}