• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Running "eg" auction example of hibernate

 
Siamak Saarmann
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

1- Sorry that my question may seem too stupid. If there is a place for begineers please forward me to there.

I have able to run the auction example coming with hibernate (inside "eg" directory)

I wanted to know how can I run the example withouth an ant build? (I have run ant once and classes are compiled to class files) I tried below:

java org.hibernate.auction.Main

But it can not find Main class. (driver and hibernate2.jar are on my CLASSPATH)

Directory structure is ( eg-> org.hibernate.auction ) and source codes are inside auction directory.

Regards,
Mac
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic