new java project wizard, uncheck the checkbox that says
use default location and the use the browse button to find your directory.
use "import - existing projects into workspace". this works for my case.
right click on a project -> properties. open project location in explorer, there's a little icon next to path. put your folder/file structure in there and refresh the project in eclipse.
i just created a pom.xml by hand and imported the project as an existing maven project in eclipse. it even works for nested projects without problems.
you know, it is not so simple question. depending on your project type (jar, web module, ear and so on) different structure and configuration files are used by eclipse. so the first really interesting question is that what is your project type? the basic solution after it to create a new project, and define the directory of your source code as project root. then you will see what else to change (for example source path settings, classpath and so on). so how does your project look like? can you proide structure tree of folders?
since you are using django you should first set up pydev in eclipse. you can install it from the market. then you want to configure the pydev python interpreters to find your installation of django (http://pydev.org/manual_101_interpreter.html). make sure to provide the explicit path to the django folder if your django is not installed in the default location.
once these things are ready you can select file > new > other, then select pydev django project from the pydev sub directory.
click next and here is the sweet part: uncheck 'use default' (as previously stated) and then find your django project directory. be sure to select the right project folder (ie: the folder that contains
manage.py). when you have the right folder selected eclipse/pydev will recognize that a project already exists and make mention that it will use those files. click finish.
then there is a db form that asks about your db settings. if you already have a
settings.py file then this seems to make no changes (as it should not). so fill it in or don't. but this is the last step.
then you should be able to view and use your existing project in eclipse!
probably not the way most people would go about this, but i like all of my eclipse projects in one place but don't necessarily have my source in my workspace directory. maybe there is a built in way to "symlink" in eclipse, but i sometimes end up with the project folder in the workspace, with the "src" symlinked to the actual source directory somewhere totally different. that's my personal preference anyway. if you too are on a *nix machine a simple
ln -s /path/to/source src
will do from your project directory.
hope this link answers the original question of this thread.
creating linked resources
folders and files can be linked to locations in the file system outside of the project's location. these special folders and files are called linked resources.
to create a linked folder:
in one of the navigation views, right-click the project or folder where you want to create the linked folder.
from the pop-up menu, select command link new > folder.
specify the name of the folder as it will appear in the workbench. this name can be different from the name of the folder in the file system.
check link to alternate location (linked folder).
enter a file system path, or click browse to select a folder in the file system.
i clone this file to new project directory , and rename project-name to my project name, after that i import new files and directory from eclips
.project ( use notepad for make this file...select save as type to
all files (*.*) and write file name like:
<?xml version="1.0" encoding="utf-8"?>
it is pretty easy to do. go to file->new-> project. in the project wizard, choose the type of project you want and then be sure to unclick the 'use default location` checkbox. browse for your folder in the widget that then becomes enabled. click finish after that.
alternatively, you could create a brand new project workspace in a new location. then, assuming java as your project type, you can open up your project properties and add as a source folder your existing directory. to do this, use the 'link source' button on the java build path -> source tab of your project properties dialog.
- How to make an existing directory into an eclipse project
- How to make Eclipse use an existing makefile that is not in root of project
- How to convert an existing eclipse GWT project into a Dynamic Web Project?
- How to make a play framework based project into a eclipse project in a better form?
- How to import existing android project into the eclipse
- How to import an existing Android Library project into Eclipse workspace
- How to import an Android Library Project created on Android Studio into existing Eclipse Android App Project, as library?
- How can I make Eclipse export 1 JAR file per project to a specific directory with as few clicks as possible?
- how to integrate a Plug-in Project template into an existing eclipse project?
- How to import existing Java Project into Dynamic Web Project in Eclipse
- How to create a project from existing source in Eclipse and then find it?
- How to import existing Android project into Eclipse?
- How to change an Eclipse default project into a Java project
- How to open existing project in Eclipse
- How to import an existing directory into Eclipse?
- How do you import an Eclipse project into Android Studio now?
- Import existing Gradle Git project into Eclipse
- How to get your Netbeans project into Eclipse
- How do you make eclipse use an existing svn working copy?
- How do I check out an SVN project into Eclipse as a Java project?
- Import an existing Git project into Eclipse without a .project file
- How to make a new Eclipse project template?
- Maven root pom.xml marked as red when importing existing project into eclipse
- How do I add existing eclipse java project to git
- Aptana/Eclipse: How do I make a project that uses existing files on my filesystem, instead of copying?
- How can I make hidden files display in Eclipse Project explorer when using a RSE linked folder?
- How to import C makefile project into eclipse or put in under eclipse
- How do I import a pre-existing Java project into Eclipse and get up and running?
- Eclipse + Turn an Existing Project into a JPA Project
- Import an existing SVN project into Eclipse
More Query from same tag
- How to debug Solr test cases in Eclipse?
- Text Marquee is not working
- Servlet Listners And Loading External Jars Performance
- Automatic redirect for Eclipse Update Site from old URL to new URL
- Device Login Page is not coming when entering TFS (Team Foundation Server) URL in Eclipse
- svn: merging changes from a branch to a working copy without updating trunk
- git is not ignoring an eclipse .version file
- Eclipse (java) web services, what files to version and how to properly pull the project to a new computer?
- I am using log4j 1.2.12 on a maven project, but it isn't displaying 'debug' messages. How can I resolve this?
- Publishing of JS files on tomcat in eclipse
- Stop Eclipse from indenting comments created with Ctrl-/
- Importing netbeans to eclipse
- The value of strings doesn't appear in eclipse mars CDT
- Error while creating a blackberry Project
- Is it possible to clean/move WindowBuilder auto generated code for spacing/components?
- How to safely use git at the 'workspace' level with branches and .metadata?
- Compiling/Running Issues with C++ in Visual Studio, CodeBlocks, and Eclipse?
- Eclipse : Programmatically importing projects without copying
- Eclipse & JSF: Library linking
- PHP - Eclipse PDT require_once on linked folder
- having trouble with winavr gcc in eclipse c/c++
- Maven archetype error in eclipse
- how to zoom a graph using zest?
- Select Eclipse WorkingSet with String
- bring checked check box values to other pages
- How can I change the location of folders that Eclipse creates in the Users\(user)\ directory?
- Installing the ARM DS-5 community edition under Ubuntu 64 bit
- How to generate code for an optional Java exception in Eclipse
- LG G3 Not working with eclipse
- Download an exe file and run