score:259
Right click on the Eclipse project in the Package Explorer, select Refactor, then select Move... In the dialog that comes up, enter or navigate to the new location and click OK. This will also preserve your CVS or other SCM metadata, but will also bring all your modifications as well, and you won't lose any memberships in Working Sets, launch configurations, or other things that Eclipse associates with your project.
score:0
For Eclipse Oxygen
Project Properties -> Resource -> Linked Resources -> Linked Resources (Tab)
score:1
For Eclipse Oxygen, to move a Java project, djb's accepted answer works well (in my experience just now), except having read comment by Basic May 14 '12 at 9:27, I tried to add my project XMLDiff to C:...\SVN\trunk\Internal Projects, and I got a failure with the rather cryptic message:
Problems encountered while moving resources.
Resource already exists on disk.
I had to move the project to C:...\SVN\trunk\Internal Projects\XMLDiff by creating a new folder, XMLDiff, in the browse dialog, and the result was C:...\SVN\trunk\Internal Projects\XMLDiff, not C:...\SVN\trunk\Internal Projects\XMLDiff\XMLDiff.
So this must have changed between Basic's experience in 2012 and Eclipse.3.
score:2
I copied the whole project to a new directory. After setting Eclipse to the new workspace it recognises the project instantly. Thus it was nothing further to do. I use Eclipse IDE for C/C++ Developers, Version Luna Service Release 2 (4.4.2).
score:2
Right click on your project->copy.
right click in project explorer free space and right click->pase.
chose new folder and project name.
score:4
WHEN EVERYTHING ELSE FAILS:
Copying an Eclipse project from one directory (let's call it old_dir) to another directory (let's call it new_dir):
Open Eclipse and specify the copied working directory in your new_dir.
Once it opens the project in the this new_dir, the projects listed under Project Explorer Tab might still be the ones contained in the old_dir (you can check it by right clicking each and following through: "Resource -> Linked Resource" to see the Path Variables values). Thus, they have to be removed from this work space. Delete the Nios 2 Application Project and the BSP Project from the Project Explorer Tab by right clicking on it and selecting Delete option which will pop a new window. In the pop-up window, make sure that the Delete project contents on disk check box is UNCHECKED before clicking OK to delete the Projects. Otherwise, it will delete it from the old_dir where you copied the project from.
Right click in the Project Explorer Tab Area → Import → General → Existing Projects into Workspace and add the copied Nios2 Application Project and the BSP Project from the new_dir.
Right click in the Project Explorer Tab Area → Index → Rebuild, otherwise the Nios2 Application Project will not be able to use the includes provided by the BSP Project.
Click on Project → Clean → OK to clean and rebuild the whole project.
When using console to talk to the NIOS, make sure elf's path is updated to the new project directory as well!
score:5
I rarely have any projects in Eclipse that aren't under source control, so all I would need to do is check the project out in the new location.
If you don't have source control, Eclipse works with CVS rather well out of the box, and it's pretty simple to setup CVS to run locally without a server: http://www.tortoisecvs.org/faq.html#cvsinit
score:11
I don't know whether eclipse has made modifs since the date of this post... In my case I had moved a project folder manually and I wanted Eclipse to open the project on this new location. This is what I did (and it seems to work).
(I'm using eclipse "helios" v 3.6.2)
File menu | Import ...
General | Existing projects into Workspace
Select root directory = top directory of your project on the new location
Finish
score:24
Use Eclipse's Move menu item
Open Navigator view, right click on your project and click Move. Then select the destination directory.
Navigator View > Right Click > Move
Note it doesn't seem to work in Package Explorer (at least not in Neon). The move dialog from Package Explorer is different, so use the Navigator window.
Source: stackoverflow.com
Related Query
- Moving project to another folder in Eclipse
- Call a file in another folder in Eclipse for Python project
- Can no longer access shared Eclipse project after moving Git repository folder in file system
- import from another java project in eclipse
- How do I add a resources folder to my Java project in Eclipse
- How do I change in an eclipse web project the WebContent folder to something different?
- Should renaming a project in Eclipse also rename project folder on file system?
- How to hide src folder from Eclipse Project Explorer?
- Eclipse Java project folder organization
- Can we call another project java class from our project in eclipse
- Why is not recommended to have an Eclipse project folder as a Git repository?
- Eclipse CDT C/C++: Include a header file from another project
- SRC folder in Eclipse is empty (MainActivity class not created) after creating a new android project using Eclipse
- Auto refresh eclipse project upon folder update
- Including source files from another C++ project in Eclipse CDT
- calling a class in another project Eclipse
- Eclipse project hiding src folder
- Egit adding Eclipse project folder to git repository
- How to change Eclipse project folder structure to Maven/Gradle structure
- Double source folder in eclipse when creating new maven project
- Import maven project in eclipse - folder structure not as expected
- Linking external source folder with name "src" in an eclipse project
- How to zip up a Java eclipse project so it can be easily unfolded onto another computer?
- Eclipse showing java project src folder view as all packages and subpackages
- Eclipse, Tomcat project context root is eclipse folder
- Spring context:component-scan fails to find components in another Eclipse project dependency referenced in POM
- How to reference another project in Eclipse with Google appengine project?
- How To Exclude Files in "/res" Folder of an Android Eclipse Project
- Set up an Eclipse Dynamic Web Project referencing another project
- Eclipse - how to rename project folder (on filesystem)
More Query from same tag
- not able to configure cofoja on eclipse
- Hello WebView Example for Android 4.4
- How to load an specific activity (multiple intent) on filter ListView- Item-Click?
- Eclipse showing old output in console
- eclipse plugin > how to include a jar file programmaticaly
- Eclipse Unable to install breakpoint
- Android SDK (Eclipse) :How to Creat a Simple AlertDialog on the App Start ?
- executing a powershell command in eclipse
- Issue in analyzing files using sonar lint in eclipse
- How to inherit External Maven POM in Project POM
- Programmatically rearrange diagram
- Spring: Keep getting java.lang.ClassNotFoundException: org.springframework.expression.ParserContext
- Quick casting shortcut in eclipse
- Tomcat in Eclipse. Can not find
- How to generate multiple layout and get value of each filed in it in android
- pydev eclipse configuration for __builtins__?
- Set up eclipse for Ext js and spket IDE plugin
- Spring - Attribute 'name' is not allowed to appear in element 'constructor-arg'
- Invalid character constant £ (after import from Netbeans to Eclipse IDE)
- NullPointerException when trying to open a .html file with Vaadin Designer 7
- JBOSS Eclipse Integration
- How do I reindent all my codes in Eclipse?
- Are node.js and VisualStudio really the only well maintained options to build typescript?
- UNEXPECTED TOP-LEVEL EXCEPTION: java.lang.IllegalArgumentException: already added
- Java JDBC SQLite update entry not working
- Material design backward compatibility android:colorAccent requires API level 21 when using appcompat7
- Language strings view in ADT
- Trying to create maven dynamic web project in eclipse with java and clojure
- java.lang.IllegalArgumentException: already added: Lorg/hamcrest/BaseDescription; Conversion to Dalvik format failed with error 1
- Eclipse - How to assign key shourtcut command to Launch type (Run As type)