|
From: Ken K. <kk...@kk...> - 2003-07-28 13:27:38
|
Juergen, 1. new spring.tld <juergen> Jean-Pierre and Ken: Please re-test Countries and Petclinic (better after the TLD name change), especially the versions that the release target in our Spring Ant script generates. Simply unzip the generated 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 I had with the nested "setupDB" target using the ant.bat supplied with Petclinic. I followed the new instructions and ran the hsqldb server from the db/hsqldb dir as instructed instead of the dir I usually use. Why it won't work unless I do it this way is mystifying to me. The "setupDB" target now works :-) but the "test" target now fails :-( 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 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 |
|
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 |
|
From: Jean-Pierre <jp...@jp...> - 2003-07-28 23:43:23
|
<juergen> Jean-Pierre and Ken: Please re-test Countries and Petclinic (better after the TLD name change), especially the versions that the release target in our Spring Ant script generates. Simply unzip the generated spring-framework-0.9.1.zip somewhere and "act like a user". </juergen> I have now updated 'Countries'. Adding the support of HSql, I discovered that it doesn't support the batch mode. Having so an opportunity to handle a backend exception, logged, but solved by an alternative way for the job. The end user is not aware of the issue as long as it is solved. So, just if anyone with german skills could take a look at the german Countries properties files. On the TSS thread, someone found the german translation "funny" and discovered that large bunches were made with Googgle help. I stop changes before 0.9.1. Regards, Jean-Pierre |
|
From: Lars F. <lar...@gm...> - 2003-07-29 12:56:28
|
See below. > <juergen> > Jean-Pierre and Ken: Please re-test Countries and Petclinic (better > after the TLD name change), especially the versions that the release > target in our Spring Ant script generates. Simply unzip the generated > spring-framework-0.9.1.zip somewhere and "act like a user". > </juergen> > > I have now updated 'Countries'. > Adding the support of HSql, I discovered that it doesn't support the > batch mode. Having so an opportunity to handle a backend exception, > logged, but solved by an alternative way for the job. The end user is > not aware of the issue as long as it is solved. > > So, just if anyone with german skills could take a look at the german > Countries properties files. On the TSS thread, someone found the german > translation "funny" and discovered that large bunches were made with > Googgle help. That was me :-) I can translate the files for you. You can send them via email. Regards Lars |