[jboss-user] [EJB 3.0] - update to Hibernate 3.2cr3

pash_ka do-not-reply at jboss.com
Tue Aug 22 13:35:47 EDT 2006


I could not find update for Hibernate 3.2cr3 so tried to do it myself.
There are 2 files needed for update - hibernate3.jar in lib dir and hibernate-client.jar in client dir.
The first one is available from http://sourceforge.net/project/showfiles.php?group_id=40712&package_id=127784&release_id=430157, but the second one - not.

I've checked the JBoss-EJB3 http://fisheye.jboss.org/viewrep/JBoss/jboss-ejb3/build.xml,  found the code for building hibernate-client.jar, changed it a bit and pasted to build.xml of hibernate bundle.

Here is the code:
	<target name="client" depends="jar"
  | 			description="JBoss EJB3 hibernate-client.jar">
  |       <!-- build hibernate-client.jar -->
  |       <!-- <unjar src="${hibernate.hibernate.lib}/hibernate3.jar"
  |          dest="${build.classes}" />  -->
  |       <jar jarfile="${dist.dir}/hibernate-client.jar">
  |          <zipfileset src="${jar.path}">
  |             <include name="org/hibernate/AssertionFailure.class"/>
  |             <include name="org/hibernate/**/*Exception.class"/>
  |             <include name="org/hibernate/collection/**"/>
  |             <include name="org/hibernate/exception/Nestable*.class"/>
  |             <include name="org/hibernate/exception/ExceptionUtils.class"/>
  |             <include name="org/hibernate/engine/SessionImplementor.class"/>
  |             <include name="org/hibernate/loader/CollectionAliases.class"/>            
  |             <include name="org/hibernate/persister/collection/**"/>           
  |             <include name="org/hibernate/pretty/MessageHelper.class"/>
  |             <include name="org/hibernate/type/Type.class"/>
  |             <include name="org/hibernate/EntityMode.class"/>
  |             <include name="org/hibernate/util/**"/>
  |             <include name="org/hibernate/proxy/**"/>
  |          </zipfileset>
  |       </jar>
  | 	</target>
  | 
Just add it after the last  and build using "build client".
For those who don't like building yourself i've uploaded it http://slil.ru/23046264.

sverker, maybe you can check it yourself and make a new copy of your build?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966761#3966761

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966761



More information about the jboss-user mailing list