how to use subclipse with eclipse - eclipse

I want to download the android-pdf project using subclipse with Eclipse. I have installed subclipse on Eclipse and restarted Eclipse. I have tried going to File>Import but although there is a CVS option I cannot see a SVN option. The project is on Google Project Hosting, I have clicked on 'import Google Hosted Project' from the Eclipse taskbar - that displays the 'Select Google Hosted Project' but no projects are displayed. I hope someone will be able to help me download this project.

This question was posted long time back but I am replying for someone coming to this link. One can check this link also. Here is the complete step by step process of installing and connecting to google code:
Go to Eclipse Help menu and click on "Install New Software"
Install Subclipse:
Add the following site for subclipse
http://subclipse.tigris.org/update_1.10.x/
Select both "Subclipse" and "SVNKit" from the names which appear after adding the subclipse link
Click Next, accept conditions and let eclipse download and install subclipse
Now restart Eclipse after the installation
Subclipse will be ready to use now
Go to "preferences" under the windows menu
Go to "Team" in the left menu and then select "SVN" sub-menu
In the "General SVN Setting" select Team and "SVN" sub-menu
Select SVNKit (Pure Java)--- in the "SVN interface" drop-down menu
Next step is to connect subclipse with google code
First we have to create a project. Instructions for creating a project can be found on
Creating Project on Google Code
Once a project has been created on the Google Code, Subclipse has to be connected to the project.
Go to Eclipse, Click on "Windows" menu, "Show View" and select "Other"
Select "SVN' and "SVN Repositories" and click OK.
Right Click in the "SVN Repositories" tab and choose "New" - "Repository Location"
"Add SVN Repository" window opens.
For the Location URL, give your URL which should be like https://your_url.googlecode.com/svn/trunk
In my case the URL is "https://agent-desktop.googlecode.com/svn/trunk" for the project which was created in Creating Project on Google Code post. Click Finish after providing the URL
After Finishing you will be asked for the username and the password
this password can be found on project home page under the SVN tab. Search for the link googlecode.com password
Under the Source -> Checkout, Click the link (googlecode.com password) and save the generated password.
Now the Subclipse is connected to the Google code

If you do not see a "SVN" group in the File > Import dialog then that implies Subclipse is not installed. If it were installed, there would be nothing preventing that grouping from being displayed.
I would normally recommend opening the SVN Repository perspective and adding the repository. But I would guess you do not see that either.

Related

how to explain eclipse that project on version control

I have installed svn plugin for eclipse
I click right mouse button on project locacted in folder on version control and see next:
How configure eclipse right?
if click to share project-> svn I see that on picture above:
press "Share Project" in that menu :) The rest is pretty self explaining, just ask if you face another problem

getting error while connecting with repo [duplicate]

