// Path: com.gregorbyte.buildxpages.ant/src/com/gregorbyte/buildxpages/DesignRefreshMessageCallback.java
// public interface DesignRefreshMessageCallback extends StdCallLibrary.StdCallCallback {
// 
// 	void proc(StringByReference message, short mType);
// 	
// }
// 
// Path: com.gregorbyte.buildxpages.ant/src/com/gregorbyte/buildxpages/StringByReference.java
// public class StringByReference extends ByReference {
// 
// 	public StringByReference() {
// 		this(0);
// 	}
// 	
// 	public StringByReference(int size) {
// 		super(size < 4 ? 4 : size);
// 		getPointer().clear(size < 4 ? 4 : size);
// 	}
// 	
// 	public StringByReference(String str) {
// 		super(str.length() < 4 ? 4 : str.length() + 1);
// 		setValue(str);
// 	}
// 	
// 	private void setValue(String str) {
// 		getPointer().setString(0, str);
// 	}
// 	
// 	public String getValue() {
// 		return getPointer().getString(0);
// 	}
// }


import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.Task;
import com.gregorbyte.buildxpages.DesignRefreshMessageCallback;
import com.gregorbyte.buildxpages.StringByReference;
			dbpath = this.server + "!!" + this.database;
		}
		
		if (this.templateserver == null) {
			servername = "local";
		} else {
			servername = this.templateserver;
		}
		
		log("Refreshing Design of Db : " + dbpath);
		log("Refreshing From Server  : " + servername);		
				
		com.gregorbyte.buildxpages.task.RefreshDbDesign task = new com.gregorbyte.buildxpages.task.RefreshDbDesign(
				this.database);
		
		task.setServer(this.server);
		task.setTemplateServer(this.templateserver);
		
		task.setCallback(getCallback());		
		
		task.execute();

	}
	
	public DesignRefreshMessageCallback getCallback() {
		
		
		return new DesignRefreshMessageCallback() {
			
			@Override
// Path: com.gregorbyte.buildxpages.ant/src/com/gregorbyte/buildxpages/DesignRefreshMessageCallback.java
// public interface DesignRefreshMessageCallback extends StdCallLibrary.StdCallCallback {
// 
// 	void proc(StringByReference message, short mType);
// 	
// }
// 
// Path: com.gregorbyte.buildxpages.ant/src/com/gregorbyte/buildxpages/StringByReference.java
// public class StringByReference extends ByReference {
// 
// 	public StringByReference() {
// 		this(0);
// 	}
// 	
// 	public StringByReference(int size) {
// 		super(size < 4 ? 4 : size);
// 		getPointer().clear(size < 4 ? 4 : size);
// 	}
// 	
// 	public StringByReference(String str) {
// 		super(str.length() < 4 ? 4 : str.length() + 1);
// 		setValue(str);
// 	}
// 	
// 	private void setValue(String str) {
// 		getPointer().setString(0, str);
// 	}
// 	
// 	public String getValue() {
// 		return getPointer().getString(0);
// 	}
// }


// Path: com.gregorbyte.buildxpages.ant/src/com/gregorbyte/buildxpages/ant/RefreshDbDesign.java
import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.Task;
import com.gregorbyte.buildxpages.DesignRefreshMessageCallback;
import com.gregorbyte.buildxpages.StringByReference;

			dbpath = this.server + "!!" + this.database;
		}
		
		if (this.templateserver == null) {
			servername = "local";
		} else {
			servername = this.templateserver;
		}
		
		log("Refreshing Design of Db : " + dbpath);
		log("Refreshing From Server  : " + servername);		
				
		com.gregorbyte.buildxpages.task.RefreshDbDesign task = new com.gregorbyte.buildxpages.task.RefreshDbDesign(
				this.database);
		
		task.setServer(this.server);
		task.setTemplateServer(this.templateserver);
		
		task.setCallback(getCallback());		
		
		task.execute();

	}
	
	public DesignRefreshMessageCallback getCallback() {
		
		
		return new DesignRefreshMessageCallback() {
			
			@Override
			public void proc(StringByReference message, short mType) {