Skip to content

Overwrite gradlew scripts with up-to-date ones and apply Lucene customizations#14592

Merged
dweiss merged 1 commit intoapache:mainfrom
dweiss:gradlew-scripts-update-8.14
Apr 30, 2025
Merged

Overwrite gradlew scripts with up-to-date ones and apply Lucene customizations#14592
dweiss merged 1 commit intoapache:mainfrom
dweiss:gradlew-scripts-update-8.14

Conversation

@dweiss
Copy link
Contributor

@dweiss dweiss commented Apr 30, 2025

No description provided.

@dweiss dweiss added this to the 10.3.0 milestone Apr 30, 2025
@dweiss dweiss merged commit d66d152 into apache:main Apr 30, 2025
7 checks passed
@dweiss dweiss deleted the gradlew-scripts-update-8.14 branch April 30, 2025 09:30
dweiss added a commit that referenced this pull request Apr 30, 2025
dweiss added a commit that referenced this pull request Apr 30, 2025
"$JAVACMD" $JAVA_OPTS "$APP_HOME/build-tools/build-infra/src/main/java/org/apache/lucene/gradle/WrapperDownloader.java" "$GRADLE_WRAPPER_JAR"
WRAPPER_STATUS=$?
if [ "$WRAPPER_STATUS" -eq 1 ]; then
echo "ERROR: Something went wrong. Make sure you're using Java version of exactly 23."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like a typo.

@uschindler
Copy link
Contributor

Hi,
I had a strange error when executing gradlew.bat the first time (sorry for German message):

C:\Users\Uwe Schindler\Projects\lucene\lucene>gradlew clean
kein Hauptmanifestattribut, in C:\Users\Uwe Schindler\Projects\lucene\lucene\gradle\wrapper\gradle-wrapper.jar

After that I deleted the wrapper JAR file and after it redownloaded it, all was working fine. How can that be? There is a checksum for the wrapper file which should have changed!

@uschindler
Copy link
Contributor

uschindler commented Apr 30, 2025

The error message means that it did not find a "main class" (German "Hauptklasse") in the manifest attributes. This is really confusing to me. Maybe I had an older wrapper JAR in my checkout?

@uschindler
Copy link
Contributor

Jenkins is happy, but this one git resets checkout befor eeach run.

weizijun added a commit to weizijun/lucene that referenced this pull request Apr 30, 2025
* main: (51 commits)
  Fix ECJ compiler config for Java 24 (also affects Eclipse IDE)
  Correct shebang in gradlew. apache#14592
  Overwrite gradlew scripts with up-to-date ones and apply Lucene customizations. (apache#14592)
  Remove abstractions of MMapDirectory and its "fake" MR-JAR support and move it to main sourceSet (vectors untouched) (apache#14564)
  deps(java): bump org.gradle.toolchains.foojay-resolver-convention (apache#14573)
  deps(java): bump com.gradle.develocity from 3.18.2 to 4.0.1 (apache#14585)
  deps(java): bump nl.littlerobots.version-catalog-update (apache#14568)
  Bump expected base Java version to 24. apache#14533
  Create file open hints on IOContext to replace ReadAdvice (apache#14482)
  deps(java): bump com.github.ben-manes.versions from 0.51.0 to 0.52.0 (apache#14574)
  deps(java): bump org.owasp.dependencycheck from 7.2.0 to 12.1.1 (apache#14584)
  deps(java): bump org.eclipse.jgit:org.eclipse.jgit (apache#14579)
  deps(java): bump com.diffplug.spotless from 6.9.1 to 7.0.3 (apache#14588)
  deps(java): bump com.gradle.common-custom-user-data-gradle-plugin (apache#14587)
  deps(java): bump net.ltgt.errorprone from 4.1.0 to 4.2.0 (apache#14567)
  deps(java): bump org.locationtech.jts:jts-core from 1.17.0 to 1.20.0 (apache#14586)
  deps(java): bump org.apache.opennlp:opennlp-tools from 2.5.3 to 2.5.4 (apache#14580)
  deps(java): bump asm from 9.6 to 9.8 (apache#14578)
  deps(java): bump commons-codec:commons-codec from 1.17.2 to 1.18.0 (apache#14581)
  deps(java): bump net.java.dev.javacc:javacc from 7.0.12 to 7.0.13 (apache#14576)
  ...

# Conflicts:
#	lucene/CHANGES.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants