| Summary: | Eclipse resolves soft linked directories | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Andrew Robinson <andrew> |
| Component: | Resources | Assignee: | Platform-Resources-Inbox <platform-resources-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | benno.baumgartner, markus.kell.r |
| Version: | 3.2.1 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Andrew Robinson
I'm not sure how the project from existing resources is created. Moving to JDT/UI to investigate. We create the project in org.eclipse.jdt.internal.ui.wizards.buildpaths.BuildPathsBlock.createProject
IProjectDescription desc=
project.getWorkspace().newProjectDescription(project.getName());
desc.setLocationURI(locationURI);
project.create(desc, monitor);
With a locationURI like: file:/somewhere/java/project
where java is the symlink
Not sure if it is possible at all with the symlink. Another workaround you may want to try is to use a linked source folder: 1. On your java project click right 2. Build Path>Link Source... 3. Provide the location of the branch you want to use 4. Provide a folder name 5. Finish Instead of a fixed location you can also define a variable pointing to the location. To switch the branch change the value of the variable on the General>Workspace>Linked Resources Preference Page. HTH *** This bug has been marked as a duplicate of bug 233019 *** |