Open parroit opened 12 years ago
Hi,
Good work, i will try and tell you if I have the same compilation issues
Loic Descotte
Le samedi 21 juillet 2012 à 11:46, Andrea Parodi a écrit :
I've created a new branch to start use kool template. I've ported layout.kt to Kool Template, but now anytime I open this file in Idea, the editor hangs, and Idea process start to use LOT of cpu. If I try to build project from idea, the compilation never stop. And if I try to compile from Maven, the compilation never stop too.
Everything is working if I comment the kool template part of the file
Reply to this email directly or view it on GitHub: https://github.com/parroit/kweb/issues/6
Great! Thank you. I've also posted the issue on JetBrains site... Oh and I don't l know if it matter, but I'm using Maven 3.0.3 and Idea Ultimate 11.1.1
Hi, I don't have the same issue, compil is not blocking but I have some errors : kweb/sites/welcome/src/main/kotlin/views/layout.kt: (12, 14) None of the following functions can be called with the arguments supplied
And a hudge stacktrace...
Yesterday I try to restart the code step by step. I did not push it because I still have the problem of Idea get really slow. However, this let me discover some error, one of which is that we cannot add String based templates (like ours) to Node based ones (like kool templates), because kool template htmlescapes any text added. I think the problem you got is due to this fact... I've solved this introducing a new function "unescaped" that parse an html fragment and return a Node that could be added in kool template.
I'll push my edits to the koolTemplate branch. I still have huge Idea problem with this version, that make developing new code a nightmare. JetBrains has been able to reproduce the problem and is working on it.
At this state I'm able to compile the project and sample site by maven, but I have some problem using run.bat. It appear that not_found_layout setter is not found on class....
If your Idea is working smoothly, maybe the problem could be on release. What version of Idea are you using?
I've tried on 11.1.2
I was using 11.1.1 and then download same as your, but I still have the problem. Windows or Linux?
I'm under Linux (Fedora)
I will try at home too (Mac)
Maybe it depend on this, I'm using Windows Seven...
Good, we cover all platform!
I pushed new version. maven compile it, but there is still a strange error running run.bat. If you want, you can port the batch to Linux or Mac and see what happen.
OK I will check this
Compil is working for me with maven. I just need to skip tests (0.x found instead of 0,x) Now I will try to make the run script
The run batch now work for me, I just remove the offending notFoundLayout var. I think we could reintroduce it in a future version.
Hi, I've pushed the script for Unix systems The only problem when I run the quote application is a SQL exception :
ERROR: [SQLITE_ERROR] SQL error or missing database (no such table: Quote) org.hibernate.exception.GenericJDBCException: [SQLITE_ERROR] SQL error or missing database (no such table: Quote)
Is the hibernate generation working for you?
Il 30/07/2012 11:44, Loic Descotte ha scritto:
Hi, I've pushed the script for Unix systems The only problem when I run the quote application is a SQL exception :
ERROR: [SQLITE_ERROR] SQL error or missing database (no such table: Quote) org.hibernate.exception.GenericJDBCException: [SQLITE_ERROR] SQL error or missing database (no such table: Quote)
Is the hibernate generation working for you?
Reply to this email directly or view it on GitHub: https://github.com/parroit/kweb/issues/6#issuecomment-7364226 I never tried the sql generation, I've used a db I already had for another project. I'll try it and let you know if I can do it with success... in the meantime, maybe we can simply workaround the problem by including the sqlite db in the example.
Yes, good idea :)
On Mon, Jul 30, 2012 at 11:49 AM, Andrea Parodi < reply@reply.github.com
wrote:
Il 30/07/2012 11:44, Loic Descotte ha scritto:
Hi, I've pushed the script for Unix systems The only problem when I run the quote application is a SQL exception :
ERROR: [SQLITE_ERROR] SQL error or missing database (no such table: Quote) org.hibernate.exception.GenericJDBCException: [SQLITE_ERROR] SQL error or missing database (no such table: Quote)
Is the hibernate generation working for you?
Reply to this email directly or view it on GitHub: https://github.com/parroit/kweb/issues/6#issuecomment-7364226 I never tried the sql generation, I've used a db I already had for another project. I'll try it and let you know if I can do it with success... in the meantime, maybe we can simply workaround the problem by including the sqlite db in the example.
Reply to this email directly or view it on GitHub: https://github.com/parroit/kweb/issues/6#issuecomment-7364308
Loïc Descotte 4 rue Joseph Fourier 38000 Grenoble
06 23 23 36 80
I've pushed a new line in the hibernate config to generate the database at startup
Good Loic. And sorry for my absence, I was on vacation... But while in vacation, I'm thinking on how we could evolve the project. Could I contact you by e-mail to explain my ideas? Just write an e-mail to me, my mail address is on my github profile...
Hi!
Sorry my turn to be busy a lot... Ok for the mail
I've created a new branch to start use kool template. I've ported layout.kt to Kool Template, but now anytime I open this file in Idea, the editor hangs, and Idea process start to use LOT of cpu. If I try to build project from idea, the compilation never stop. And if I try to compile from Maven, the compilation never stop too.
Everything is working if I comment the kool template part of the file