brett       2004/04/24 19:29:43

  Modified:    hibernate project.xml
               hibernate/src/main/org/apache/maven/hibernate/beans
                        SchemaExportBean.java
               hibernate/xdocs changes.xml
  Log:
  PR: MPHIBERNATE-2, 3
  fix classloader issues
  
  Revision  Changes    Path
  1.25      +1 -1      maven-plugins/hibernate/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/maven-plugins/hibernate/project.xml,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- project.xml       10 Apr 2004 00:59:23 -0000      1.24
  +++ project.xml       25 Apr 2004 02:29:42 -0000      1.25
  @@ -23,7 +23,7 @@
     <pomVersion>3</pomVersion>
     <id>maven-hibernate-plugin</id>
     <name>Maven Hibernate Plug-in</name>
  -  <currentVersion>1.0</currentVersion>
  +  <currentVersion>1.1-SNAPSHOT</currentVersion>
     <description/>
     <shortDescription>Work with Hibernate classes</shortDescription>
     <url>http://maven.apache.org/reference/plugins/hibernate/</url>
  
  
  
  1.4       +2 -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.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- SchemaExportBean.java     2 Mar 2004 15:04:01 -0000       1.3
  +++ SchemaExportBean.java     25 Apr 2004 02:29:43 -0000      1.4
  @@ -241,7 +241,7 @@
            URL[] urls = { baseDirFile.toURL()};
            System.out.println(urls[0]);
            URLClassLoader newClassLoader =
  -            new URLClassLoader(urls, oldClassLoader);
  +            new URLClassLoader(urls, getClass().getClassLoader());
            currentThread.setContextClassLoader(newClassLoader);
            Configuration cfg = getConfiguration();
            SchemaExport schemaExport = getSchemaExport(cfg);
  
  
  
  1.11      +4 -0      maven-plugins/hibernate/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/maven-plugins/hibernate/xdocs/changes.xml,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- changes.xml       10 Mar 2004 13:52:58 -0000      1.10
  +++ changes.xml       25 Apr 2004 02:29:43 -0000      1.11
  @@ -24,6 +24,10 @@
       <author email="[EMAIL PROTECTED]">Michal Maczka</author>
     </properties>
     <body>
  +    <release version="1.1-SNAPSHOT" date="in CVS">
  +      <action dev="brett" type="fix" issue="MPHIBERNATE-2">Fix class not found 
exception by using correct base class loader.</action>
  +    </release>
  +
       <release version="1.0" date="2004-03-11">
         <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>
  
  
  

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

Reply via email to