@Override
	public void execute() throws BuildException {
		try {
			String moo = executor.execute();
			if (this.property != null && this.property.length() > 0) {
				getProject().setProperty(this.property, moo);
			} else {
				System.out.println(moo);
			}
		} catch (IllegalStateException ex) {
			throw new BuildException(ex.getMessage(), ex);
		}
	}
@Override
	public void execute() throws BuildException {
		try {
			String moo = executor.execute();
			if (this.property != null && this.property.length() > 0) {
				getProject().setProperty(this.property, moo);
			} else {
				System.out.println(moo);
			}
		} catch (IllegalStateException ex) {
			throw new BuildException(ex.getMessage(), ex);
		}
	}
@ Override public void execute ( ) throws BuildException { try { String moo = executor . execute ( ) ; if ( this . property != null && this . property . length ( ) > 0 ) { getProject ( ) . setProperty ( this . property , moo ) ; } else { System . out . println ( moo ) ; } } catch ( IllegalStateException ex ) { throw new BuildException ( ex . getMessage ( ) , ex ) ; } }
Run cowsay with the provided attributes.
@throws BuildException If something goes wrong during execution.
Run cowsay with the provided attributes .