|
From: Jean-Pierre <jp...@jp...> - 2003-07-28 17:41:57
|
Ken, Juergen, I have tested Petclinic on saturday and made some changes to allow JBoss users having an easier install. The changes were in web.xml, build.xml, build.properties and install.txt. I added a jboss directory with files needed to bound database access to the application server as well as defining the Hsql and Mysql services in JBoss. In addition, when JBoss is used with HSql, it is no need to run server.bat, as the embedded HSql is used. Just JBoss must be running while the "ant all" or "ant test" is called. By the way, it was a tiny update to make due to tld name change. I will test and update Countries only this evening. Jean-Pierre -----Message d'origine----- De=A0: spr...@li... [mailto:spr...@li...] De la part de Ken Krebs Envoy=E9=A0: lundi 28 juillet 2003 15:20 =C0=A0: j=FCrgen h=F6ller [werk3AT] Cc=A0: Colin Sampaleanu; 'spring-dev-list' Objet=A0: [Springframework-developer] Petclinic, ant.bat, and Weird = issue trying to run unit tests Juergen, 1. new spring.tld <juergen> Jean-Pierre and Ken: Please re-test Countries and Petclinic (better=20 after the TLD name change), especially the versions that the release=20 target in our Spring Ant script generates. Simply unzip the generated=20 spring-framework-0.9.1.zip somewhere and "act like a user". </juergen> This has been done for Petclinic and no problems were found :-) . 2. ant.bat and "Weird issue trying to run unit tests" This continues to be a problem. I had previously mentioned difficulties=20 I had with the nested "setupDB" target using the ant.bat supplied with=20 Petclinic. I followed the new instructions and ran the hsqldb server=20 from the db/hsqldb dir as instructed instead of the dir I usually use.=20 Why it won't work unless I do it this way is mystifying to me. The=20 "setupDB" target now works :-) but the "test" target now fails :-(=20 reporting : "BUILD FAILED blahblahblah Could not create task or type of type: junit. " just as Colin reported. I do have junit.jar and optional.jar in my=20 ant/lib dir. Just as with the "setupDB" problem, I can work around it by invoking the standard ant.bat that is supplied with ant. Ken |