|
I would like to reports a few issues I met for the samples.
[recipe sample] 1) recipe cannot be run without recompiling grails modifing the build.xml to include tiger src. 2) also this is not the problem of grails, but when it is to be executed, in default jdk1.4.* environment without modifying JAVA_HOME, it generates starange class version error. It would be helpful to suggest to chnage JAVA_HOME or using special shell script(as I did) to declare JAVA_HOME inside the script.(since still many do not migrate to 1.5 yet) [ajax sample] 3) this controller includes GoogleControllerTests.groovy, this will cause errot after grails init grail app-run. It seems necessary to remove this file from this directory.(or change the extension to other name). From the error message, it is not so evident that this file is causing the problem, it is better to remove or write some note on readme file. I think this recipe is quite good sample, blog need to be changed significantly. I think it is better to eliminate jsp usage from sample apps. Also it suppor good ajax library, but there not much significant usage of these libarary, if sample includes some, it would be nice. C |
|
On 3/20/06, calathus <[hidden email]> wrote:
> I would like to reports a few issues I met for the samples. > > [recipe sample] > 1) recipe cannot be run without recompiling grails modifing the build.xml to > include tiger src. > 2) also this is not the problem of grails, but when it is to be executed, in > default jdk1.4.* environment without modifying JAVA_HOME, it generates > starange class version error. > It would be helpful to suggest to chnage JAVA_HOME or using special shell > script(as I did) to declare JAVA_HOME inside the script.(since still many do > not migrate to 1.5 yet) If you have jdk 1.5 installed then the build will automatically include the src/tiger directory as it too relies on jdk 1.5 being installed. This sample will not work on jdk 1.4, hence the class version error. > > [ajax sample] > 3) this controller includes GoogleControllerTests.groovy, this will cause > errot after grails init grail app-run. > It seems necessary to remove this file from this directory.(or change the > extension to other name). > From the error message, it is not so evident that this file is causing the > problem, it is better to remove or write some note on readme file. > > I think this recipe is quite good sample, blog need to be changed > significantly. I think it is better to eliminate jsp usage from sample apps. > Also it suppor good ajax library, but there not much significant usage of > these libarary, if sample includes some, it would be nice. demonstrate Hibernate integration. The blog and ajax ones are very old and in fact the ajax one, ironically doesn't demonstrate grails' current support for the Prototype library at all. As I said the samples really need to be renamed to 'playground' or 'sandbox' as we don't really have a solid sample app yet (i'm working on it) Cheers Graeme > > C > > > > > > |
|
I found the ajax sample actually including AJAX.
when I used URL: http://localhost:8080/ajax/google.html It opened the page including the AJAX. But in the source code there is no such file originally, (it was generated later) at least it would be helpful to have some usage explanation in a file. C On 3/21/06, Graeme Rocher <[hidden email]> wrote: On 3/20/06, calathus <[hidden email]> wrote: |
| Powered by Nabble | Edit this page |
