[hibernate-issues] [Hibernate-JIRA] Created: (HHH-2228) ant eg fails - bad release notes quick start

Brian Brooks (JIRA) noreply at atlassian.com
Thu Nov 9 12:54:04 EST 2006


ant eg fails - bad release notes quick start
--------------------------------------------

         Key: HHH-2228
         URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2228
     Project: Hibernate3
        Type: Bug

  Components: documentation  
    Versions: 3.2.0.ga    
 Environment: hibernate 3.2.0.ga
Microsoft Windows XP [Version 5.1.2600]
java version "1.5.0_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
Java HotSpot(TM) Client VM (build 1.5.0_07-b03, mixed mode)
    Reporter: Brian Brooks
    Priority: Minor


The hibernate 3.2.0.ga release notes 

  http://sourceforge.net/project/shownotes.php?release_id=455849&group_id=40712

read as

  Get Up And Running Quick
  ------------------------
  Demo:
   (1) copy your JDBC driver to the lib directory
   (2) edit etc/hibernate.properties
   (3) run "ant eg" or "build eg"
   (4) browse the sourcecode in eg/org/hibernate/auction

This directions are incorrect.  Below is the ant output if these steps are followed.  Also, I had to put junit*.jar and antlr*all*.jar in my ANT_HOME/lib before ant eg would work. 

C:\hibernate-3.2>ant eg
Buildfile: build.xml
  [taskdef] Could not load definitions from resource clovertasks. It could not b
e found.

eg:
    [javac] Compiling 8 source files to C:\hibernate-3.2\build\eg
    [javac] C:\hibernate-3.2\eg\org\hibernate\auction\Main.java:10: cannot find
symbol
    [javac] symbol  : class FetchMode
    [javac] location: package org.hibernate
    [javac] import org.hibernate.FetchMode;
    [javac]                      ^
    [javac] C:\hibernate-3.2\eg\org\hibernate\auction\Main.java:11: cannot find
symbol
    [javac] symbol  : class FlushMode
    [javac] location: package org.hibernate
    [javac] import org.hibernate.FlushMode;
    [javac]                      ^
    [javac] C:\hibernate-3.2\eg\org\hibernate\auction\Main.java:12: cannot find
symbol
    [javac] symbol  : class LockMode
    [javac] location: package org.hibernate
    [javac] import org.hibernate.LockMode;
    [javac]                      ^
....

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira




More information about the hibernate-issues mailing list