Package com.asakusafw.compiler.batch

Examples of com.asakusafw.compiler.batch.BatchCompilingEnvironment$Initialized


     * 単純なテスト。
     * @throws Exception 例外が発生した場合
     */
    @Test
    public void simple() throws Exception {
        BatchCompilingEnvironment env = prov.getEnvironment();
        JobFlowWorkDescriptionProcessor proc = new JobFlowWorkDescriptionProcessor();
        proc.initialize(env);

        JobFlowWorkDescription jobflow = new JobFlowWorkDescription(SimpleJobFlow.class);
        JobflowModel model = proc.process(jobflow);

        File jar = JobFlowWorkDescriptionProcessor.getPackageLocation(
                env.getConfiguration().getOutputDirectory(),
                model.getFlowId());
        JobflowInfo info = DirectFlowCompiler.toInfo(model, jar, jar);

        ModelOutput<Ex1> output = tester.openOutput(
                Ex1.class,
View Full Code Here


                       DirectFlowCompiler.toLibraryPath(getClass()),
                       DirectFlowCompiler.toLibraryPath(StageConstants.class),
                }),
                getClass().getClassLoader(),
                FlowCompilerOptions.load(System.getProperties()));
        BatchCompilingEnvironment env = new BatchCompilingEnvironment(config).bless();
        BatchSpecProcessor result = new BatchSpecProcessor();
        result.initialize(env);
        return result;
    }
View Full Code Here

TOP

Related Classes of com.asakusafw.compiler.batch.BatchCompilingEnvironment$Initialized

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.