UK-US Data Bridge: Join TechnologyAdvice and OneTrust as they discuss the UK extension to the EU-US Data Privacy Framework (DPF).
Migrate, Modernize and Build Java Web Apps on Azure: This live workshop will cover methods to enhance Java application development workflow.
Groovy/Java Developer at JDriven @mrhaki
About
Hi all, my name is Hubert A. Klein Ikkink. Not a very common name, right? To make things easier I just picked the first letters of my firstname and surname and came up with haki. So there you have it, now I am also known as Mr. Haki or mrhaki for short. You can read more blog postings at www.mrhaki.com. I am a passionate Groovy and Java developer based in Tilburg, The Netherlands. My goal is to write clean, elegant, user-centered and high quality software. You can find me on Google+ and Twitter.
Stats
Reputation: | 3427 |
Pageviews: | 2.7M |
Articles: | 92 |
Comments: | 24 |
Articles
Comments
May 07, 2019 · James Sugrue
This post is from 6 years ago and Gradle 1.6 was the latest at that time.
Sep 10, 2018 · Duncan Brown
Jib creates a Dockerfile file for us. If you want to see it you can run the Gradle task "jibExportDockerContext".
Jun 14, 2018 · Duncan Brown
Hi, I think you replied to the wrong article :) I cannot see a resemblance between your code and my samples. If you mention the source of the code you are free to copy the examples.
Dec 05, 2017 · James Sugrue
You would type
Nov 14, 2017 · Michael Tharrington
Hi Robert,
it is correct IntelliJ doesn't recognise the buildInfo() method in the springBoot {...} configuration block. But although it isn't recognised as valid option when we run Gradle the file build-info.properties should be created.
I am not sure what you mean by the "version" attribute from the environment "context". If you want to read the version attribute saved in build-info.properties, you could read the build-info.properties file in the main method of your Spring application. Once you have read the build-info.properties you can access all the attributes.
Kind regards, Hubert Klein Ikkink
May 22, 2017 · James Sugrue
I think "raw" is the default encoding in Grails 1.3.4. You need to use encodeAsHTML() to have the value escaped. Also check out http://docs.grails.org/1.3.4/guide/single.html#11.2%20Encoding%20and%20Decoding%20Objects
Mar 28, 2017 · Grzegorz Ziemoński
Hi Alexis, yes you're right. The assertion should be json2.
Jun 27, 2016 · Dave Fecak
This happens because the uploadArchives task depends on the jar task by default. But then the bootRepackage task is not executed, that actually overwrites the jar file with the full executable jar file.
If you add to your build.gradle file that the task uploadArchives depends on the assemble task the bootRepackage task is invoked before uploadArchives:
Jun 24, 2016 · Dave Fecak
If you want to run your application as a service on Linux. You don't need anything else, just the executable JAR. It has all the commands to stop/start/restart, check the status.
Feb 19, 2013 · James Sugrue
Errata: Code was written in Groovy 2.1 not in 1.2 ;-)
Dec 19, 2008 · Lebon Bon Lebon
Dec 19, 2008 · Lebon Bon Lebon
Dec 19, 2008 · Lebon Bon Lebon
Dec 19, 2008 · Hubert Klein Ikkink
Dec 19, 2008 · Hubert Klein Ikkink
Dec 19, 2008 · Hubert Klein Ikkink
Dec 18, 2008 · Lebon Bon Lebon
Hi, did you remove the "old" Groovy 1.5.5 library from the Libraries section? If not NetBeans loads the old library first so you cannot use the
Date.format
method. If you want I can take a look at your NetBeans project to see if I can find the problem. Just send me a message via my profile page (http://netbeans.dzone.com/users/mrhaki).Dec 18, 2008 · Lebon Bon Lebon
Hi, did you remove the "old" Groovy 1.5.5 library from the Libraries section? If not NetBeans loads the old library first so you cannot use the
Date.format
method. If you want I can take a look at your NetBeans project to see if I can find the problem. Just send me a message via my profile page (http://netbeans.dzone.com/users/mrhaki).Dec 18, 2008 · Lebon Bon Lebon
Hi, did you remove the "old" Groovy 1.5.5 library from the Libraries section? If not NetBeans loads the old library first so you cannot use the
Date.format
method. If you want I can take a look at your NetBeans project to see if I can find the problem. Just send me a message via my profile page (http://netbeans.dzone.com/users/mrhaki).Dec 18, 2008 · Lebon Bon Lebon
Hi, did you remove the "old" Groovy 1.5.5 library from the Libraries section? If not NetBeans loads the old library first so you cannot use the
Date.format
method. If you want I can take a look at your NetBeans project to see if I can find the problem. Just send me a message via my profile page (http://netbeans.dzone.com/users/mrhaki).Dec 18, 2008 · Hubert Klein Ikkink
Hi, did you remove the "old" Groovy 1.5.5 library from the Libraries section? If not NetBeans loads the old library first so you cannot use the
Date.format
method. If you want I can take a look at your NetBeans project to see if I can find the problem. Just send me a message via my profile page (http://netbeans.dzone.com/users/mrhaki).Dec 18, 2008 · Hubert Klein Ikkink
Hi, did you remove the "old" Groovy 1.5.5 library from the Libraries section? If not NetBeans loads the old library first so you cannot use the
Date.format
method. If you want I can take a look at your NetBeans project to see if I can find the problem. Just send me a message via my profile page (http://netbeans.dzone.com/users/mrhaki).Dec 18, 2008 · Hubert Klein Ikkink
Hi, did you remove the "old" Groovy 1.5.5 library from the Libraries section? If not NetBeans loads the old library first so you cannot use the
Date.format
method. If you want I can take a look at your NetBeans project to see if I can find the problem. Just send me a message via my profile page (http://netbeans.dzone.com/users/mrhaki).Dec 18, 2008 · Hubert Klein Ikkink
Hi, did you remove the "old" Groovy 1.5.5 library from the Libraries section? If not NetBeans loads the old library first so you cannot use the
Date.format
method. If you want I can take a look at your NetBeans project to see if I can find the problem. Just send me a message via my profile page (http://netbeans.dzone.com/users/mrhaki).