protected void preExecute() throws BuildException { super.preExecute(); if (this.loginSpec != null) { if (this.loginSpec.getUrl(this.getProject()).length() == 0) { throw new BuildException( this.stringRepository.getString("notDefined", "LoginSpec Datasource URL")); } } }
public void execute() throws BuildException { super.execute(); int status = this.execute( this.getSessionName(), this.getSessionsFile(), this.getUrl(), this.getDriverClass(), this.getUser(), this.getPassword()); if (status == 0) { if (this.property != null) this.getProject().setNewProperty(this.property, "true"); } }
protected void initialize() { super.initialize(); this.property = null; this.loginSpec = null; }