Working on 0.1.2-SNAPSHOT I have done a conversion from using Maven to Gradle and added all the recipes to be able to publish artefacts to Bintray and snapshots to OSS.JFrog.
However all tests are currently failing with 'initializationError'. Does the snapshot actually build?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have to confess that I am not a Maven guru. I set up the project as a Maven project through the help of an Eclipse plugin. I am not very sure whether the Maven build works or not, but it compiles under Eclipse. I exported the binary jar using Eclipse. So, I assume that it works, but evidently there might be some problems.
I just updated the versioning from 0.1.2-SNAPSHOT to 0.3.5-SNAPSHOT. I am not sure about other things I need to do. It would be great if you could help me. You can check out the code in Eclipse via Sourceforge's GIT repository (with Git and Maven plugins installed) and perhaps troubleshoot what is going on.
Or, instead, is there any simple way to simply submit the jar file?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Not a problem. I forked the repo and will send you a Merge Request when I am done.
In order for A JAR to be pubilished the associated Source JAR is required as well as the correct POM files. Maven publising also requires a group and a module. For the latetr 'jdistlib' can be used, but for the group something like 'org.apache' is quite common. A lot of my stuff go under 'org.ysb33r.groovy' for instance. So a group name will be needed. If you have a domain name that you own, we can just use that in reverse.
You will also need to have an account on Bintray. I have created a organisation on Bintray called jdistlib and once you have your account I can just add you to that organisation.
A couple of other things I have noticed. [1] The current license is GPLv2. You might want to consider releasing it under LGPLv2 instead. [2] THe tests are not how one would write JUnit normally. I have corrected that.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Nothing really complicated about the group name - I can sort something out. You have done the hard coding work already, I can just help by putting some useful buildsystem bits around it. :)
I have send you the merge request. You might want to clone my repo first into a separate directory and then play with it, before you go ahead and merge it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks, Schalk. I've made an account on Bintray: https://bintray.com/robbyjo
I have merged your changes. For some reason I cannot see your name in the Git history (sorry). Let me know if I botched something in the process.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You can simply use JDistlib jar file, put it into the lib directory. Right click your project in Eclipse -> Properties -> Java Build Path -> Libraries -> Add JARs... Then navigate to the JAR file and you are done.
In terms of tutorial, I already included "Basic tutorial of JDistlib" in the front page. Feel free to check it out.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If would be great if the JARs can be published on Bintray/JCenter. Would make use with other build tools like Maven & Gradle a lot easier.
Could you please help me? Thanks.
I personally may not have time to maintain it.
Happy to.
Working on 0.1.2-SNAPSHOT I have done a conversion from using Maven to Gradle and added all the recipes to be able to publish artefacts to Bintray and snapshots to OSS.JFrog.
However all tests are currently failing with 'initializationError'. Does the snapshot actually build?
Thanks a lot!
I have to confess that I am not a Maven guru. I set up the project as a Maven project through the help of an Eclipse plugin. I am not very sure whether the Maven build works or not, but it compiles under Eclipse. I exported the binary jar using Eclipse. So, I assume that it works, but evidently there might be some problems.
I just updated the versioning from 0.1.2-SNAPSHOT to 0.3.5-SNAPSHOT. I am not sure about other things I need to do. It would be great if you could help me. You can check out the code in Eclipse via Sourceforge's GIT repository (with Git and Maven plugins installed) and perhaps troubleshoot what is going on.
Or, instead, is there any simple way to simply submit the jar file?
Not a problem. I forked the repo and will send you a Merge Request when I am done.
In order for A JAR to be pubilished the associated Source JAR is required as well as the correct POM files. Maven publising also requires a group and a module. For the latetr 'jdistlib' can be used, but for the group something like 'org.apache' is quite common. A lot of my stuff go under 'org.ysb33r.groovy' for instance. So a group name will be needed. If you have a domain name that you own, we can just use that in reverse.
You will also need to have an account on Bintray. I have created a organisation on Bintray called jdistlib and once you have your account I can just add you to that organisation.
A couple of other things I have noticed.
[1] The current license is GPLv2. You might want to consider releasing it under LGPLv2 instead.
[2] THe tests are not how one would write JUnit normally. I have corrected that.
Sounds complicated.
About the license: This is not something I could change. R is licensed GPLv2.
IANAL. We'll leave the license discussion.
Nothing really complicated about the group name - I can sort something out. You have done the hard coding work already, I can just help by putting some useful buildsystem bits around it. :)
I have send you the merge request. You might want to clone my repo first into a separate directory and then play with it, before you go ahead and merge it.
Thanks, Schalk. I've made an account on Bintray: https://bintray.com/robbyjo
I have merged your changes. For some reason I cannot see your name in the Git history (sorry). Let me know if I botched something in the process.
Hello all,
I just came to know about JDistlib... could anyone please help in finding a minimal example on how to use JDistlib, preferably in Eclipse?
You can simply use JDistlib jar file, put it into the lib directory. Right click your project in Eclipse -> Properties -> Java Build Path -> Libraries -> Add JARs... Then navigate to the JAR file and you are done.
In terms of tutorial, I already included "Basic tutorial of JDistlib" in the front page. Feel free to check it out.