This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/groovy-website.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 505cc55 netbeans blog post
505cc55 is described below
commit 505cc555ecc0c24c458a608dd1e157a22393ac71
Author: Paul King <[email protected]>
AuthorDate: Tue Feb 25 22:26:04 2025 +1000
netbeans blog post
---
site-dev/build.gradle | 2 +-
site/src/site/blog/netbeans.adoc | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/site-dev/build.gradle b/site-dev/build.gradle
index 6e5051b..e8b6138 100644
--- a/site-dev/build.gradle
+++ b/site-dev/build.gradle
@@ -168,7 +168,7 @@ tasks.register('commitWebsite') {
// Delete the previous content. These are asf-site branch paths.
gitout.remove(patterns: ['.'])
- fileTree(stagingDevSite).exclude('.git', '.asf.yaml', 'geb').visit {
delete it.file }
+ fileTree(stagingDevSite).exclude('.git', '.well-known', '.asf.yaml',
'geb').visit { delete it.file }
assert !file("${stagingDevSite}/index.html").exists()
// Copy the built content and add it.
diff --git a/site/src/site/blog/netbeans.adoc b/site/src/site/blog/netbeans.adoc
index 2d56e25..ffaea8d 100644
--- a/site/src/site/blog/netbeans.adoc
+++ b/site/src/site/blog/netbeans.adoc
@@ -117,7 +117,7 @@ Let's put a breakpoint on the statement in the `plus`
method of the
image:img/nb_debug.png[NetBeans IDE showing script debugging]
Execution has halted. We can inspect the `self` and `other` variables and
-set up add watch expressions like `other.doubleValue()`.
+add watch expressions like `other.doubleValue()`.
The default Groovy version generated by the Gradle init invocation earlier
was the latest Groovy 3 version.
@@ -132,6 +132,6 @@ calls, removing the need for subsequent metaprogramming.
image:img/nb_groovy5.png[using Groovy 5]
So, the `+` in the assert statement at line 6 is converted into
-an `add` method call instead of Groovy's normal `plus` method call.
+an `add` method call instead of Groovy's normal `plus` operator overloading
method call.
You can read more about this new feature in the
https://groovy-lang.org/releasenotes/groovy-5.0.html[Groovy 5 release notes].