Skip to content

Fix allocate-definitive-ids by using ODK system robot wrapper - #2717

Merged
aleixpuigb merged 2 commits into
masterfrom
allocate_IDs_fix
Jun 22, 2026
Merged

aleixpuigb merged 2 commits into
masterfrom
allocate_IDs_fix

Conversation

@aleixpuigb

Copy link
Copy Markdown
Collaborator

The repo's bin/robot is a bare Java launcher with no plugin support. Using ROBOT=robot in the make call switches to the ODK container's system wrapper, which reads ROBOT_PLUGINS_DIRECTORY and loads the kgcl plugin required for kgcl:mint.

aleixpuigb and others added 2 commits June 16, 2026 15:00
The repo's bin/robot is a bare Java launcher with no plugin support.
Using ROBOT=robot in the make call switches to the ODK container's
system wrapper, which reads ROBOT_PLUGINS_DIRECTORY and loads the
kgcl plugin required for kgcl:mint.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
java -jar ignores -cp and -classpath, so ROBOT_PLUGINS_DIRECTORY has no
effect with either bin/robot or the ODK system wrapper. Switch to java
-cp with both robot.jar and the local kgcl.jar so the ServiceLoader
discovers the kgcl:mint command.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@aleixpuigb
aleixpuigb merged commit ab0e941 into master Jun 22, 2026
1 of 2 checks passed
@aleixpuigb
aleixpuigb deleted the allocate_IDs_fix branch June 22, 2026 09:46
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.

1 participant