Bug 73695 - Resource linking at arbitrary depth
Summary: Resource linking at arbitrary depth
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 3.2 M4   Edit
Assignee: John Arthorne CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 61011 77485 127127 (view as bug list)
Depends on: 116924 117092
Blocks:
  Show dependency tree
 
Reported: 2004-09-10 14:46 EDT by Chuck Bridgham CLA
Modified: 2007-08-29 18:37 EDT (History)
17 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chuck Bridgham CLA 2004-09-10 14:46:07 EDT
In Eclipse release 3.0.1, the WebTools project would like some additional 
function enabling linked resources within the workspace.

1) Support linking of resources and folders to resources existing inside the 
workspace.
2) If linked resources originate within a java project, optional turn off 
pushing output to linked target (compiled files) Will want to compile in 
linked location (or both). (linked location will have seperate output folder).
3) Recognize existing links of source files/folders and optionally provide 
actions on linked locations.


Use case 1  (Simple folder linking)

EARProject1
   ejbjar1srcfolder -> links to src folder in EJBJar1 project
   web1srcfolder -> links to Web1 project folder
   web2srcfolder -> links to Web2 project folder


Use case 2 (Mix of folder/resource links)

SimpleProject1
   javasrc
      ejbsource -> links to src folder in EJB1 project
         Class1.java
      websource
         webpackage -> links to package in Web1 and Web2 projects
            Class2.java -> links to file in Web1
            Class3.java -> links to file in Web2
   webcontent
      samp1.jsp -> links to file in Web1
      samp2.jsp -> links to file in Web2
   j2eecontent
      META-INF -> links to folder in EJB1
         ejb.xml 
      WEB-INF
         web1.xml -> links to file in Web1
         web2.xml -> links to file in Web2
Comment 1 John Arthorne CLA 2004-09-10 15:07:17 EDT
Unless I misunderstand, Use Case 1 is already supported with linked resources.
Use case 2 will not be supported for 3.0.1.
Comment 2 Chuck Bridgham CLA 2004-09-10 15:27:17 EDT
My bad - I meant 3.1 timeframe

So we can link existing folders inside the workbench to folders in another 
project?  I didn't realize (I thought we only supported linking to 
files/folders outside the workspace).
Comment 3 John Arthorne CLA 2004-09-10 15:37:35 EDT
The two main restrictions on linked resources are:
 - you can't link a parent or child of the project that will contain the linked
resource (i.e., create loops in the resource tree).
 - linked resources must be direct children of projects.

You may be interested in reading:
http://www.eclipse.org/eclipse/development/flexible-projects-proposal.html
Comment 4 John Arthorne CLA 2004-09-13 12:25:33 EDT
Can I summarize your request as wanting to remove the current restriction that
linked resources must be direct children of a project?
Comment 5 John Arthorne CLA 2004-11-02 11:37:57 EST
Please reopen when feature request is clarified.
Comment 6 Chuck Bridgham CLA 2004-11-02 11:47:33 EST
I have a few more comments that may help clarify our request.

When a user opens a linked resource to another that exists in the workspace, 
this file is treated as a different IFile instance.  (Two editors can be 
opened on same file, but different projects).

This is tied to another request of CVS decorators be applied to linked 
resources if the target is under CVS control.


Additionally - we would like the ability to link folders not directly under 
the root.
Comment 7 John Arthorne CLA 2004-11-02 11:55:01 EST
*** Bug 77485 has been marked as a duplicate of this bug. ***
Comment 8 John Arthorne CLA 2005-01-26 10:13:43 EST
Moving confirmed bugs/enhancements out of the "inbox"
Comment 9 John Arthorne CLA 2005-09-30 14:20:43 EDT
*** Bug 61011 has been marked as a duplicate of this bug. ***
Comment 10 John Arthorne CLA 2005-10-18 14:56:00 EDT
Updating summary to provide a more accurate description of this request.
Comment 11 John Arthorne CLA 2005-11-16 15:24:37 EST
Target for M4.
Comment 12 John Arthorne CLA 2005-11-18 11:53:09 EST
Support for linked resources at arbitrary depth has been released. There are a
few UI issues remaining that are described in bug 116924.
Comment 13 John Arthorne CLA 2006-02-09 15:26:07 EST
*** Bug 127127 has been marked as a duplicate of this bug. ***