-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Problem building latest snapshot from svn.
PostPosted: Tue May 01, 2007 1:00 pm 
Beginner
Beginner

Joined: Fri Jan 16, 2004 11:05 am
Posts: 33
I am sure I am missing something simple here, but I cannot find a reference to where this file is pulled from, or generated?

I receive the same errors from running build.bat in HibernateExt.


Thanks.

Code:
L:\Prj\Hibernate\svn\HibernateExt\annotations>ant -lib ..\..\Hibernate3\lib jar
Buildfile: build.xml
  [taskdef] Could not load definitions from resource clovertasks. It could not be found.
Overriding previous definition of reference to lib.moduleclass.path

init:
  [taskdef] Could not load definitions from resource clovertasks. It could not be found.
Overriding previous definition of reference to lib.moduleclass.path

common-build.init:
     [echo] Build Hibernate Annotations-3.3.0.GA (2007-05-01 11:56:35)

get.jpa-api:

get.commons-annotations:

compile:
    [javac] Compiling 129 source files to L:\Prj\Hibernate\svn\HibernateExt\annotations\build\classes
    [javac] L:\Prj\Hibernate\svn\HibernateExt\annotations\src\java\org\hibernate\cfg\annotations\EntityBinder.java:43: cannot find symbol
    [javac] symbol  : class CacheFactory
    [javac] location: package org.hibernate.cache
    [javac] import org.hibernate.cache.CacheFactory;
    [javac]                            ^
    [javac] L:\Prj\Hibernate\svn\HibernateExt\annotations\src\java\org\hibernate\cfg\annotations\EntityBinder.java:710: cannot find symbol
    [javac] symbol  : variable CacheFactory
    [javac] location: class org.hibernate.cfg.annotations.EntityBinder
    [javac]                             return CacheFactory.READ_ONLY;
    [javac]                                        ^
    [javac] L:\Prj\Hibernate\svn\HibernateExt\annotations\src\java\org\hibernate\cfg\annotations\EntityBinder.java:712: cannot find symbol
    [javac] symbol  : variable CacheFactory
    [javac] location: class org.hibernate.cfg.annotations.EntityBinder
    [javac]                             return CacheFactory.READ_WRITE;
    [javac]                                        ^
    [javac] L:\Prj\Hibernate\svn\HibernateExt\annotations\src\java\org\hibernate\cfg\annotations\EntityBinder.java:714: cannot find symbol
    [javac] symbol  : variable CacheFactory
    [javac] location: class org.hibernate.cfg.annotations.EntityBinder
    [javac]                             return CacheFactory.NONSTRICT_READ_WRITE;
    [javac]                                        ^
    [javac] L:\Prj\Hibernate\svn\HibernateExt\annotations\src\java\org\hibernate\cfg\annotations\EntityBinder.java:716: cannot find symbol
    [javac] symbol  : variable CacheFactory
    [javac] location: class org.hibernate.cfg.annotations.EntityBinder
    [javac]                             return CacheFactory.TRANSACTIONAL;
    [javac]                                        ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 5 errors

BUILD FAILED
L:\Prj\Hibernate\svn\HibernateExt\annotations\build.xml:92: Compile failed; see the compiler error output for details.

Total time: 4 seconds


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 01, 2007 3:53 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
try with Hibernate Core 3.2 rather than HEAD, Steve has worked on the cache APIs in head recently

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 01, 2007 4:39 pm 
Beginner
Beginner

Joined: Fri Jan 16, 2004 11:05 am
Posts: 33
Thanks Emmanuel,

I figured out that core worked, wasn't sure if I was missing something in HEAD, I guess not. :P


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.