
net.sourceforge.sql2java.ant.UtilsGenerationTask Maven / Gradle / Ivy
The newest version!
//$Id: UtilsGenerationTask.java,v 1.1 2005/10/12 18:44:24 framiere Exp $
package net.sourceforge.sql2java.ant;
import java.util.*;
import net.sourceforge.sql2java.*;
import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.Task;
public class UtilsGenerationTask extends Task {
private String propertyFile;
// The method executing the task
public void execute() throws BuildException
{
System.out.println("UtilsGenerationTask: " + propertyFile);
String args[] = new String[] {propertyFile};
Map map = new HashMap();
map.put("check.database", "false");
map.put("write.only.per.schema.templates", "true");
Main.main(args, map);
}
// The setter for the "propertyFile" attribute
public void setPropertyFile(String msg) {
this.propertyFile = msg;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy