Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Linking resources
Linking resources [message #148347] Thu, 23 October 2003 11:58 Go to next message
Eclipse UserFriend
Originally posted by: sppatel.us.ibm.com

This is a multipart message in MIME format.
--=_alternative 0041E40585256DC8_=
Content-Type: text/plain; charset="US-ASCII"

Is there any eclipse mechanism to link a chain of resources togather?

For example:

ResourceA generates ResourceB in one builder, ResourceB generates
ResourceC in another builder. If I remove ResourceA from the workspace, I
want ResourceB, and ResourceC removed automatically since their origin
came from ResourceA. I need also the link A-B-C to be persistent.

I want to make sure there is no eclipse mechanism to do this, otherwise
i'll have to just store this in a hashtable with a POST_DELETE Listener to
handle the additional deletes, and save it out to the .metadata.

Any other ideas would be great!

Thanks


--=_alternative 0041E40585256DC8_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Is there any eclipse mechanism to link
a chain of resources togather? </font>
<br>
<br><font size=2 face="sans-serif">For example:</font>
<br>
<br><font size=2 face="sans-serif">ResourceA generates ResourceB in one
builder, ResourceB generates ResourceC in another builder. &nbsp;If I remove
ResourceA from the workspace, I want ResourceB, and ResourceC removed automatically
since their origin came from ResourceA. &nbsp;I need also the link A-B-C
to be persistent.</font>
<br>
<br><font size=2 face="sans-serif">I want to make sure there is no eclipse
mechanism to do this, otherwise i'll have to just store this in a hashtable
with a POST_DELETE Listener to handle the additional deletes, and save
it out to the .metadata.</font>
<br>
<br><font size=2 face="sans-serif">Any other ideas would be great!</font>
<br>
<br><font size=2 face="sans-serif">Thanks</font>
<br>
<br>
--=_alternative 0041E40585256DC8_=--
Re: Linking resources [message #148801 is a reply to message #148347] Thu, 23 October 2003 20:47 Go to previous messageGo to next message
Genady Beryozkin is currently offline Genady BeryozkinFriend
Messages: 410
Registered: July 2009
Senior Member
I need that functionality too, and I think it isn't there.

Genady

sppatel@us.ibm.com wrote:

>
> Is there any eclipse mechanism to link a chain of resources togather?
>
> For example:
>
> ResourceA generates ResourceB in one builder, ResourceB generates
> ResourceC in another builder. If I remove ResourceA from the workspace,
> I want ResourceB, and ResourceC removed automatically since their origin
> came from ResourceA. I need also the link A-B-C to be persistent.
>
> I want to make sure there is no eclipse mechanism to do this, otherwise
> i'll have to just store this in a hashtable with a POST_DELETE Listener
> to handle the additional deletes, and save it out to the .metadata.
>
> Any other ideas would be great!
>
> Thanks
>
Re: Linking resources [message #148816 is a reply to message #148347] Thu, 23 October 2003 21:51 Go to previous message
Eclipse UserFriend
Originally posted by: John_Arthorne.oti.com_

No, there is no existing mechanism to do this. Is there no way to
recompute these relationships at delete time? For example, when A.java
is deleted, the java builder computes the corresponding A.class file
that needs to be deleted... storing, maintaining, and persisting this
information would be very expensive.
--

sppatel@us.ibm.com wrote:
>
> Is there any eclipse mechanism to link a chain of resources togather?
>
> For example:
>
> ResourceA generates ResourceB in one builder, ResourceB generates
> ResourceC in another builder. If I remove ResourceA from the workspace,
> I want ResourceB, and ResourceC removed automatically since their origin
> came from ResourceA. I need also the link A-B-C to be persistent.
>
> I want to make sure there is no eclipse mechanism to do this, otherwise
> i'll have to just store this in a hashtable with a POST_DELETE Listener
> to handle the additional deletes, and save it out to the .metadata.
>
> Any other ideas would be great!
>
> Thanks
>
Previous Topic:<toc label=".."> with <anchor> and <link_to>
Next Topic:Load a file from the plugin directory
Goto Forum:
  


Current Time: Sun Jul 21 13:25:57 GMT 2024

Powered by FUDForum. Page generated in 0.03088 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top