-->
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.  [ 8 posts ] 
Author Message
 Post subject: Installation problems with 4 alpha
PostPosted: Sun Jul 31, 2005 10:33 am 
Regular
Regular

Joined: Fri Feb 13, 2004 10:02 pm
Posts: 90
Hibernate version:
Tool 4 alpha

I experiences problems with the editors in the plugin. I have downloaded the zip and extracted it to my eclipse directory. It works well for the console, and reverse generation. I have enabled hibernate 3 support on my project for the configured console. However, any *.hbm.xml files do not open in the hibernate editor.
As a result, I don't have any of the features I really want like auto completion of table names, column names etc. When I look at the file associations, the only file that has an association after the installation is of type *.override.reveng.xml. When I try to add the type of *.hbm.xml, there is no hibernate hbm editor as an editor to add. I have installed the following plugins.

Eclipse 3.1 release
Maven ide
Omondo free UML
SpringFramework ide
Checkstyle
Hibernate tools 4 alpha

Does anyone have any idea what I am missing? From the documentation of the tools section, it just seems I need to unzip the plugin and that is it.

Thanks,
Todd


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 31, 2005 2:44 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
there is no special xml editor, we are integrating with the WTP xml editor.

note that this fails on some machines because of an issue with how eclipse selects which plugin gets the chance to contribute to the editor.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 31, 2005 5:20 pm 
Regular
Regular

Joined: Fri Feb 13, 2004 10:02 pm
Posts: 90
Thanks for the info, that took care of the auto-complete problem. I had to uninstall hibernate and uninstall omondo uml, it seems that the emf distro between the two conflicts, even though both are 2.1.0. I'm assuming they are just different builds. For anyone using both, simply don't install the emf portion of omondo after installing hibernate, and both will work correctly. Are there any plans to have column name context assistance? I really like the table, class, and property assitance. I can breeze through mappings very quickly.

Thanks,
Todd


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 31, 2005 6:27 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
yes, we are working on it - contributions are welcome ;)

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 01, 2005 7:12 pm 
Regular
Regular

Joined: Fri Feb 13, 2004 10:02 pm
Posts: 90
I would definitely be interested in completing this. I have a few of questions.

1. Would you prefer I work off of the alpha 4 tag since its “stable” or head?
2. Where is the current cache code and context assistant code (which project)?
3. Is there a particular hibernate 3.1 milestone or build date I should use? Assuming I work from head for the plugins.

Thanks,
Todd


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 02, 2005 3:44 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
CVS head is the right way.

HBMInfoExtractor is very central in this setup so if you look at that and follow who calls it you should be covered.

It is in the tools package, more precisly org.hibernate.mapper.

The Table name completion is something I added very quickly thus the implementation is not the best of breed yet - but look at HibernateNature for the code that fetches the data (I'll be updating this soon as we now have a better way of doing it - but it shows you where the Tables go (and the Tables has columns)

How to build, see http://www.hibernate.org/268.html

Patches/improvements/bugs should be put in Jira.

don't be afraid to ask ;)

/max

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 07, 2005 9:55 am 
Regular
Regular

Joined: Fri Feb 13, 2004 10:02 pm
Posts: 90
Hi Max,
Sorry for the slow response, it has been a hectic week at work. I have another question. In copying the libs over using "..\build -f hibernate-build.xml update" I am receiving compile errors from the tools project. I'm currently using the latest hibernate 3.1 beta build (not from CVS, the release). This leads me to two questions.

1. What version of hibernate 3.1 are you using?
2. If these errors still exist after using a different version, should I use release alpha 4 for all other projects that aren't the hibernate plugin?

Thanks,
Todd


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 07, 2005 10:30 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
im using the version from CVS head in hibernate.

_________________
Max
Don't forget to rate


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