Examples of run()


Examples of net.sf.jpluck.conversion.Conversion.run()

        System.exit(0);
      }

      Document[] documents = (Document[]) documentList.toArray(new Document[documentList.size()]);
      Conversion conversion = new Conversion(documents, destination);
      conversion.run();
     
      System.exit(0);
    } catch (FileNotFoundException e) {
      System.err.println("ERROR: " + e.getClass().getName() + ": " + e.getMessage());
      System.exit(ExitCodes.ERROR_FILE_NOT_FOUND);
View Full Code Here

Examples of net.sf.mzmine.taskcontrol.Task.run()

          .getDocumentElement());
      ParameterSet parameters = new BatchModeParameters();
      parameters.getParameter(BatchModeParameters.batchQueue).setValue(
          newQueue);
      Task batchTask = new BatchTask(parameters);
      batchTask.run();
      if (batchTask.getStatus() == TaskStatus.FINISHED)
        return ExitCode.OK;
      else
        return ExitCode.ERROR;
    } catch (Throwable e) {
View Full Code Here

Examples of net.sf.pipet.api.ModuleInterface.ModuleInstance.run()

    ModuleInterface modif = ModuleLoader.loadModuleInterface(mod_uri, cfg);
    ModuleDefinition mod = ModuleDefinition.create(cfg.getRootModule(), mod_uri, modif, null, null);
   
    ModuleInstance instance = mod.getInterface().createInstance(data, messenger);
    data.close(instance.run());

    Assert.assertEquals(String.format("Exit status of %s.", mod.getInterfaceSpecification()), status, data.getStatus());
    if (test_content)
      data.testModuleOutput();
View Full Code Here

Examples of net.sf.pipet.test.PipelineSimulator.run()

    throws Exception
  {
    URL url = ClassLoader.getSystemResource(file);
    assertNotNull("Test file not found: "+file, url);
    PipelineSimulator sim = PipelineSimulator.parseURL(url);
    sim.run(msgr);
  }
 
  @Test
  public void testXslt()
    throws Exception
View Full Code Here

Examples of net.sf.saxon.query.XQueryExpression.run()

        Properties props = new Properties();
        //props.setProperty(OutputKeys.METHOD, "text");
        props.setProperty(SaxonOutputKeys.WRAP, "no");
        props.setProperty(OutputKeys.INDENT, "no");
        props.setProperty(OutputKeys.OMIT_XML_DECLARATION, "yes");
        exp.run(dynamicContext, new StreamResult(res_sw), props);
        String swresult = sw.toString();
        long used = SystemUtils.getHeapUsedMemory();
        stdbuf.append(", used(before GC): " + StringUtils.displayBytesSize(used));
        if(RUN_ONLY) {
            res_sw.close();
View Full Code Here

Examples of net.sf.saxon.s9api.XQueryEvaluator.run()

                //FileOutputStream fos = new FileOutputStream(file);
                //serializer.setOutputStream(fos);
            }

            xqeval.setDestination(serializer);
            xqeval.run();

            if (uri == null && runtime.getDebug()) {
                System.out.println("\n--<document boundary>--------------------------------------------------------------------------");
            }
        } catch (URISyntaxException use) {
View Full Code Here

Examples of net.sourceforge.align.ui.console.command.Command.run()

          if (command == null) {
            printUsage();
          } else {
            String[] commandArgs =
              Arrays.copyOfRange(args, 1, args.length);
            command.run(commandArgs);
          }
        }
      }
    } catch (Exception e) {
      log.fatal("Unknown exception.", e);
View Full Code Here

Examples of net.sourceforge.coffea.uml2.IUML2RunnableWithProgress.run()

    if(monitor==null) {
      monitor = new NullProgressMonitor();
    }
    IUML2RunnableWithProgress runnable = new ModelProcessorRunnable(el);
    try {
      runnable.run(monitor);
    } catch (InvocationTargetException e) {
      e.printStackTrace();
    } catch (InterruptedException e) {
      e.printStackTrace();
    }
View Full Code Here

Examples of net.sourceforge.coffea.uml2.model.creation.CreateModelRunnable.run()

    if(monitor==null) {
      monitor = new NullProgressMonitor();
    }
    CreateModelRunnable runnable =  new CreateModelRunnable(uri, this);
    try {
      runnable.run(monitor);
    } catch (InvocationTargetException e) {
      e.printStackTrace();
    } catch (InterruptedException e) {
      e.printStackTrace();
    }
View Full Code Here

Examples of net.sourceforge.cruisecontrol.sourcecontrols.accurev.AccurevCommandline.run()

    }
    hist.setVerbose(verbose);
    hist.setInputParser(this);
    hist.setStream(stream);
    hist.setTransactionRange(new DateTimespec(lastBuild), new DateTimespec(now));
    hist.run();
    return modifications;
  }
  /**
   * Parse the output from Accurev. These are lines of the form: <code>
   * transaction &lt;id>; &lt;verb&gt;; YYYY/MM/DD hh:mm:ss ; user: &lt;user&gt;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.