o patch for MPHIBERNATE-1
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPHIBERNATE-1 git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114434 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
352b34a0ce
commit
aca688b63c
3 files changed
+32
-3
No files matched your search
@@ -79,7 +79,7 @@ import org.apache.tools.ant.DirectoryScanner;
|
||||
*
|
||||
*
|
||||
* @author <a href="michal.maczka@dimatics.com">Michal Maczka</a>
|
||||
* @version $Id: SchemaExportBean.java,v 1.1 2003/05/15 13:06:27 michal Exp $
|
||||
* @version $Id: SchemaExportBean.java,v 1.2 2003/11/30 21:17:51 jvanzyl Exp $
|
||||
*/
|
||||
public class SchemaExportBean
|
||||
{
|
||||
@@ -90,6 +90,7 @@ public class SchemaExportBean
|
||||
private String properties = null;
|
||||
private String config = null;
|
||||
private String outputFile = null;
|
||||
private String delimiter = null;
|
||||
private boolean quiet = false;
|
||||
private boolean text = false;
|
||||
private boolean drop = false;
|
||||
@@ -237,6 +238,22 @@ public class SchemaExportBean
|
||||
{
|
||||
excludes = string;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getDelimiter()
|
||||
{
|
||||
return delimiter;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public void setDelimiter(String string)
|
||||
{
|
||||
delimiter = string;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -359,7 +376,7 @@ public class SchemaExportBean
|
||||
}
|
||||
System.out.println("Output file:" + getOutputFile());
|
||||
schemaExport.setOutputFile(getOutputFile());
|
||||
schemaExport.setDelimiter(getDelimiter());
|
||||
return schemaExport;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -66,7 +66,7 @@ import org.apache.maven.hibernate.beans.SchemaExportBean;
|
||||
* to {@link SchemaExportBean}
|
||||
*
|
||||
* @author <a href="michal.maczka@dimatics.com">Michal Maczka</a>
|
||||
* @version $Id: SchemaExportTag.java,v 1.1 2003/05/15 13:06:25 michal Exp $
|
||||
* @version $Id: SchemaExportTag.java,v 1.2 2003/11/30 21:17:51 jvanzyl Exp $
|
||||
*/
|
||||
public class SchemaExportTag extends TagSupport
|
||||
{
|
||||
@@ -250,4 +250,13 @@ public class SchemaExportTag extends TagSupport
|
||||
bean.setProperties(string);
|
||||
}
|
||||
|
||||
public String getDelimiter()
|
||||
{
|
||||
return bean.getDelimiter();
|
||||
}
|
||||
|
||||
public void setDelimiter(String delimiter)
|
||||
{
|
||||
bean.setDelimiter(delimiter);
|
||||
}
|
||||
}
|
||||
@@ -7,6 +7,9 @@
|
||||
|
||||
<body>
|
||||
<release version="1.0" date="in CVS">
|
||||
<action dev="k8n" type="update">
|
||||
Update to hibernate-2.0.3. Add delimiter property to schema-export tag
|
||||
</action>
|
||||
<action dev="dion" type="update">update to commons-jelly-20030902.160215</action>
|
||||
<action dev="dion" type="update">
|
||||
Upgrade to dom4j 1.4
|
||||
|
||||
Reference in new issue
Block a user