GithubHelp home page GithubHelp logo

Comments (6)

zoharbabin avatar zoharbabin commented on May 20, 2024

@ratliff - Can you please provide more details about the process and what it entails?

Pushing the compiled client libraries to public library distributions is a longer term goal of the Continuous Integration Project.

You're help in implementing proper distribution for the Java client will be much appreciated.

Thanks

from server.

ratliff avatar ratliff commented on May 20, 2024

You can either run your own Maven repository or submit your compiled code to the Maven central repository. If you run your own repository you can complete control over the distribution of your code. If you submit to the central repository, there may be terms and conditions.

Here is some information on submitting to the central repository through Sonatype http://central.sonatype.org/pages/ossrh-guide.html#deployment

Here is some information on using GitHub as a Maven repository http://blog.kaltepoth.de/posts/2010/09/06/github-maven-repositories.html

Or you can host the repository on your own server.

Once your libraries are in repository, I simply configure them in my pom.xml file. When anyone downloads and builds my code, Maven will automatically download the appropriate version of your Java library.

from server.

jessp01 avatar jessp01 commented on May 20, 2024

Hi @ratliff,

We've actually made some progress from an infra standpoint since this was last discussed.
We now have this script which compiles the clientlibs and then runs the unittests:
https://github.com/kaltura/server/blob/Jupiter-10.8.0/generator/sources/java/testAPI/test.sh
And also a build file for ant:
https://github.com/kaltura/server/blob/Jupiter-10.8.0/generator/sources/java/build.xml

There is an automation generating clientlibs daily and pushing it onto the KalturaGeneratedAPIClients.* repos and a Travis hook on these repos to build and run the units [it calls testAPI/test.sh in the case of the Java client.

You can see the Travis runs here:
https://travis-ci.org/kaltura/KalturaGeneratedAPIClientsJava

We would be happy to use Maven for compiling and pushing it onto a Maven repo, hosted at the gh_pages of https://github.com/kaltura/KalturaGeneratedAPIClientsJava, similarly to what is described here:
http://blog.kaltepoth.de/posts/2010/09/06/github-maven-repositories.html

Would you be interested in creating a pom.xml to support this and making a pull request?
Thanks,

from server.

ratliff avatar ratliff commented on May 20, 2024

Sure, I can have a go at it. May take me a few days.

From: Jess Portnoy <[email protected]mailto:[email protected]>
Reply-To: kaltura/server <[email protected]mailto:[email protected]>
Date: Tuesday, March 31, 2015 at 10:20 AM
To: kaltura/server <[email protected]mailto:[email protected]>
Cc: Mark Ratliff <[email protected]mailto:[email protected]>
Subject: Re: [server] Placing the Java API in a Maven repository (#1068)

Hi @ratliffhttps://github.com/ratliff,

We've actually made some progress from an infra standpoint since this was last discussed.
We now have this script which compiles the clientlibs and then runs the unittests:
https://github.com/kaltura/server/blob/Jupiter-10.8.0/generator/sources/java/testAPI/test.sh
And also a build file for ant:
https://github.com/kaltura/server/blob/Jupiter-10.8.0/generator/sources/java/build.xml

There is an automation generating clientlibs daily and pushing it onto the KalturaGeneratedAPIClients.* repos and a Travis hook on these repos to build and run the units [it calls testAPI/test.sh in the case of the Java client.

You can see the Travis runs here:
https://travis-ci.org/kaltura/KalturaGeneratedAPIClientsJava

We would be happy to use Maven for compiling and pushing it onto a Maven repo, hosted at the gh_pages of https://github.com/kaltura/KalturaGeneratedAPIClientsJava, similarly to what is described here:
http://blog.kaltepoth.de/posts/2010/09/06/github-maven-repositories.html

Would you be interested in creating a pom.xml to support this and making a pull request?
Thanks,


Reply to this email directly or view it on GitHubhttps://github.com//issues/1068#issuecomment-88105757.

from server.

ratliff avatar ratliff commented on May 20, 2024

Neither your bash script nor your build.xml file will work for me. And some of the problems are fairly obvious (incorrect pathnames, etc).

Which branch of your repository should I be looking at? Jupiter-10.8.0 ???

Can we have a Skype call tomorrow morning to discuss?

From: Jess Portnoy <[email protected]mailto:[email protected]>
Reply-To: kaltura/server <[email protected]mailto:[email protected]>
Date: Tuesday, March 31, 2015 at 10:20 AM
To: kaltura/server <[email protected]mailto:[email protected]>
Cc: Mark Ratliff <[email protected]mailto:[email protected]>
Subject: Re: [server] Placing the Java API in a Maven repository (#1068)

Hi @ratliffhttps://github.com/ratliff,

We've actually made some progress from an infra standpoint since this was last discussed.
We now have this script which compiles the clientlibs and then runs the unittests:
https://github.com/kaltura/server/blob/Jupiter-10.8.0/generator/sources/java/testAPI/test.sh
And also a build file for ant:
https://github.com/kaltura/server/blob/Jupiter-10.8.0/generator/sources/java/build.xml

There is an automation generating clientlibs daily and pushing it onto the KalturaGeneratedAPIClients.* repos and a Travis hook on these repos to build and run the units [it calls testAPI/test.sh in the case of the Java client.

You can see the Travis runs here:
https://travis-ci.org/kaltura/KalturaGeneratedAPIClientsJava

We would be happy to use Maven for compiling and pushing it onto a Maven repo, hosted at the gh_pages of https://github.com/kaltura/KalturaGeneratedAPIClientsJava, similarly to what is described here:
http://blog.kaltepoth.de/posts/2010/09/06/github-maven-repositories.html

Would you be interested in creating a pom.xml to support this and making a pull request?
Thanks,


Reply to this email directly or view it on GitHubhttps://github.com//issues/1068#issuecomment-88105757.

from server.

jessp01 avatar jessp01 commented on May 20, 2024

Closing as this discussion resulted in this pull request:
#2397

Mark, thank you, I am testing the code generation from your clone now.

from server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.