Skip to content

Migrate package namespace from de.kherud to net.ladenthin#101

Merged
bernardladenthin merged 2 commits intomasterfrom
claude/migrate-domain-artifact-SFC1J
May 6, 2026
Merged

Migrate package namespace from de.kherud to net.ladenthin#101
bernardladenthin merged 2 commits intomasterfrom
claude/migrate-domain-artifact-SFC1J

Conversation

@bernardladenthin
Copy link
Copy Markdown
Owner

Summary

This PR migrates the entire project's Java package namespace from de.kherud.llama to net.ladenthin.llama, along with corresponding updates to the Maven coordinates and all native JNI bindings.

Key Changes

  • Package namespace migration: All Java source files moved from de.kherud.llama.* to net.ladenthin.llama.*
  • Maven coordinates updated:
    • groupId: de.kherudnet.ladenthin
    • artifactId: llamajava-llama.cpp
    • Version bumped to 4.2.0
  • JNI header and implementation updates: All native method signatures in jllama.h and jllama.cpp updated to use new package namespace
  • Native class lookups: Updated all FindClass() calls in JNI initialization to reference new package paths
  • Resource paths: Updated build artifact paths in CMakeLists.txt and GitHub Actions workflows to use new namespace structure
  • Developer metadata: Updated pom.xml with new maintainer information (Bernard Ladenthin) and repository URLs
  • New utility class: Added LlamaSystemProperties to centralize system property resolution under the new net.ladenthin.llama prefix
  • Documentation updates: Updated README.md and CLAUDE.md with new package references and system property names

Implementation Details

  • All 100+ Java files updated with new package declarations and import statements
  • JNI function names regenerated to match new package structure (e.g., Java_de_kherud_llama_LlamaModel_*Java_net_ladenthin_llama_LlamaModel_*)
  • System property prefix changed from de.kherud.llama.* to net.ladenthin.llama.* throughout the codebase
  • Build configuration and CI/CD workflows updated to reflect new resource directory structure

https://claude.ai/code/session_01F7sCo1ftokzKfe8PAUWZnT

…va-llama.cpp

- Move all Java packages from de.kherud.llama → net.ladenthin.llama (main + test),
  including the new ReasoningFormat enum added since the previous migration attempt
- Add LlamaSystemProperties: single-prefix property resolver under net.ladenthin.llama
- Wire LlamaSystemProperties into LlamaLoader (lib.path, tmpdir) and
  OSInfo (osinfo.architecture)
- Update JNI class names in jllama.cpp/jllama.h to net/ladenthin/llama/
- Rename JNI function prefixes: Java_de_kherud_llama_ → Java_net_ladenthin_llama_
- pom.xml: groupId → net.ladenthin, artifactId → java-llama.cpp, URLs/SCM/developer
- README.md: Maven coords, resource path, Android proguard, property docs
- CMakeLists.txt: OSInfo class path, resource install dirs
- release.yaml: artifact paths, -D test.ngl property
- CLAUDE.md: source/resource paths

https://claude.ai/code/session_01F7sCo1ftokzKfe8PAUWZnT
@bernardladenthin bernardladenthin force-pushed the claude/migrate-domain-artifact-SFC1J branch from 947e4e6 to 264364f Compare May 5, 2026 19:55
@bernardladenthin bernardladenthin merged commit fffa979 into master May 6, 2026
16 checks passed
@bernardladenthin bernardladenthin deleted the claude/migrate-domain-artifact-SFC1J branch May 6, 2026 07:33
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