rmuir opened a new issue, #15394:
URL: https://github.com/apache/lucene/issues/15394

   ### Description
   
   Currently you can't run `gradlew eclipse` twice, on the second invocation:
   
   ```
   lucene[main]$ ./gradlew eclipse
   Starting a Gradle Daemon (subsequent builds will be faster)
   > Task :eclipseClasspath FAILED
   
   FAILURE: Build failed with an exception.
   
   * What went wrong:
   Execution failed for task ':eclipseClasspath'.
   > Cannot parse file '/home/rmuir/workspace/lucene/.classpath'.
            Perhaps this file was tinkered with? In that case try delete this 
file and then retry.
   
   * Try:
   > Run with --stacktrace option to get the stack trace.
   > Run with --info or --debug option to get more log output.
   > Run with --scan to generate a Build Scan (Powered by Develocity).
   > Get more help at https://help.gradle.org.
   
   BUILD FAILED in 22s
   5 actionable tasks: 5 executed
   ```
   
   It only seems to "protect" `.classpath` and not `.settings` or the other 
output files, I think?
   
   It is a minor annoyance to a human, but unfriendly to automation.
   
   As a workaround you can do `rm -f .classpath && ./gradlew eclipse` for now. 
Have not dug into it, but the word `tinkered` does not exist in our codebase, 
so the problem is coming from somewhere else :)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to