// Path: com.gregorbyte.buildxpages.ant/src/com/gregorbyte/buildxpages/task/DeleteDatabase.java
// public class DeleteDatabase extends AbstractBxTask {
// 
// 	private String server;
// 	private String filename;
// 	
// 	public DeleteDatabase(String server, String filename) {
// 	
// 		this.server 	= server;
// 		this.filename 	= filename;
// 		
// 	}
// 	
// 	@Override
// 	protected void doTask() {
// 
// 		NotesNativeLibrary notes = NotesNativeLibrary.SYNC_INSTANCE;
// 		
// 		String path = pathNetConstruct(server, filename);
// 
// 		short error = notes.NSFDbDelete(path);		
// 		checkError(error);
// 		
// 	}
// 
// }


import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.Task;
import com.gregorbyte.buildxpages.task.DeleteDatabase;
package com.gregorbyte.buildxpages.ant;



public class DeleteNsfTask extends Task {

	private String server;
	private String filename;

	public String getServer() {
		return server;
	}

	public void setServer(String server) {
		this.server = server;
	}

	public String getFilename() {
		return filename;
	}

	public void setFilename(String filename) {
		this.filename = filename;
	}

	@Override
	public void execute() throws BuildException {

// Path: com.gregorbyte.buildxpages.ant/src/com/gregorbyte/buildxpages/task/DeleteDatabase.java
// public class DeleteDatabase extends AbstractBxTask {
// 
// 	private String server;
// 	private String filename;
// 	
// 	public DeleteDatabase(String server, String filename) {
// 	
// 		this.server 	= server;
// 		this.filename 	= filename;
// 		
// 	}
// 	
// 	@Override
// 	protected void doTask() {
// 
// 		NotesNativeLibrary notes = NotesNativeLibrary.SYNC_INSTANCE;
// 		
// 		String path = pathNetConstruct(server, filename);
// 
// 		short error = notes.NSFDbDelete(path);		
// 		checkError(error);
// 		
// 	}
// 
// }


// Path: com.gregorbyte.buildxpages.ant/src/com/gregorbyte/buildxpages/ant/DeleteNsfTask.java
import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.Task;
import com.gregorbyte.buildxpages.task.DeleteDatabase;

package com.gregorbyte.buildxpages.ant;



public class DeleteNsfTask extends Task {

	private String server;
	private String filename;

	public String getServer() {
		return server;
	}

	public void setServer(String server) {
		this.server = server;
	}

	public String getFilename() {
		return filename;
	}

	public void setFilename(String filename) {
		this.filename = filename;
	}

	@Override
	public void execute() throws BuildException {

		DeleteDatabase task = new DeleteDatabase(server, filename);