-->
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.  [ 4 posts ] 
Author Message
 Post subject: Hibern8ide search paths relative to .hbm files?
PostPosted: Mon May 10, 2004 2:06 pm 
Newbie

Joined: Mon May 10, 2004 1:58 pm
Posts: 5
Location: Miami, FL
After some refactoring, I am unable to load hibern8ide due to a "class not found" error.


My previous (working) setup was like this
/src
hibernate.properties
hibernate.cfg.xml
/hibernate <--- hbm files
hbmclasses.jar <--- a jar file with all the required classes


My current (broken) setup is like this

/src
hibernate.properties
hibernate.cfg.xml
/com/fotozap/data <--- hibernate domain objects
/com/fotozap/data/dao/hibernate <---hbm files
hbmclasses.jar <--- jar file w/ classes



The main difference is that in my prior setup, the hbm files were outside of the /src folder. In my new setup the hbm files are in the source tree, and they are below the domain objects in the tree.

I am having the darndest time trying to figure out how/where hibern8ide is looking for the classes now.

Please help!!

Thanks in advance,
--Alex


Top
 Profile  
 
 Post subject: setups again
PostPosted: Mon May 10, 2004 2:08 pm 
Newbie

Joined: Mon May 10, 2004 1:58 pm
Posts: 5
Location: Miami, FL
My spaces were stripped in the previous post:


My previous (working) setup was like this
/src
----hibernate.properties
----hibernate.cfg.xml
----/hibernate <--- hbm files
--------hbmclasses.jar <--- a jar file with all the required classes
----/com/fotozap/data <--- hibernate domain objects


My current (broken) setup is like this

/src
----hibernate.properties
----hibernate.cfg.xml
----/com/fotozap/data <--- hibernate domain objects
----/com/fotozap/data/dao/hibernate <---hbm files
-----------------------------------hbmclasses.jar <--- jar file w/ classes


Top
 Profile  
 
 Post subject: build location
PostPosted: Mon May 10, 2004 2:11 pm 
Newbie

Joined: Mon May 10, 2004 1:58 pm
Posts: 5
Location: Miami, FL
Another note:

I am launching hibern8ide from Ant in the /src folder.


Top
 Profile  
 
 Post subject: RESOLVED
PostPosted: Mon May 10, 2004 2:30 pm 
Newbie

Joined: Mon May 10, 2004 1:58 pm
Posts: 5
Location: Miami, FL
This was a very simple mistake.

My Ant classpath for hibern8ide was pointing to the old location for the jar file.

Sorry about the useless post.

--Alex


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