from my computer (Mac OS X Leopard) through shell I can check out without problem a remote SVN repo. I already established ssh keys and all that stuff. Now I installed eclipse helios on mac and the subversive pluging. I find no way yo make it work with the svn+ssh repo, could you point me to some good tutorial? MY google caan not find anything useful today
PS: This is the error I get:
SVN: '0x00400006: Validate Repository Location' operation finished with error: Selected SVN connector library is not available or cannot be loaded.
If you selected native JavaHL connector, please check if binaries are available or install and select pure Java Subversion connector from the plug-in connectors update site.
If connectors already installed then you can change the selected one at: Window->Preferences->Team->SVN->SVN Connector.
Selected SVN connector library is not available or cannot be loaded.
If you selected native JavaHL connector, please check if binaries are available or install and select pure Java Subversion connector from the plug-in connectors update site.
If connectors already installed then you can change the selected one at: Window->Preferences->Team->SVN->SVN Connector.
PS2: It seems there is a problem with the already JAVA connector, how oculd I install a new one like the SVN kit one?
Go to Help > Install New Software...
Paste in the URL
for juno: http://community.polarion.com/projects/subversive/download/eclipse/3.0/juno-site/
for kepler: http://community.polarion.com/projects/subversive/download/eclipse/3.0/kepler-site/
Select the connector you wish to install (I usually go with SVNKit). You need to select both the wanted connector and the generic "Subversive SVN Connectors" item.
Click Finish
You should be able to use your repository now, but if not :
Go to Window > Preferences
Browse to the Team > SVN item
In the SVN Connector tab, make sure that SVNKit is selected as the active one.
For eclipse juno you have to replace word "updated" to "juno" in the plugin link.
So working link for eclipse juno is:
http://community.polarion.com/projects/subversive/download/eclipse/3.0/juno-site/
for eclipse kepler you can use this
http://community.polarion.com/projects/subversive/download/eclipse/3.0/kepler-site/
I have solved the issue in Helios using subclipse.
Go to Help> Eclipse Marketplace
search for subclipse and install
Go to:
Help -> Eclipse Marketplace -> Subclipse
worked for me in Eclipse Luna
Last version (July 2019):
http://community.polarion.com/projects/subversive/download/eclipse/6.0/builds/
See 'How to' picture below:
See 'How to' version without pictures below:
In your internet browser,
Go to http://community.polarion.com/projects/subversive/download/eclipse/6.0/builds/
Download Subversive-connectors-allplatforms-6.0.4.I20161211-1700.zip
In eclipse,
open the menu 'Help'
choose 'Install new software'
click on 'Add' in the 'Install' popup
click on 'Archive' on 'Add Repository' popup
choose the zip downloaded previously
click on 'Open'
tick all the checkboxes in the 'Install' popup
click 'Next'
wait eclipse calculations to process
click 'Next'
click the radio button 'I accept the terms of license agreement'
click 'Finish'
click 'Install anyway' in the 'Security warning' popup
wait eclipse to process
click 'Restart now' in 'Software Updates' popup
wait eclipse to restart

Checkout Maven project from SCM - no connectors

