This message was deleted.
# questions
s
This message was deleted.
g
Seemed I have to explicitly add the following line into build.gradle
Copy code
profile "org.grails.profiles:web"
Is this a right solution though?
g
I think the profiles are gone in 6.0. I would generate a sample app in the forge and check it out: https://start.grails.org/
g
I read your previous post, and that was my impression too. However, after I put them back, it just worked. My environment is Win11, Jdk17 and Grails 6.0.0. Gradle is 7.6.2
g
Yeah they are gone, but might make a comeback at some point. The new cli is a lot easier for the Grails team to add new features. So if there's a demand for some of the features of the other profiles... While you might be able to run with Java 17 Grails doesn't officially support it for 6. Also Puneet finally has more dedicated people helping, expanding the Grails team again. While Puneet is very passionate about Grails, and is very smart. I thought it was a bit much to have him be the only one dedicated working on Grails, even if he could ask for help from the Micronaut team, and had some community help.
👍🏼 1
g
😄, sounds wonderful. Again, by far even though there are so many framework out there, I am a still a believer of Grails. Efficiency is THE key for smaller size team. Plus Grails is convenient enough to connect to any other framework and the grammar is so much alike Ruby yet the performance is x times better than Ruby. I still do not understand why there so many Ruby projects going on but very few of Grails
g
I agree. I think that Ruby had better marketing. The Groovy community is good at creating software that gets stuff done but is bad at self-promotion/marketing. Also, Groovy is pitched as a complement to Java not a replacement, so many people just view it as a scripting language, and don't realize the power of runtime metaprogramming, the GDK, traits, AST Transforms, and Macro methods. While Java the language had added many features that Groovy has had for years, most of the time in my view, most of them are pale, less powerful imitations.
g
I agree that Groovy should be markeded a lot more, the language itself is solid and the JVM as a platform is getting much love in the latest years (fortunately). Also Grails is such an asset for smaller companies with few developers. Adding to your opinion and having worked with Groovy/Grails for some years now... I dont get all the excitement about Kotlin either...
g
Yeah, I've been using Grails at various companies since 2011. The only other framework that interests me at the moment is Micronaut, but you lose the convention over configuration. As for Kotlin I don't need the null safe nanny, and it lacks a lot of the features I really like about Groovy. The reason Kotlin saw an upsurge in my option is because of Android. Groovy's runtime was too heavy for Android, and Kotlin was better than using Java. Kotlin also has some native and wasm support. Personally, regardless of the extra support, I'm not a fan of Kotlin myself. It would be interesting to see Groovy get better Graal native support, but that will never work with Grails without some major overhauls. Maybe with Micronaut if everything was statically compiled though.
g
I am not sure Grails apps will get much improvements for being compiled to native binaries. We have the web running on PHP 🙂 Instead I'd love to see Groovy + GraalVM having all the options ranging from interpreted - like javascript, to bytecode + vm to native binaries
I deam for a world where we stop reinventing things LOL :)
g
Oh, that will never happen, because of all of the different tastes and user cases in programming, someone somewhere will always be reinventing the wheel.
g
Let's just hope that each iteration will remove something instead of adding stuff 😎