简体   繁体   中英

How to explain eclipse that project from svn if I checkout it by tortoise svn?

I checkout my project using tortoise svn.

I want to import it to eclipse and eclipse svn plugin must to work.

If I make java import - eclipse doesn't understand that it is project from svn.

svn plugin is installed.

UPDATE

I try Import-->Team-->Team Projcect Set

在此处输入图片说明

This thing ask me select FILE . What Do I need to select?

Which svn plusing are you using and eclipse version ?

I am using Eclipse Kepler and SVN Plugin as Subversive Team Provider. It is working fine for me. I have imported project as Java project.

Eclipse will understand your project if and only if it contains .classpath file and .project file in project. If you are using Maven, then first run clean compile and eclipse:eclipse commands, then import in eclipse.

Use subversion. Sometimes, it may require to install newer connector. Refer to this question

If you have installed svn plugin in eclipse. You can also checkout project from eclipse. Make .psf file pointing to your repository and then make import.

Import-->Team-->Team Projcect Set

Open notepad paste below content(correct with your path) and save as .psf

<?xml version="1.0" encoding="UTF-8"?>
<psf version="2.0">
<provider id="org.tigris.subversion.subclipse.core.svnnature">
<project reference="0.9.3,URL to folder you want to checkout,folder name"/>
<project reference="0.9.3,URL to another folder you want to checkout,folder name 2"/>
</provider>
</psf>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM