Xuggler Repository Link Broken - java

In my JAVA application, i am using Xuggler for ScreenCapture and other functionality. Now its a maven project so i put Xuggler as dependency in Pom.xml as told in this Link.
Now few days ago i cleaned my system, so when i again imported my project, now it is showing "Missing artifact xuggle:xuggle-xuggler:jar:5.4". Though in pom file, repository link is there. I explored more and found out that http://xuggle.googlecode.com/svn/trunk/repo/share/java/xuggle/xuggle-xuggler/5.4/xuggle-xuggler-5.4.jar is showing 404 error(Not Found).
Now my whole JAVA Application requires Xuggler, so can anyone please share me current working link from where i can download "xuggle-xuggler-5.4.jar" or any other method(s) so that in future i don't face such problem again.
Thank You.

from http://www.xuggle.com/downloads
change the url:
<url>https://files.liferay.com/mirrors/xuggle.googlecode.com/svn/trunk/repo/share/java/</url>

It doesn't seem anyone is maintaining Xuggler any more: the last blog post says "Xuggler development is on hiatus. Probably permanently."
If you are good with Maven and suchlike you might be able to build Xuggler yourself. The source code is available from the Google Code archive.

Related

Export GitHub Repository Files to a Usable JAR executable file, issues

I am an enthusiast attempting to play around and add things to an app that I have been using for the past year which the source codes are available in GitHub. Problem is when I clone or download the repository and open it in Eclipse, I get a ton of error codes whenever I try to 'run as' Java app (in particular I am unable to find the 'main class/starting point' there's way too many files to chose from to find it and most don't work) and when I try to extract the files to an executable jar it gives me a JAR exe that is unusable :-(. I know that the files are workable since I do use the executable jar that is available from the developer and others have also toyed around with the source codes.
Can anyone assist me with this? Maybe I am using the wrong Java manipulator/application. The program I am using for opening these files is Eclipse IDE for Java Developers and my operating system is 64bit Windows 10.
Also, here is the GitHub URL for the repository, in case anyone asks: https://github.com/DraqueT/PolyGlot.
I thank anyone who can be of some assistance as I have been working on this forever and can't seem to find a solution.
The github project looks a lot like a utility library than a full application. But the following could help:
Try to study the README file attached to the github project. (There is one in the source code according to the author). This would help you to setup the project.
Make sure to download all the dependencies for that project. Again, the author has provided some of them in the github project (I could see some Apache POI libraries in there somewhere), but getting the required jars on the maven repository isn't that difficult.
It would also help to know what type of project it is. For example, having a main method in a web application doesn't do much for you, but a Java SE project would need a main method to run. So try to find out what kind of project it is.
If all else fails, you could try to contact the owner of the repository or one of its contributors to assist you.
Cheers!

Android Studio: Importing API with its doc

I'm relatively new to android but learning fast.
One thing that boggled me is, when adding an API, let's say the Youtube API to android studio, is how to also add its documentation to be available when clicking CTRL+Q.
I downloaded the compressed folder which contains a JAR for the API, and a folder for documentation which includes an "index.html" among others.
I copied the JAR to the libs and it worked correctly and I tested the sample apps.
But there is no documentation on any class/method/etc...
I tried to copy the "doc" folder itself to the libs folder, I tried to zip it and convert it to a JAR file in the libs then add it as a dependency, Synced with Gradle, Rebuild project, but no change.
What am I missing? What is the correct way to implement the documentation in Android Studio of downloaded APIs?
Thanks for the help. I've wasted too many hours searching online...
EDIT:
This is a screenshot of the project structure with the API added as a dependency to the "app" module.
The docs are not in that JAR file, but google provided them seperately as HTML, which i have compressed into a JAR file. (not sure if this step is useful)
This is how the doc jar looks like inside:
I'm expecting it to work when I CTRL+Q on any class from the youtube API, so far nothing worked.
For anyone who found this post, the solution is manual AND has to be done after each gradle sync, check this link
(except i disagree on the fact that it's only web-based javadoc, it worked local for me with html-based javadoc not jar, condition is to have it end with /reference/ as in c:/javadoc/docs/reference/ otherwise android studio won't find the javadoc)
It's not a perfect method, not all info will be shown but better than nothing.

Where to find google-api-services-youtube jar file

I am at my wit's end and this should not be so difficult. Youtube v2 APIs are deprecated rendering my application useless. So, based on this website (https://developers.google.com/youtube/v3/code_samples/java#search_by_keyword), I am trying to run the sample. I downloaded google v3 client libraries from this location (https://code.google.com/p/google-api-java-client/). Now in the code sample there are multiple imports for com.google.api.services.*. But this jar is not included in the client libraries and I have spent more than 2 hours to figure out where to get this jar. I am going around circular references not finding anything. Is there some obvious stuff that I am missing. I am not familiar with maven, so if it is straightforward maven stuff, please just point me to the google site where I can download latest jar.
Thanks in advance.
I found it at http://mirrors.ibiblio.org/maven2/com/google/apis/google-api-services-youtube/v3-rev136-1.20.0/.
Though it solved my problem for now, can someone explain me the rationale behind having jars in such hidden locations. I am not full time into jave for the past few years, so I am not sure if I missed anything.
Go to this maven central repository link.
You can either download the jar directly or get maven/gradle dependency.
You can get all the google libraries in the maven central repository's google group
Note: Always use a build system, it will make your job easy. You don't need to manually download the file, extract to the right folder blah,blah,blah... Just include the dependency in the maven/gradle file and it will take care of the rest

Appengine: Backend API Tutorial, cannot build project

I have completed the Java Tutorial for Google App Engine.
Now I wanted to do the Backend API Tutorial, but I get errors..
I installed Maven and I was able to generate the project from the command line with maven as described in "Creating an Endpoints Backend Project". I have problems with the next step: Configuring the Maven Project for Endpoints.
Under the point "Setting required plugin configuration" it says "2. Locate and replace the default appengine-maven-plugin configuration entirely with the following: ", before they were talking about the pom file from "helloendpoints/helloendpoints-war".
--> But in that pom.xml-file from "helloendpoints/helloendpoints-war", I cannot locate that configuration... I found that in the pom file of "helloendpoints/helloendpoints-ear".
Question 1: Is this (in ear-folder) the pom-file that i shall edit or should there be that configuration in the pom from the war folder?
However, replacing that code there or not both gives me an error when I invoke maven with "mvn install".
The error-message is the following: "Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.3:war on project helloendpoints-war: Execution default-war of goal org.apache.maven.plugins:maven-war-plugin:2.3:war failed: basedir C:\Users...\helloendpoints\helloendpoints-war\target\generated-sources\appengine-endpoints does not exist".
And I can see that in "...\helloendpoints-war\target", there is no "generated-sources"-folder!
And this is where I am stuck now.
Question 2: Can all this be done without Maven and is there any tutorial for that? Because that is another source of errors and I had to deal with enough errors now... I just want to get an understanding of how the appengine works, how I can use it for my android app and then start from a WORKING basic-project, but I already had to deal with lots of errors. This is pretty frustrating, because I just wanted to do what is told in the tutorial and I still did not write any own code yet...
Question 3: In the next part of the tutorial, are they using the m2e-plugin or anything? Because that was mentioned nowhere, but somehow you have to import that maven project into eclipse...
Yes you can do it without Maven.This and this are simple tutorials from Google that shows you how to add a backend to an Android project.
I would suggest to delete this topic, because I switched to the tutorial without Maven, which has not much to do with my original post. That tutorial works now, but I cannot explain what solved it. I think this whole topic is more confusion and also wasted time for anyone else, who is trying to find an answer here.

l2fprod common components mirrors?

I tried downloading from l2fprod main site but the java.net downloads folder is empty?
anyone know where else I can get it?
I am looking to for PropertyPane in swing for java.
Seems the latest version is not available for downloading, If you need that I think you have to get the source and build the jar. I found the binary for older version here,
http://olex.openlogic.com/package_versions/download/5693?package_version_id=1402&path=openlogic%2Fl2fprod-common%2F6.11-20061101%2Fl2fprod-common-6.11-20061101-all-bin.zip

Categories

Resources