Where are the eclipse-collections source jars? - eclipse-collections

I couldn't find these artifacts:
eclipse-collections-api-7.1.0-sources.jar
eclipse-collections-7.1.0-sources.jar
I ended up creating them myself, but that was a pain since the build is broken on OSX & Windows.

You should be able to download the sources for Eclipse Collections 7.1.0 from Maven Central here.

Related

Error when importing Grinder to Eclipse: No marketplace entries found to handle clojure-maven-plugin

I want to import the Grinder(java load testing tool)into eclipse as a new project.
These are my environment:
Win7 64bit
JDK 1.6 32bit
eclipse-java-luna-SR2-win32
These are my steps:
Eclipse--import from git uri ,I used the git link that provided by official
Eclipse--File--Import--Maven--Existing Maven Projects,I use the directory which contain the source files that just downloaded by git
Then Eclipse started to build and handle the dependency,when the process is over,Eclipse gave the error info:
” No marketplace entries found to handle clojure-maven-plugin:1.3.15”
I don’t modify the pom file ,and use the default maven plugin of Eclipse:m2e.I don’t install the maven and other library.
I try to delete “C:\Users\g.m2\repository”,and redo these steps ,however,it doesn't work.
Plz help me,thanks!
Not sure what is the purpose. Are you planning to develop/enhance the grinder tool. If yes, then probably you should connect to its developers in the grinder site.
And if you are planning to use the tool and trying to configure eclipse for the scripting purpose, your should try Grinderstone. Note that it is outdated and works only with the specific version of software. Otherway, you can use pydev in the eclispe for scripting but you can't run there.
Hope it helps..

How to build JGit in Eclipse (dependency errors)

I'm trying to build the latest version of JGit. I checked out the latest version from the Git repository. According to the build instructions, I installed the dependencies via Orbit. I then ran mvn clean install which was able to compile everything and run all the tests. So this was great, there were no errors, and I can find the compiled .jar files.
I then opened Eclipse and imported the projects into a working set. For some reason, there are numerous errors in the build process.
Imports cannot be resolved:
import org.apache.commons.compress.archivers.ArchiveOutputStream;
import org.apache.commons.compress.archivers.tar.TarArchiveEntry;
import org.apache.commons.compress.archivers.tar.TarArchiveOutputStream;
import org.apache.commons.compress.archivers.tar.TarConstants;
import org.apache.commons.compress.archivers.zip.ZipArchiveEntry;
import org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream;
And more cannot be resolved:
import org.eclipse.jetty.server.Request;
import org.eclipse.jetty.server.Response;
I tried installing Jetty via Eclipse (Install New Software). However, that did not resolved the issue.
Am I just not supposed to build JGit in Eclipse? All builds and testing should be done with Maven? I'm also confused as to why Jetty and Apache are being imported in some of these subprojects for JGit and they're not listed as dependencies of JGit on the wiki.
Thanks in advance.
The easiest way to install the dependencies is to use one of the target platforms, as described in Use a Target Platform. It includes all dependencies.
As for installing from the Orbit P2 repository, the listing there was incomplete. You also need to install "Apache Commons Compress", see updated instructions:
http://wiki.eclipse.org/EGit/Contributor_Guide#Option_2:_Install_from_Orbit_P2_Repository
Jetty can not be installed from Orbit, see here for instructions:
http://wiki.eclipse.org/EGit/Contributor_Guide#JGit_HTTP_Tests
Or again, use the target platform where Jetty is also included.
The Jetty and Compress libraries are used by part of the JGit infra, but the EGit support in Eclipse doesn't need everything that JGit has.
For example, JGit also provides a collection of command-line programs (jgit init, jgit add etc.) which are not used in Eclipse. So you need to build the 'pgm' module from MAven, but that in itself isn't used by EGit which is the UI in Eclipse. Similarly, the JGit HTTP server is useful but not required for EGit operation.
I believe the archivers are used to extract out tools via the pgm module for 'jgit archive', which extracts out the contents of a branch and generates a Zip or TGZ file on the fly.
If you don't want (or need) the pgm module (and i'd suggest possibly also avoiding the iplog as well) then you can uncomment those from the list of modules in the pom.xml file. Removing the http.server (and http.test) along with the pgm modules will probably allow you to compile without needing the Jetty and Apache compress modules.

How to install Axis2 plug-in to Eclipse (for Android dev)?

I got my Eclipse (Indigo Service Release 1, Build id: 20110916-0149) installed and running for Android development. Now, I want to consume a WCF WebService (wsdl) in my Android app. As I learnt, this can easily be done using Axis2 plug-in for Eclipse. However, I had hard-time to install the Axis2 plug-in.
I understand there are similar questions already asked, but I couldn't make it work using all the suggestions, and there is no accepted answer either. That's why I created this new questions. It would be nice if somebody can tell which version is working one? or how to make the latest (1.6.1) work?
I do not understand the plug-in installation processs in Eclipse. I see p2 folder in my local drive under Eclipse, so I assume I could just extract the download to dropins folder, right?
#Andreas Veithen
Thanks for your answer buddy. The 1.6.1 version was driving me nuts. I tested it both in a Mac and a Windows machine and the result was the same. It just would not work. I took your advice and got the 1.6.2-SNAPSHOT version and it shows up just fine now.
#miliu
No matter which version you are looking for, you need to get the Axis2 eclipse codegen plugin.
Here is the link to the page where you can find the 1.6.2-SNAPSHOT version:
https://builds.apache.org/job/axis2-1.6/lastStableBuild/org.apache.axis2$axis2.eclipse.codegen.plugin/
Download the axis2.eclipse.codegen.plugin-1.6.2-SNAPSHOT.jar at https://builds.apache.org/job/axis2-1.6/lastStableBuild/org.apache.axis2$axis2.eclipse.codegen.plugin/artifact/org.apache.axis2/axis2.eclipse.codegen.plugin/1.6.2-SNAPSHOT/axis2.eclipse.codegen.plugin-1.6.2-SNAPSHOT.jar and drop it in your dropins folder. The latest version of Eclipse should already have a dropins folder after you extract the downloaded archive. You should now see the Axis wizards in Eclipse after restarting.
The above answers were not easily understood so I'm adding this for anyone reading this in the future.
Taken from the Axis2 website:
Download the ZIP file for the plugin you want to install.
Extract the content of the plugins folder in the ZIP archive into the dropins folder (i.e. do not create a plugins folder under dropins).
Ps: Get the 1.6.2 version from this link
The 1.6.1 version has a bug and doesn't work. Use 1.6.0 or 1.6.2-SNAPSHOT (which can be downloaded from here) instead.
All recent versions of Eclipse use p2. You need to put the JAR files into the dropins folder.

Managing external jar dependencies

I'v written a selenium framework which needs to be extended to the team. I've checked in the code in SVN. How can I make sure that external jars are added to build path and folder that folder by other team members? Basically I want to manage these dependencies better. Somebody said, Maven can take care of these so I tried to install m2eclipse plugin for eclipse 3.2 without any success. Can Maven solve this problem and is there any better way of managing it?
Do the easy way: commit the jars into SVN. It will save everybody a lot of time.
If you are amenable to using Eclipse, Maven, and m2eclipse, I would suggest using SpringSource Tool Suite. It is an Eclipse based IDE with Maven and m2eclipse pre-bundled. This bundling makes getting those three tools to work together very easy.

Eclipse Automatically Download / Update JAR files

I just created a Web App project from a repository through Eclipse's SVN support. What I would be doing is have an ANT build going and then finally deploy through Tomcat.
I am using Eclipse IDE for Java EE developers on an Ubuntu system.
There are a number of jar files needed
to support my project - like Struts,
Hibernate, etc. etc.
Do I need to
manually download each of them
and put them in the lib folder?
OR
Does Eclipse have a solution to
automatically UPDATE these from the internet? Any plugins to automatically take care of this?
You should consider using Maven for your project. It's VERY well supported in Eclipse, and handles all dependencies (as well as other things, such as releases).
The problem is there's a bit of a learning curve, but if you intend your project to get to a considerable size, I'd say it's very important.
Maven has support for ant builds and most libraries are in the central Maven repository. You just say your project has a dependency on the external project and it will automatically download the dependencies.
http://maven.apache.org/