Comments (6)
@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.
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.
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.
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.
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.
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)
- [Manual Live Stream] PHP Fatal error: Call to undefined method LiveStreamEntry::hasMediaServer()
- Base entry class should not be aware of the Reach Plugin
- OpenCalais engine - code issues HOT 3
- Missing constant HOT 1
- Ubuntu focal repository 404 Not Found
- Incorrect PHP open tag in galleryPartialSuccess.php HOT 1
- Duplicated error enum
- Error while using Thumbnail Api HOT 3
- deleteOldContent.php - deletes playlist configuration HOT 1
- Kaltura supports the redirect upload url? HOT 1
- KMC > Share & Embed wrong url HOT 1
- A bug with analytics? HOT 1
- Issue Create Itunes Syndication with all categories, the xml is broken
- XML Binding Issue HOT 1
- [KMC] Redirection Loop after upgrade HOT 2
- Security Contact Request HOT 2
- Child entries showing up in KMC Search HOT 2
- When I add users using API (user.add), the users are not showing up in KMS user management. But when I use user.get api I am able to find the user. Help! HOT 1
- Usage of "falvor" instead of "flavor" in 1 visible place and multiple other files in code HOT 2
- Video can't play after configuring the AWS Cloudfront HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from server.