hi, i am a newbie to hibernate (and java in general) and i have problems compiling the example bulndled with hibernate 3.0.3.
I followed all the steps described at
http://www.hibernate.org/152.html, but failed at compiling it. Here it is the error i get when i launch "ant eg":
C:\Programmi\hibernate-3.0\build.xml:107: taskdef A class needed by class org.apache.tools.ant.taskdefs.optional.junit.JUnitTask cannot be found: junit/framework/Test
i guess i have problems with classpath, path, etc... but i cannot find them.
i post my settings for the user's environment variables (i am running winXP home):
ANT_HOME=C:\Programmi\ant
CLASSPATH=%JAVA_HOME%\lib;%JAVA_HOME%\mysql-connector-java-3.1.8-bin.jar;%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%\lib\rt.jar;C:\Programmi\netbeans-4.0\hibernate-3.0\eg\org\hibernate\auction;%CLASSPATH%;%JRE_HOME%\bin;.
HIBERNATE_HOME=C:\Programmi\hibernate-3.0
JAVA_HOME=C:\Programmi\Java\jdk1.5.0_02
JRE_HOME=C:\Programmi\Java\jre1.5.0_02;.
PATH=C:\gs\gs7.04\lib;C:\gs\gs7.04\bin;C:\texmf;C:\texmf\miktex\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Programmi\File comuni\GTK\2.0\bin;C:\Programmi\MySQL\MySQL Server 4.1\bin;c:\php;C:\Programmi\Executive Software\Diskeeper\;%JAVA_HOME%\bin;%ANT_HOME%\bin
and in the system variables
PATH=Software\Diskeeper\;C:\Programmi\Java\jdk1.5.0_02\bin;C:\Programmi\Java\jdk1.5.0_02\lib\tools.jar;C:\Programmi\ant\bin;.
everything seems like i didn't understand how to set the classpath for my apps: anyone who can clarify it to me will be very appreciated!
thanks in advance
mox[/url]