
net.bpelunit.framework.ui.ant.BPELUnit Maven / Gradle / Ivy
The newest version!
/**
* This file belongs to the BPELUnit utility and Eclipse plugin set. See enclosed
* license file for more information.
*
*/
package net.bpelunit.framework.ui.ant;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.logging.Level;
import org.apache.commons.io.FilenameUtils;
import org.apache.commons.io.IOUtils;
import org.apache.commons.lang.StringUtils;
import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.Task;
import net.bpelunit.framework.BPELUnitRunner;
import net.bpelunit.framework.exception.ConfigurationException;
/**
*
* BPELUnit Ant Task
*
*
*
* Invocation:
*
*
* <bpelunit testsuite="testsuite.bpts" haltOnError="true" haltOnFailure="true" bpelunitdir="c:\location">
* <output type="plain" file="false" />
* <logging level="plain" file="false" />
* </bpelunit>
*
*
*
*
* @version $Id$
* @author Philip Mayer
*
*/
public class BPELUnit extends Task {
/**
* The BPELUnit home directory
*/
private String fBPELUnitDir = System.getenv("BPELUNIT_HOME");
/**
* If true, the framework halts on errors
*/
private boolean fHaltOnError;
/**
* if true, the framework halts on failures
*/
private boolean fHaltOnFailure;
/**
* List of "outputters"
*/
private List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy