DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
View Events Video Library
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

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.

Kubernetes in the Enterprise: The latest expert insights on scaling, serverless, Kubernetes-powered AI, cluster security, FinOps, and more.

A Guide to Continuous Integration and Deployment: Learn the fundamentals and understand the use of CI/CD in your apps.

Avatar

Hubert Klein Ikkink [Deactivated] [Suspended]

Groovy/Java Developer at JDriven @mrhaki

Tilburg, NL

Joined Nov 2004

https://www.mrhaki.com/

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

Articles

article thumbnail
Gradle Goodness: Enabling Preview Features For Java
Check out how to enable and play with preview Java features in Gradle.
March 5, 2021
· 8,066 Views · 2 Likes
article thumbnail
Gradle Goodness: Replace Files In Archives
In this article, take a look at an example of a task to replace a README file in an archive sample.zip using Groovy and Kotlin DSL.
October 22, 2020
· 5,346 Views · 1 Like
article thumbnail
Groovy Goodness: Transform Elements While Flattening [Snippet]
Learn more about elements in this Groovy snippet.
January 14, 2020
· 7,117 Views · 3 Likes
article thumbnail
How to Transform Elements In a Stream Using a Collector
Learn more about how to transform elements in a Stream using Java Collectors.
September 13, 2019
· 24,032 Views · 3 Likes
article thumbnail
Java Joy: Combining Predicates
Learn the joy of combining Predicates in Java.
September 12, 2019
· 17,101 Views · 8 Likes
article thumbnail
Gradle Goodness: Use Bill of Materials (BOM) as Dependency Constraints
BOM dependency versions are actually dependency constraints in Gradle.
May 8, 2019
· 39,636 Views · 5 Likes
article thumbnail
Micronaut Mastery: Change the Default Package for Generated Classes
In this post, we go over the terminal commands and YAML you'll need to know. Read on to achieve mastery!
May 6, 2019
· 4,558 Views · 2 Likes
article thumbnail
Micronaut Mastery: Binding Request Parameters to POJO
We take a quick look at how Java developers can work with POJOs in their microservices via the Micronaut framework.
May 3, 2019
· 15,144 Views · 3 Likes
article thumbnail
Gradle Goodness: Manage Dependency Versions With Dependency Constraints
Improve dependency management in Gradle with constraints.
April 29, 2019
· 13,185 Views · 3 Likes
article thumbnail
Gradle Goodness: Only Show All Tasks in a Group [Snippet]
Only want to see those tasks belonging to a specific group in your Gradle project?
Updated February 5, 2019
· 17,355 Views · 1 Like
article thumbnail
Gradle Goodness: Generate Javadoc in HTML 5
With Java 9, we can now generate Javadocs in HTML 5! Let's take a look at how to do this using Gradle.
Updated November 15, 2018
· 12,169 Views · 1 Like
article thumbnail
Micronaut Mastery: Configuration Property Name Is Lowercase and Hyphen Separated
Micronaut is picky about referring to configuration properties — learn how to do it right.
Updated October 5, 2018
· 7,414 Views · 3 Likes
article thumbnail
Micronaut Mastery: Running Code on Startup
Learn the steps to run microservice code on startup with Micronaut.
October 4, 2018
· 13,674 Views · 3 Likes
article thumbnail
Micronaut Mastery: Consuming Server-Sent Events (SSE)
Let's take a look at how to consume SSEs from the server itself in microservices with Micronaut.
October 3, 2018
· 5,597 Views · 6 Likes
article thumbnail
Micronaut Mastery: Using Specific Configuration Properties for HTTP Client
Learn how to use Micronaut and Java to inject a low-level HTTP client in your microservices application.
September 4, 2018
· 12,494 Views · 7 Likes
article thumbnail
Micronaut Mastery: Using Stubs for Testing
Micronaut is a framework for easily writing microservices. Let's discover how to use it to write stubs for testing in this tutorial.
August 29, 2018
· 7,729 Views · 3 Likes
article thumbnail
Micronaut Mastery: Return Responses Based on the HTTP Accept Header
Take a look at how to get your Micronaut-based microservice to format its response based on a request's Accept header.
August 24, 2018
· 14,941 Views · 3 Likes
article thumbnail
Micronaut Mastery: Add Custom Health Indicators
Let's see how we can set up custom app health metrics for our microservices applications in Micronaut quickly and easily.
August 23, 2018
· 7,126 Views · 2 Likes
article thumbnail
Micronaut Mastery: Add Build Info to an Info Endpoint
Let's look at how to add build info to a Micronaut info endpoint to get information about what's currently deployed for monitoring purposes.
August 21, 2018
· 5,175 Views · 5 Likes
article thumbnail
Micronaut Mastery: Decode JSON Using Custom Constructor Without Jackson Annotations
Let's take a look at how to decode JSON in Micronaut without the need for Jackson annotations.
August 20, 2018
· 9,857 Views · 3 Likes
article thumbnail
Micronaut Mastery: Using Reactor Mono and Flux
Let's take a look at how to use Project Reactor as the implementation for the Reactive Streams API in Micronaut.
August 17, 2018
· 10,583 Views · 3 Likes
article thumbnail
Groovy Goodness: Creating an Extra Method Supporting Named Arguments
Groovy 2.5.0 introduces the @NamedVariant annotation to help with named arguments. Come find out exactly how to use it.
July 4, 2018
· 19,488 Views · 2 Likes
article thumbnail
Groovy Goodness: Truncate And Round BigDecimal Values
In Groovy 2.5.0, the round and truncate methods are added to the BigDecimal class. Here is how to use them!
June 21, 2018
· 10,664 Views · 2 Likes
article thumbnail
Groovy Goodness: Implement Interface and Abstract Methods Automatically
Let's take a look one of Groovy 2.5.0's numerous AST transformation annotations: @AutoImplement. Let's see its uses and how to implement it.
June 20, 2018
· 10,359 Views · 3 Likes
article thumbnail
Groovy Goodness: Removing the Last Item From Lists [Snippet]
Ready to get Groovy? This code snippet looks at Groovy 2.5.0 and its different List and pop methods. Enjoy!
June 18, 2018
· 10,795 Views · 2 Likes
article thumbnail
Groovy Goodness: Intersect Collections With Custom Comparator [Snippet]
Let's take a look at how to implement your own custom Comparator with the intersect method in Groovy.
June 15, 2018
· 7,776 Views · 5 Likes
article thumbnail
Groovy Goodness: Easy Object Creation With Tap Method
Want to learn more about object creation in Groovy? Here's how to create an object in Groovy with the tap method.
June 14, 2018
· 11,717 Views · 2 Likes
article thumbnail
Groovy Goodness: Use Range by Method to Set Steps between Numbers
Let's take a look at how to use Groovy's ''by'' method when it comes to number ranges and setting the step size used.
June 11, 2018
· 9,657 Views · 3 Likes
article thumbnail
Groovy Goodness: Using String Values in Ranges [Snippet]
Want to see how to use String values in your ranges? Here's a quick lesson to set up inclusive and exclusive ranges in Groovy.
June 8, 2018
· 8,196 Views · 1 Like
article thumbnail
Groovy Goodness: Download Grab Dependencies in IntelliJ IDEA
The @Grab annotation is a useful one in Groovy, but did you know that you can make it even more helpful from within IntelliJ? Read on for the details.
November 6, 2017
· 5,161 Views · 2 Likes

Comments

Gradle Goodness: Running a Single Test

May 07, 2019 · James Sugrue

This post is from 6 years ago and Gradle 1.6 was the latest at that time.

Spring Sweets: Dockerize Spring Boot Application With Jib

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".

Groovy Goodness: Easy Object Creation With Tap Method

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.

Gradle Goodness: Running Java Applications from External Dependency

Dec 05, 2017 · James Sugrue

You would type

$ gradle wsdl2java
Spring Sweets: Add (Extra) Build Information to Info Endpoint

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

Grails Goodness: Generating Raw Output with Raw Codec

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

Groovy Goodness: Creating a Root JSON Array

Mar 28, 2017 · Grzegorz Ziemoński

Hi Alexis, yes you're right. The assertion should be json2.

Grails Goodness: Creating A Fully Executable JAR

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:

uploadArchives.dependsOn(assemble)


Grails Goodness: Creating A Fully Executable JAR

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.

Groovy Goodness: Combining Annotations with AnnotationCollector

Feb 19, 2013 · James Sugrue

Errata: Code was written in Groovy 2.1 not in 1.2 ;-)

James Gosling on Open Sourcing Sun's Java Platform Implementations

Dec 19, 2008 · Lebon Bon Lebon

Hi, I was looking for a way to run Groovy 1.5.7 scripts in NetBeans. I hadn't tried the code completion yet, but you are right the code completion doesn't pick up the 1.5.7 methods. I haven't found a way to achieve this yet, but I keep looking.
James Gosling on Open Sourcing Sun's Java Platform Implementations

Dec 19, 2008 · Lebon Bon Lebon

Hi, I was looking for a way to run Groovy 1.5.7 scripts in NetBeans. I hadn't tried the code completion yet, but you are right the code completion doesn't pick up the 1.5.7 methods. I haven't found a way to achieve this yet, but I keep looking.
James Gosling on Open Sourcing Sun's Java Platform Implementations

Dec 19, 2008 · Lebon Bon Lebon

Hi, I was looking for a way to run Groovy 1.5.7 scripts in NetBeans. I hadn't tried the code completion yet, but you are right the code completion doesn't pick up the 1.5.7 methods. I haven't found a way to achieve this yet, but I keep looking.
Create a Groovy 1.5.7 Script in NetBeans IDE 6.5

Dec 19, 2008 · Hubert Klein Ikkink

Hi, I was looking for a way to run Groovy 1.5.7 scripts in NetBeans. I hadn't tried the code completion yet, but you are right the code completion doesn't pick up the 1.5.7 methods. I haven't found a way to achieve this yet, but I keep looking.
Create a Groovy 1.5.7 Script in NetBeans IDE 6.5

Dec 19, 2008 · Hubert Klein Ikkink

Hi, I was looking for a way to run Groovy 1.5.7 scripts in NetBeans. I hadn't tried the code completion yet, but you are right the code completion doesn't pick up the 1.5.7 methods. I haven't found a way to achieve this yet, but I keep looking.
Create a Groovy 1.5.7 Script in NetBeans IDE 6.5

Dec 19, 2008 · Hubert Klein Ikkink

Hi, I was looking for a way to run Groovy 1.5.7 scripts in NetBeans. I hadn't tried the code completion yet, but you are right the code completion doesn't pick up the 1.5.7 methods. I haven't found a way to achieve this yet, but I keep looking.
James Gosling on Open Sourcing Sun's Java Platform Implementations

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).

James Gosling on Open Sourcing Sun's Java Platform Implementations

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).

James Gosling on Open Sourcing Sun's Java Platform Implementations

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).

James Gosling on Open Sourcing Sun's Java Platform Implementations

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).

Create a Groovy 1.5.7 Script in NetBeans IDE 6.5

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).

Create a Groovy 1.5.7 Script in NetBeans IDE 6.5

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).

Create a Groovy 1.5.7 Script in NetBeans IDE 6.5

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).

Create a Groovy 1.5.7 Script in NetBeans IDE 6.5

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).

User has been successfully modified

Failed to modify user

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends: