-->
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.  [ 35 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject:
PostPosted: Sat Dec 09, 2006 6:15 pm 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
I can confirm that the whole thing does in fact not run on Windoze at all. I have no idea why. If I can't figure it out in the next hour, I'll add a note that the tests run only on !Windoze. Too bad...

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 09, 2006 6:47 pm 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
There are several issues here.

1. If the unzipped full pathname has a space in any name, the TestNG Ant task breaks on Windows. Nothing I can do except warn users in the README that they have to move the project directory to a path with no spaces, and alarm the TestNG guys: http://forums.opensymphony.com/thread.j ... 26&#106326

2. The default config scans in caveatemptor-jpa/build/classes, but the unzipped directory name is "caveatemptor-jpa-20061110/build/classes". I changed the config for the next release.

3. The default config uses regular / slashes to declare the directory to scan, this doesn't work on Windoze. Fixed with a replace() operation in EJB3IntegrationTest, we now use the File.separator of the system to replace slashes in whatever path is configured.

4. The classloader problem, somehow classes of hibernate-annotations.jar are not found. This turned out to be a conflict between the two Hibernate versions that shipped, one in the hibernate-all.jar, the other in the lib/hibernate*.jar files. Cleaned up and releasing one version.

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 09, 2006 7:42 pm 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
I've released a new package, please test on Windows.

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 09, 2006 9:23 pm 
Beginner
Beginner

Joined: Tue Nov 14, 2006 4:11 pm
Posts: 23
Works perfectly with no changes... Thanks!

-Clark


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 03, 2009 11:29 am 
Contributor
Contributor

Joined: Fri Apr 03, 2009 11:07 am
Posts: 11
hi, I had running/debugging the test case in Eclipse.
Changed the default default generated classes directory from 'bin' to 'build/classes' as the AntTask expects and everything works.
Jeremy


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

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.