[MacPorts] #28508: hibernate2 using enum as identifier .. building with wrong version of Java?

MacPorts noreply at macports.org
Wed Feb 23 01:05:40 PST 2011


#28508: hibernate2 using enum as identifier .. building with wrong version of Java?
----------------------------------------+-----------------------------------
 Reporter:  vulcan_@…                   |       Owner:  macports-tickets@…                   
     Type:  defect                      |      Status:  new                                  
 Priority:  Normal                      |   Milestone:                                       
Component:  ports                       |     Version:  1.9.2                                
 Keywords:  java, hibernate, enum, 1.4  |        Port:  hibernate2                           
----------------------------------------+-----------------------------------

Comment(by vulcan_@…):

 interesting
 i thot that antlr might be messed up so i did clean --all on it
 the hibernate install correctly saw the dependency on it and installed
 antlr 2.7.7_1
 then H3 was downloaded and we resume our story ...

 {{{
 --->  Building hibernate3
 Buildfile:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_hibernate3/work/hibernate-3.2/build.xml
   [taskdef] Could not load definitions from resource clovertasks. It could
 not be found.

 splash:

 init:
      [echo] Build Hibernate-3.2.5.ga (2011-02-23 10:01:36)
      [echo] JDK version: 1.6

 init.antlr:

 antlr:
     [mkdir] Created dir:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_hibernate3/work/hibernate-3.2/build/gensrc/org/hibernate/hql/antlr
 [antlrtask] Exception in thread "main" java.lang.NoClassDefFoundError:
 antlr/Tool
 [antlrtask] Caused by: java.lang.ClassNotFoundException: antlr.Tool
 [antlrtask]     at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
 [antlrtask]     at java.security.AccessController.doPrivileged(Native
 Method)
 [antlrtask]     at
 java.net.URLClassLoader.findClass(URLClassLoader.java:190)
 [antlrtask]     at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
 [antlrtask]     at
 sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
 [antlrtask]     at java.lang.ClassLoader.loadClass(ClassLoader.java:248)

 BUILD FAILED
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_hibernate3/work/hibernate-3.2/build.xml:174:
 ANTLR returned: 1
 }}}

 as the word Splash appeared i did see the hibernate splash screen for a
 second .. then crash
 any idea what clovertasks could be?

-- 
Ticket URL: <https://trac.macports.org/ticket/28508#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list