-
Notifications
You must be signed in to change notification settings - Fork 75
/
concepts-13.htm
45 lines (45 loc) · 3.53 KB
/
concepts-13.htm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html lang="en">
<head>
<meta name="copyright" content=
"Copyright (c) IBM Corporation and others 2000, 2011. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<link rel="STYLESHEET" href="../book.css" charset="ISO-8859-1" type="text/css">
<title>Linked resources</title>
<script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js" type="text/javascript"></script>
</head>
<body bgcolor="#FFFFFF">
<h1 class="Head">Linked resources</h1>
<p>Linked resources are files and folders that are stored in locations in the file system outside of the project's
location. These special resources can be used to add files and folders to your project that for some reason must be
stored in a certain place outside of your project. For example, a linked folder can be used to store build output
separately from your source files.</p>
<p>You can even use linked resources to overlap other resources in the workspace, so resources from one project can
appear in another project. If you do want to have overlapping resources in your workspace, do so with caution. Keep
in mind that this means changing a resource in one place will cause simultaneous changes in the duplicate resource.
Deleting one duplicate resource will delete both!</p>
<p>Deleting a linked resource will <em>not</em> cause the corresponding resource in the file system to be deleted.
However, deleting child resources of linked folders <em>will</em> cause them to be removed from the file system.</p>
<p>Linked resource target paths can be either defined as absolute paths, or relative to a path variable.</p>
<p>The linked resource target path can be changed by selecting the <b>Edit...</b> button in the <b>File >
Properties > Resource</b> property page of the linked resource.</p>
<p>A list of all linked resources that exist in a project can be seen and edited from the <b>File > Properties
> Resource > Linked Resources</b> property page, under the <b>Linked Resources</b> tab.</p>
<p>Some plug-ins built on top of the Eclipse platform are not compatible with linked resources. If this is the case,
you can completely disable the linked resource feature to prevent them from being created in your workspace. Linked
resources can be disabled from the <a class="command-link" href=
'javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.ui.preferencePages.LinkedResources)")'>
<img src="PLUGINS_ROOT/org.eclipse.help/command_link.svg" alt="command link"> <b>General > Workspace > Linked
Resources</b></a> preference page. Certain types of projects or team repository providers may also disallow linked
resources from being created in some projects.</p>
<h3 class="related">Related concepts</h3><a href="concepts-2.htm">Workbench</a><br>
<a href="../reference/ref-27.htm">Project Explorer view</a><br>
<a href="concepts-12.htm">Resources</a><br>
<a href="concepts-17.htm">Resource hierarchies</a><br>
<h3 class="related">Related tasks</h3><a href="../tasks/tasks-45.htm">Creating linked resources</a><br>
<a href="../tasks/tasks-67.htm">Deleting resources</a><br>
<a href="../tasks/tasks-49.htm">Viewing resource properties</a><br>
<h3 class="related">Related reference</h3><a href="../reference/ref-14b.htm">Linked resources</a>
</body>
</html>