Closed honzasterba closed 3 years ago
I like this approach!
An alternative approach would be to use the existing java sources and "generate" new sources with packages relocated.
This would allow us to publish also source code (jars) that is corresponding exactly to the artifacts.
ml.dmlc.xgboost4j.java -> ai.h2o.xgboost4j.java
Since we are doing a straightforward move a simple (recursive) sed would do the job.
sed
WDYT?
@mn-mikke I did some research and loading two libs with same symbols should not be an issue as long as they are under different classloaders
@honzasterba Perfect! Thanks for checking it.
I like this approach!
An alternative approach would be to use the existing java sources and "generate" new sources with packages relocated.
This would allow us to publish also source code (jars) that is corresponding exactly to the artifacts.
Since we are doing a straightforward move a simple (recursive)
sed
would do the job.WDYT?