I have a problem with checkout Maven project in Eclipse Indigo. I've installed m2e plugin, Subclipse, Git, but can't select appropriate SCM type ? How to solve this ?
Affan was correct. The connectors are all still there in Indigo, just hidden a little.
Start Eclipse and open preferences.
Find the Maven group and expand it.
Select the "Discovery" item and click "Open Catalog".
A dialog will pop up with all the goodies. The connectors are at the bottom.
I ran into this issue with Eclipse where when you would try to Import a project via:
"Check out Maven Projects from SCM" from the project expoler the "scm url" drop down box would be empty.
After googling around, you must have subclipse installed from the Eclipse Marketplace (which I did) AND "Maven SCM handler for Subclipse" from the "Help->Install new software" dialog box (which I did not).
How to get Maven SCM Handler for Subclipse:
Assumption: You have Subclipse installed.
Click Help->Install New Software
Click "Add..." to add a new software site.
Add this site: http://subclipse.tigris.org/m2eclipse/1.0 (Alternative URL: http://subclipse.tigris.org/m2eclipse/latest/)
Select the Maven SCM handler for Subclipse
Install
You can now use the Project Explorer context menu of "Import -> Maven -> Check out Maven Projects from SCM" and actually have a SCM URL to choose from in the drop down box, namely "svn".
Tested with Eclipse Juno
Looks like there is some incompatibility issue between Indigo and m2eclipse. This discussion gives more details including a possible solution.
Hope this helps.
Edit 1: Uninstalled m2eclipse 0.12.x from Indigo and installed m2e from Eclipse's m2e releases repository. This version shows a link to download m2e scm connectors from Eclipse marketplace (when you try to check out a maven project from scm). I could see connectors for cvs, git and subversive.
For those using subclipse 1.8.x there is a patched version of the m2e connector.
Here is the update site: http://subclipse.tigris.org/m2eclipse/1.0
(Thanks to RockyMM for posting the link to the WONTFIX issue, which contained the link to the patched version.)
Indigo comes with m2e pre-installed. To get the connectors just click on link where it says find more connectors in the m2e marketplace. From there i installed the m2e-subclipse connector. This is a different approach from previous versions of Eclipse where you had to install another plugin from market place called "Maven Integration for Eclipse (Extras)".
There was an unofficial update of SVN connector. To install it go to http://subclipse.tigris.org/issues/show_bug.cgi?id=1557 download attachment org.sonatype.m2e.subclipse.feature-0.13.0-SNAPSHOT-site.zip and follow the steps:
Unzip the file to an empty folder somewhere, remember that folder
In Eclipse,
go to Help/Install New Software…
Click “Add…” to add a new site
In the window, click on “Local…” and choose the folder where you unzipped the
site before. The result in the Location field should look like file:/C:/
theUnzipFolder/
Click OK, choose all available packages to install, and continue the
installation as usual
This is related answer by "technocrat" with new update site URLs.
This is working with Eclipse 2019-12:
The problem: "Check out Maven Projects from SCM" from the project explorer the "scm url" drop down box is be empty.
You must have subclipse installed from the Eclipse Marketplace AND "Maven SCM handler for Subclipse".
How to get Maven SCM Handler for Subclipse:
Background: The original website of this project (http://subclipse.tigris.org/) redirects to https://github.com/subclipse. The subproject "m2e" is important.
Here, you will find a link to an Eclipse update site: https://dl.bintray.com/subclipse/releases/m2e/1.0.x/. Add this to the eclipse update sites.
Now you will see "Maven SCM handler for Subclipse". Install it.
You can now use the Project Explorer context menu of "Import -> Maven -> Check out Maven Projects from SCM" and actually have a SCM URL to choose from in the drop down box, namely "svn".

How to install TestNG plug-in for Eclipse

I tried installing the testng plug-in for long time but eclipse is showing an error as below:
"No repository found as the location".
I have also tried to download and install the plug-in but the same error pops up.
Way 1: For the Eclipse plug-in, we suggest using the update site:
Open Eclipse
Go to Help -> Install New Software...
Click Add button to go to Add Repository prompt
Enter Name as TestNG. In Location text box, enter the following URL -> Click Add button
http://dl.bintray.com/testng-team/testng-eclipse-release/
Make sure the check box in the list is checked and click Next.
Eclipse will then guide you through the process.
After installation follow the steps below:
Restart eclipse
Go to Window-> Preferences and observe the left panel
TestNG is enlisted
For Installation details visit the following site:
http://testng.org/doc/download.html
Way 2: TestNG can also be installed in Eclipse by using Marketplace. Below are the steps:
Open eclipse
Go to Help -> Eclipse Marketplace...
Do search for TestNG (Type the text TestNG in Find text box > Click Go button)
After searching: Click Install button at TestNG for Eclipse area
Follow the further instructions by eclipse
Maybe you misspelled the URL of the update site?
It's http://beust.com/eclipse
If you are trying to install from http://beust.com/eclipse and it won't work, delete spaces in the string :-)
To install TestNG in Eclipse, follow the steps below :
Go to 'Help'
Click on 'Install New software'
Click on 'Add'
Enter Location - https://dl.bintray.com/testng-team/testng-eclipse-release/
Click Next and Finish
Restart Eclipse.
Copy the link http://beust.com/eclipse to notepad and copy from notepad to eclipse IDE. It worked :) Looks like using it as a hyperlink has issue.

Installing Git on Eclipse

How can I install Git on Eclipse? I found tutorials on http://cho.hapgoods.com/wordpress/?p=159 but there was said that "You should then see the eight Eclipse projects 'org.spearce.something.'" I don't see those eight projects.
Just add http://download.eclipse.org/egit/updates to your Eclipse update manager.
Do you have Egit installed yet? If not, go to Window->Preferences->Install/Updates->Available Software Sites. Click on add and paste this link http://download.eclipse.org/egit/updates
For Name, you can just put "EGit". After you have EGit installed, follow this tutorial. It helped me a lot!
Checkout this tutorial Eclipse install Git plugin – Step by Step installation instruction
Eclipse install Git plugin – Step by Step installation instruction
Step 1) Go to: http://eclipse.org/egit/download/ to get the plugin repository location.
Step 2.) Select appropriate repository location. In my case its http://download.eclipse.org/egit/updates
Step 3.) Go to Help > Install New Software
Step 4.) To add repository location, Click Add. Enter repository name as “EGit Plugin”. Location will be the URL copied from Step 2. Now click Ok to add repository location.
Step 5.) Wait for a while and it will display list of available products to be installed. Expend “Eclipse Git Team Provider” and select “Eclipse Git Team Provider”. Now Click Next
Step 6.) Review product and click Next.
Step 7.) It will ask you to Accept the agreement. Accept the agreement and click Finish.
Step 8.) Within few seconds, depending on your internet speed, all the necessary dependencies and executable will be downloaded and installed.
Step 9.) Accept the prompt to restart the Eclipse.
Your Eclipse Git Plugin installation is complete.
To verify your installation.
Step 1.) Go to Help > Install New Software
Step 2.) Click on Already Installed and verify plugin is installed.
egit was included in Indigo (2011) and should be there in all future Eclipse versions after that.
Just go to ![(Help->Install New Software)]
Then Work with: --All Available Sites--
Then type egit underneath and wait (may take a while) !
Then click the checkbox and install.
I made an installation guide for Egit on Eclipse so I thought I would share it.
INSTALL EGIT plugin in eclispe which is pretty easy. If EGit is missing in your Eclipse installation, you can install it via the Eclipse Update Manager via: Help → Install new Software. EGit can be installed from the following URL: http://download.eclipse.org/egit/updates
Under Eclipse Git Team Provider, tick ONLY "Eclipse EGit" and then download the plugin.
CONNECT TO YOUR LOCAL REPOSITORY. I right clicked on the project, selected "team > share project" and then ticked "use or create repository"
GIT IGNORE. Mark the "bin" folder as "ignored by Git", either by right-clicking on it and selecting Team > Ignore or by creating a .gitignore file. My file was generated for me, I just had to make it visible. Here's how in eclipse: In your package explorer, pull down the menu and select "Filters ...". You can adjust what types of files are shown/hidden there.
IDENTIFY YOURSELF. Click Preferences > Team > Git > Configuration and make sure your name & email are there so we know which user committed/pushed what.
NOW YOU ARE READY TO ADD/COMMIT/PUSH/PULL files with the plugin!
There are two ways of installing the Git plugin in Eclipse
Installing through Help -> Install New Software..., then add the location http://download.eclipse.org/egit/updates/
Installing through Help -> Eclipse Marketplace..., then type Egit and installing it.
Both methods may need you to restart Eclipse in the middle. For the step by step guide on installing and configuring Git plugin in Eclipse, you can also refer to Install and configure git plugin in Eclipse
It's Very Easy To Install By Following Below Steps In Eclipse JUNO version
Help-->Eclipse Marketplace-->Find: beside Textbox u can type "Egit"-->select Egit-git team provider intall button-->follow next steps and finally click finish
You didn't mention which version of Eclipse you are using, but others have already posted good answers for modern versions of Eclipse. Unfortunately one of my legacy projects requires Eclipse Europa; the old EGit project homepage states the following:
The plugin only works on Eclipse 3.4 (Ganymede) or newer. Eclipse 3.3 (Europa) is not supported anymore. Since the plugin is still very much work-in-progress we want to take advantage of new platforms features to facilitate progress.
So I guess I'm SOL - back to the graphical GitHub client for me! Lucky it's a legacy project.
Try with this link:
http://download.eclipse.org/egit/github/updates
1)Go to Help-> Install new Software
2)Click on Add...
3)Name: eGit
Location:http://download.eclipse.org/egit/github/updates
4)Click on OK
5)Accept the licence.
You are good to go