-->
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.  [ 7 posts ] 
Author Message
 Post subject: HibernateTools with Eclipse 3.3
PostPosted: Mon Jul 09, 2007 9:13 am 
Regular
Regular

Joined: Sat May 20, 2006 3:49 am
Posts: 78
Hi!

I'm trying to run Hibernate-Tools 3.2.0-beta9a with Eclipse 3.3. I have installed the plugin and it is visible under the 'Product Configuration' window, but I can't open any View because the Hibernate Views are not available under the 'Show View' dialog.

Any ideas?

Regards,
Christoph.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 09, 2007 9:36 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
It should work...others have reported to use eclipse 3.3 with Hibernate tools.

anything visible in the error logs ?

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 09, 2007 12:59 pm 
Regular
Regular

Joined: Sat May 20, 2006 3:49 am
Posts: 78
no errors in the error log, but the hibernate help is available in the help. but I still can't open any hibernate views/perspectives, because they are not visible.

after 30 minutes: i have tried to manually start the org.eclipse.hibernate.mapper plugin with the osgi-console (I started eclipse with -console). I got the error message, that the org.eclipse.wst.xml plugin could not be located.

Code:
166     <<LAZY>>    org.eclipse.wst.common.core_1.1.100.v200608220540
167     INSTALLED   org.eclipse.wst.common.environment_1.0.100.v200608251934
168     INSTALLED   org.eclipse.wst.common.frameworks_1.1.1.v200609132124
169     INSTALLED   org.eclipse.wst.common.project.facet.core_1.1.1.v200608112156
170     INSTALLED   org.eclipse.wst.common.project.facet.ui_1.1.1.v200608112156
171     <<LAZY>>    org.eclipse.wst.common.ui_1.1.100.v200608221521
172     <<LAZY>>    org.eclipse.wst.common.uriresolver_1.1.100.v200609200443
173     INSTALLED   org.eclipse.wst.dtd.core_1.1.1.v200609210600
174     INSTALLED   org.eclipse.wst.sse.core_1.1.100.v200609182120
175     INSTALLED   org.eclipse.wst.sse.ui_1.0.200.v200609211325
176     INSTALLED   org.eclipse.wst.validation_1.1.1.v200609132124
177     INSTALLED   org.eclipse.wst.xml.core_1.1.1.v200609210600
178     RESOLVED    org.apache.xerces_2.8.0.v200606131651
179     INSTALLED   org.hibernate.eclipse.console_3.2.0.beta9a
180     ACTIVE      org.hibernate.eclipse.help_3.2.0.beta9a
181     INSTALLED   org.hibernate.eclipse.mapper_3.2.0.beta9a
182     ACTIVE      org.hibernate.eclipse_3.2.0.beta9a
183     ACTIVE      org.jboss.ide.eclipse.freemarker_1.0.0.Beta2

osgi> start org.hibernate.eclipse.mapper
org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Missing Constraint: Require-Bundle: org.eclipse.wst.xml.core; bundle-version="0.0.0"
        at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:305)
        at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:260)
        at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:252)
        at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:260)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:145)
        at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:291)
        at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:276)
        at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:218)
        at java.lang.Thread.run(Unknown Source)

osgi>


so I downloaded the current wtp-package from the WTP Project Site, installed it, and now it works. (I downloaded that package).

i think the error should be reproducable by downloading the current eclipse 3.3 sdk package and installing the hibernate-tools-3.2.0-beta9a.

regards,
christoph.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 10, 2007 4:40 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
hmm....apparently 3.3 is more strict on some resolvements since it works for 3.2 ;)

could you put this in jira somewhere ?

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 10, 2007 12:40 pm 
Beginner
Beginner

Joined: Mon Aug 22, 2005 1:22 am
Posts: 36
I am still having problems with Hibernate Tools/Eclipse 3.3.

I installed the Eclipse/Hibernate Tools/WTP from the links below.

However, I get the following "Warning" in the error console:

Quote:
eclipse.buildId=I20070625-1500
java.version=1.4.2_05
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86

Warning
Tue Jul 10 11:02:40 CDT 2007
Skipping builder 'org.hibernate.eclipse.console.hibernateBuilder' for project 'homeIQ'. Either the builder is missing from the install, or it belongs to a project nature that is missing or disabled.


Could someone point out what I have done incorrect?

Thanks
- Doug


maitscha wrote:
no errors in the error log, but the hibernate help is available in the help. but I still can't open any hibernate views/perspectives, because they are not visible.

after 30 minutes: i have tried to manually start the org.eclipse.hibernate.mapper plugin with the osgi-console (I started eclipse with -console). I got the error message, that the org.eclipse.wst.xml plugin could not be located.

so I downloaded the current wtp-package from the WTP Project Site, installed it, and now it works. (I downloaded that package).

i think the error should be reproducable by downloading the current eclipse 3.3 sdk package and installing the hibernate-tools-3.2.0-beta9a.

regards,
christoph.
[/quote]


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 10, 2007 1:15 pm 
Beginner
Beginner

Joined: Mon Aug 22, 2005 1:22 am
Posts: 36
Ok...I figured this one out....needed Eclipse to start with JDK 1.5 not 1.4.

Now I have another issue...I cannot get auto completion to work. Is there any gotchas I need to be aware of to get this to work.

All I did was create a new hbm.xml mapping, select the class and start typing. No auto completion.

Any ideas?

Thanks in advance.
- Doug


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 11, 2007 4:18 am 
Regular
Regular

Joined: Sat May 20, 2006 3:49 am
Posts: 78
max wrote:
could you put this in jira somewhere ?


I created a new issue: HBX-960.

... my first one :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 7 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.