You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "merlimat (via GitHub)" <gi...@apache.org> on 2026/03/26 18:10:50 UTC

[PR] [cleanup][build] Update bin/ scripts from Maven to Gradle for dev classpath [pulsar]

merlimat opened a new pull request, #25404:
URL: https://github.com/apache/pulsar/pull/25404

   ## Summary
   Replace `add_maven_deps_to_classpath()` with `add_gradle_deps_to_classpath()` in all bin/ scripts. The new function runs a Gradle `exportClasspath` task that writes the resolved classpath to a file, pointing directly to jars in the Gradle cache without copying.
   
   Updated scripts:
   - `bin/pulsar`
   - `bin/pulsar-admin-common.sh`
   - `bin/pulsar-perf`
   - `bin/bookkeeper`
   - `bin/function-localrunner`
   
   Also adds `exportClasspath` tasks to server and shell distribution modules, and updates `target/` paths to `build/libs/` for built jar lookups.
   
   This enables running `./gradlew assemble && bin/pulsar standalone` from a development build without needing the `lib/` directory.
   
   Follow-up to #25398 (PIP-463: Migrate build system from Maven to Gradle)
   
   ## Test plan
   - `./gradlew assemble && bin/pulsar standalone` starts successfully


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [cleanup][build] Update bin/ scripts from Maven to Gradle for dev classpath [pulsar]

Posted by "merlimat (via GitHub)" <gi...@apache.org>.
merlimat merged PR #25404:
URL: https://github.com/apache/pulsar/pull/25404


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [cleanup][build] Update bin/ scripts from Maven to Gradle for dev classpath [pulsar]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #25404:
URL: https://github.com/apache/pulsar/pull/25404#issuecomment-4137157911

   @merlimat Please add the following content to your PR description and select a checkbox:
   ```
   - [ ] `doc` <!-- Your PR contains doc changes -->
   - [ ] `doc-required` <!-- Your PR changes impact docs and you will update later -->
   - [ ] `doc-not-needed` <!-- Your PR changes do not impact docs -->
   - [ ] `doc-complete` <!-- Docs have been already added -->
   ```


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org