Download and Install hibernate2 version 2.1.8 on Mac OS X
Thursday the 7th of August, 2008

    hibernate2  most recent diff


      View the most recent changes for the hibernate2 port at: hibernate2.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for hibernate2.
      The raw portfile for hibernate2 2.1.8 is located here:
      http://hibernate2.darwinports.com/dports/java/hibernate2/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/hibernate2
      Google
      Web Darwinports.com



      # $Id: Portfile 35275 2008-03-23 15:54:42Z jberry macports.org $

      PortSystem 1.0

      Name: hibernate2
      Version: 2.1.8

      Category: java databases
      Maintainers: jberry openmaintainer
      Platform: darwin

      Description: Hibernate ORM for Java.
      Long Description: Hibernate is a powerful, ultra-high performance object/relational persistence and query service for Java. Hibernate lets you develop persistent classes following common Java idiom - including association, inheritance, polymorphism, composition and the Java collections framework. The Hibernate Query Language, designed as a "minimal" object-oriented extension to SQL, provides an elegant bridge between the object and relational worlds. Hibernate also allows you to express queries using native SQL or Java-based Criteria and Example queries. Hibernate is now the most popular object/relational mapping solution for Java.
      Homepage: http://www.hibernate.org/

      distname hibernate-${version}
      master_sites sourceforge:hibernate
      checksums md5 6a0459c511ded947d01cc7de15a518ef

      depends_build bin:ant:apache-ant
      depends_lib bin:java:kaffe

      use_configure no

      worksrcdir hibernate-2.1

      build.cmd ant
      build.target jar

      destroot {
      # Ensure needed directories
      xinstall -m 755 -d ${destroot}${prefix}/share/java ${destroot}${prefix}/share/doc

      # Install the jar
      xinstall -m 644 ${workpath}/hibernate/${name}.jar ${destroot}${prefix}/share/java

      # Install the docs
      file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
      }

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/hibernate2
      % sudo port install hibernate2
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching hibernate2
      ---> Verifying checksum for hibernate2
      ---> Extracting hibernate2
      ---> Configuring hibernate2
      ---> Building hibernate2 with target all
      ---> Staging hibernate2 into destroot
      ---> Installing hibernate2
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using hibernate2 with these commands:
      %  man hibernate2
      % apropos hibernate2
      % which hibernate2
      % locate hibernate2

     Where to find more information:

    Darwin Ports



    image test