Migrate package namespace from de.kherud to net.ladenthin#101
Open
bernardladenthin wants to merge 3 commits intomasterfrom
Open
Migrate package namespace from de.kherud to net.ladenthin#101bernardladenthin wants to merge 3 commits intomasterfrom
bernardladenthin wants to merge 3 commits intomasterfrom
Conversation
…va-llama.cpp - Move all Java packages from de.kherud.llama → net.ladenthin.llama (main + test) - Add LlamaSystemProperties: dual-prefix property resolver (net.ladenthin has priority, de.kherud.llama falls back for backward compatibility) - 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 - 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
No backward compatibility: the old prefix is not wired up (e.g. log level), so keeping it would be misleading. LlamaSystemProperties now resolves properties under the single net.ladenthin.llama prefix only. PREFIX_LEGACY constant and the two-step fallback lookup are removed; PREFIX_CURRENT renamed to PREFIX throughout. https://claude.ai/code/session_01F7sCo1ftokzKfe8PAUWZnT
Keep the artifact ID as 'llama' (same as the original upstream). Only the groupId changes to net.ladenthin. https://claude.ai/code/session_01F7sCo1ftokzKfe8PAUWZnT
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR migrates the entire project's Java package namespace from
de.kherud.llamatonet.ladenthin.llama, along with corresponding updates to the Maven coordinates and all native JNI bindings.Key Changes
de.kherud.llama.*tonet.ladenthin.llama.*groupId:de.kherud→net.ladenthinartifactId:llama→java-llama.cpp4.2.0jllama.handjllama.cppupdated to use new package namespaceFindClass()calls in JNI initialization to reference new package pathsLlamaSystemPropertiesto centralize system property resolution under the newnet.ladenthin.llamaprefixImplementation Details
Java_de_kherud_llama_LlamaModel_*→Java_net_ladenthin_llama_LlamaModel_*)de.kherud.llama.*tonet.ladenthin.llama.*throughout the codebasehttps://claude.ai/code/session_01F7sCo1ftokzKfe8PAUWZnT