When following Documentation > Getting Started, you have to run the task
'eg' in the build file to build and run the sample. If your database
properties are not correct the build still says it has suceeded even though
it has failed.

Fix

Add  failonerror="true" as an attribute to the java task. Line 515 just
before the closing bracket.

old

<java
classname="org.hibernate.auction.Main"
fork="true"
>

new

<java
classname="org.hibernate.auction.Main"
fork="true"
failonerror="true">

In the documentation you could add something like.

"If the build fails you proabably haven't got your properties set correctly
in src/hibernate.properties"

I know its a small thing, but small things matter ...

All best

AndyP




Andrew Premdas
Student Systems Developer
Manchester University



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to