jvanzyl     2003/11/30 13:17:51

  Modified:    hibernate/src/main/org/apache/maven/hibernate/beans
                        SchemaExportBean.java
               hibernate/src/main/org/apache/maven/hibernate/jelly
                        SchemaExportTag.java
               hibernate/xdocs changes.xml
  Log:
  o patch for MPHIBERNATE-1
  
  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPHIBERNATE-1
  
  Revision  Changes    Path
  1.2       +19 -2     
maven-plugins/hibernate/src/main/org/apache/maven/hibernate/beans/SchemaExportBean.java
  
  Index: SchemaExportBean.java
  ===================================================================
  RCS file: 
/home/cvs/maven-plugins/hibernate/src/main/org/apache/maven/hibernate/beans/SchemaExportBean.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SchemaExportBean.java     15 May 2003 13:06:27 -0000      1.1
  +++ SchemaExportBean.java     30 Nov 2003 21:17:51 -0000      1.2
  @@ -90,6 +90,7 @@
      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 @@
      {
         excludes = string;
      }
  +   
  +   /**
  +    * @return
  +    */
  +   public String getDelimiter() 
  +   {
  +      return delimiter;
  +   }
  +
  +   /**
  +    * @param string
  +    */
  +   public void setDelimiter(String string) 
  +   {
  +      delimiter = string;
  +   }
   
      /**
       * 
  @@ -359,7 +376,7 @@
         }
         System.out.println("Output file:" + getOutputFile());
         schemaExport.setOutputFile(getOutputFile());
  +      schemaExport.setDelimiter(getDelimiter());
         return schemaExport;
      }
  -
   }
  
  
  
  1.2       +10 -1     
maven-plugins/hibernate/src/main/org/apache/maven/hibernate/jelly/SchemaExportTag.java
  
  Index: SchemaExportTag.java
  ===================================================================
  RCS file: 
/home/cvs/maven-plugins/hibernate/src/main/org/apache/maven/hibernate/jelly/SchemaExportTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SchemaExportTag.java      15 May 2003 13:06:25 -0000      1.1
  +++ SchemaExportTag.java      30 Nov 2003 21:17:51 -0000      1.2
  @@ -250,4 +250,13 @@
         bean.setProperties(string);
      }
   
  +   public String getDelimiter()
  +   {
  +      return bean.getDelimiter();
  +   }
  +   
  +   public void setDelimiter(String delimiter)
  +   {
  +      bean.setDelimiter(delimiter);
  +   }
   }
  
  
  
  1.6       +3 -0      maven-plugins/hibernate/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/maven-plugins/hibernate/xdocs/changes.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- changes.xml       2 Sep 2003 16:40:46 -0000       1.5
  +++ changes.xml       30 Nov 2003 21:17:51 -0000      1.6
  @@ -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
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to