How could I get Xuggler jars for Windows XP? - java

I could not find the jar file for Xuggler. How can I get them?

See Downloading & Installing. It describes how to get dependencies using Maven or Ivy. But you can also download these directly, the link is mentioned under Using Xuggler WITHOUT Apache Maven or Apache Ivy section. There is also a table below that section, which can help you pick the files you need for your particular architecture.

Related

Where netbeans saves attached sources (JavaDoc, Sources)

When i read a class from any library attached to my project i can download sources like: (javadoc and sources), so in which folder netbeans saves this resources?
You need to distinguish between two situations:
Native, Ant based projects
In that case, you provide the location of the sources and JavaDocs manually. It's your responsibility to download and store them somewhere on your hard disk. NetBeans does not download anything, you just tell NetBeans where to find them.
Maven based projects
The sources and JavaDocs are downloaded by Maven and stored in the local Maven repository. On Linux this is ~/.m2 (I think) and on Windows the default location is %homepath%\.m2
You can also use manually downloaded sources and JavaDocs in a Maven based project. This can e.g. be done from within the project Window:
In that case it's again your responsibility to download and store the files somewhere.

Where could one find the source attachments for Glassfish?

In my current project we use Glassfish, so we have org.glassfish.extras.glassfish-embedded-all-3.1.1.jar as a Maven dependency. This is all right so far, until I try to fetch the sources or the Javadoc for anything inside it using Eclipse.
As for the official Glassfish pages, both the Maven repo and the Java download page holds only empty jars (2KB) as source attachments.
I have managed to find the SVN repo for the project, but I can't help wondering why wouldn't there be valid and usable source jars in the official locations? What would be the canonical solution for this problem?
For study GlassFish purpose, let's read this tutorial:
Import from GlassFish project SVN to your prefer IDE:
https://svn.java.net/svn/glassfish~svn/
https://blogs.oracle.com/geertjan/entry/how_to_set_up_glassfish1
and result:
(Image credit: blogs.oracle.com )

Adding javadoc to a library included as .jar in NetBeans

I'm using Twitter4j for a Twitter Java client Java FX App. I downloaded the sources and included the .jar to NetBeans after going to: Projects->Libraries->Add Jar/Folder.
I'd like to include the JavaDoc for library but at site they only offer an html.
I've tried:
downloading the html and adding the folder as JavaDoc for that jar,
downloading and compressing to index.html and the downloaded folder to .jar
adding the URL
But got any good results. .
How can I achieve this?
On Maven Central, you can have the javadoc jar.
When listing the available files for version 2.1.4 there is a:
twitter4j-core-2.1.4-javadoc.jar
Netbeans should be able to download maven dependencies, including javadoc; at least, IDEA does.

How do I deploy just the sources jar from a maven project?

We made a number of releases to our nexus repository without source jars attached. I would like to backfill the source jars for these releases.
What I tried to do was
checkout the tagged version that I wanted to upload sources for
update the pom with the attach-sources snippet
do a maven deploy
This failed with a 400 error code because the pom and artifact jar were already in the repository.
Is there any way to upload just the source jar?
you should be able to do this using maven deploy-file (this has the added benefit of generating the various file sums as well), details here (you would be using, among other things, "packaging=jar" and "classifier=source").
I think the simplest thing would be to just upload sources jar using 'curl'. You will not even need to make any changes for that.

adding user defined libraries to SVN

I am developing a project for which I have used a number of external libraries (in jar format). I have added all of the external jars I have downloaded and added to the build path to our version control (subversion) as well.
However it has recently come to my attention that a number of the libraries are not in the SVN tree. I have looked into it a bit, and these are the libraries that I have created as user defined libraries and added to the build path in that way, following the instructions on the respective web pages. When I right click on them in Eclipse, I don't see the options to add them to the version control. So I decided to export them to the lib folder I have on the SVN tree. I am not sure if it's the right way of solving this problem, would appreciate som help on the matter.
I am not sure if it's of any help but the packages in question are: Commons Math, JFreeChart and JCommons.
Have you considered using something like Maven or Ivy for your external dependencies?

Categories