-->
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.  [ 21 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Fresh install giving problems (3.1.0-beta5)
PostPosted: Tue May 16, 2006 12:59 pm 
I'm using Hib. Tools 3.1.0-beta 5 with Eclipse 3.1.2 and JDK 1.5.0_06 running on Linux.

I've got a problem starting Eclipse and getting to the 'Hibernate Code Generation' dialog.

At one point I had access to the Hibernate Code Generation dialog but it gave me an error so I re-installed a fresh Eclipse and HibTools plugins set-up and now I can see neither the Hibernate toolbar button nor the Run menu / Hibernate Code Generation option.

Also I have an entry in the Eclipse Error Log from every Eclipse start:

Invalid Menu Extension (Path is invalid): org.hibernate.eclipse.launch.LaunchMenuDelegateMenu
An exception stack trace is not available.

Could this be from my workspace? I have one project set up with a Hibernate Console configuration.


This is the config given:
eclipse.buildId=M20060118-1600
java.version=1.5.0_06
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_GB
Command-line arguments: -os linux -ws gtk -arch x86 -data /home/adam/java/eclipse-workspace


Top
  
 
 Post subject:
PostPosted: Tue May 16, 2006 3:36 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
if you see neither menu nor toolbutton i'm puzzled ;(

JBossIDE 1.6 will soon be out which should bring back the toolbar menu...

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 17, 2006 2:19 pm 
i have no idea why the icon is not on the tool bar but annoyingly i can see that "Hibernate Code Generation..." is selected when I call up the window / customize perspective dialog.

I presume that the error log entry described in my previous message has got something to do with it. - "invalid menu extension"


Top
  
 
 Post subject:
PostPosted: Wed May 17, 2006 6:50 pm 
Newbie

Joined: Tue Sep 30, 2003 2:00 pm
Posts: 11
I just installed hibernate toos 3.1.0-beta 5 with Eclipse 3.1.2 and I get the same exact error. Seems minor, since it does show up under the run menu...



Invalid Menu Extension (Path is invalid): org.hibernate.eclipse.launch.LaunchMenuDelegateMenu

An exception stack trace is not available.

eclipse.buildId=M20060118-1600
java.version=1.5.0_03
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 -clean


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 17, 2006 6:51 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
so you have the menu item right ?

ok - jbosside 1.6 should have both fixed.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 17, 2006 6:57 pm 
I just tried downgrading to Eclipse 3.1.1 but I get the same problem.

Then I tried it with a new workspace, and the error on startup did not occur.

So I created a new project, and opened the Hibernate Console perspective, and the 'Hibernate Code Generation' option was there in the Run menu.

However I then closed Eclipse and re-opened it, and the same error came back and the Hibernate Code Generation option was gone again.

Where can I go from here?


Top
  
 
 Post subject:
PostPosted: Wed May 17, 2006 7:10 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
wait for jbosside 1.6 or try one of the later hibernatetools nightly builds and let me know if you still have the issue ?

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 17, 2006 7:11 pm 
Newbie

Joined: Tue Sep 30, 2003 2:00 pm
Posts: 11
accidental repost


Top
 Profile  
 
 Post subject: *hbm.xml file association
PostPosted: Fri May 19, 2006 3:28 am 
Newbie

Joined: Wed May 17, 2006 4:32 am
Posts: 16
I have downloaded the latest hibernate tools:
Latest JBoss IDE 1.6.0.GA [Notes] (2006-05-15 18:27)
|
->HibernateTools-3.1.0.beta5.zip 31906404

and use it with Eclipse 3.1.2
but unfortunately the *hbm.hml files are not associated with hibernate mapping editor.

Any suggestions?

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 19, 2006 3:35 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
There is no hibernate mapping editor.

We use the standard WTP XML Editor.

That said you should just be able to double click on the file and it should open up the hbm.xml editor with the outline having "(Hibernate Tools)" in the top node.

Does this not happen ?

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 19, 2006 3:42 am 
Newbie

Joined: Wed May 17, 2006 4:32 am
Posts: 16
Quote:
Does this not happen ?

yes it is exactly so, but i became confused because in the hibernatetools-3.1.0.pdf document the *.hbm.xml files are associated with the hibernate mapping editor and there is no mention of that case (see section 3.5. Hibernate Mapping and Configuration File Editor)


Last edited by jaya123 on Fri May 19, 2006 3:52 am, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Fri May 19, 2006 3:49 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
I always recommend reading the documentation that matches the release ;)

I don't see that phrase in the doc at tools.hibernate.org nor in the download?

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 19, 2006 4:00 am 
Newbie

Joined: Wed May 17, 2006 4:32 am
Posts: 16
max wrote:
I don't see that phrase in the doc at tools.hibernate.org nor in the download?


yes, but see the confusing screenshots in beginning of that section

Quote:
see section 3.5: The Hibernate Mapping file editor provides XML editing functionality for the hbm.xml and cfg.xml files.


and is this right to be properly understood with that following screenshot below? And there is no mention of ***editor with the outline having "(Hibernate Tools)" in the top node*** so as on the screenshot


Last edited by jaya123 on Fri May 19, 2006 4:24 am, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Fri May 19, 2006 4:22 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
The only thing i see missing in the screenshot is the "(Hibernate Tools)" in the outline view....where does that screenshot indicate you need something special associated to the hbm.xml extension ?

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 19, 2006 4:26 am 
Newbie

Joined: Wed May 17, 2006 4:32 am
Posts: 16
max wrote:
where does that screenshot indicate you need something special associated to the hbm.xml extension ?

See in the Package Explorer and in the tab-header in the editor the specific icon that relates that it should be associated.

PS: sorry see the next post


Last edited by jaya123 on Fri May 19, 2006 4:28 am, edited 1 time in total.

Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 21 posts ]  Go to page 1, 2  Next

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.