• 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

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.

I have always wanted to have a neighbor just like you - Fred Rogers. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!