Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Overlapping projects in same folder structure
Overlapping projects in same folder structure [message #209341] Fri, 08 July 2005 21:21 Go to next message
Eclipse UserFriend
Originally posted by: chrism.clabs.org

I'd like to try and find a way around the restriction for the same
folder appearing in multiple projects.

I have a J++ project, which Eclipse can't compile, but can grok most of
the stuff and is still a valuable tool for editing, refactoring, etc.

One of the packages in the project is close to being pure Java, and I
want to setup an overlapping second Eclipse project, that will exclude
most of the files I don't need for that package and slowly chip away at
bad dependencies until I can have Eclipse build that package.

The problem is I need to refactor some things in the whole project so I
can purify the one package. I can't do the refactorings in just the pkg
project because it excludes most of the files that would be affected by
the refactorings as well.

It seems it would be ideal to have two projects in the same structure,
but Eclipse prevents me from setting this up. Any way to workaround? Any
way to use the Add Folder ... Advanced to an existing folder another
place on the hard drive? (or will Eclipse still thrwart me there too?)

(Right now I've pulled the project from CVS into two separate folder
hierarchies, so I can have the two projects, but if I need to refactor
in the big project, I'll then need to commit and pull in the other
folder structure for the pkg project - and I could be doing this over
and over again.)

--
Chris
http://clabs.org/blogki
Re: Overlapping projects in same folder structure [message #209348 is a reply to message #209341] Fri, 08 July 2005 23:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: chrism.clabs.org

Chris Morris wrote:
> Any way to workaround? Any
> way to use the Add Folder ... Advanced to an existing folder another
> place on the hard drive? (or will Eclipse still thrwart me there too?)

Well, this looks like a way around - linking in a source folder to a
project outside of the directory structure. I'm warned this could have
side-effects, but I think this is my easiest option for teasing out this
code.

--
Chris
http://clabs.org/blogki
Re: Overlapping projects in same folder structure [message #209708 is a reply to message #209348] Tue, 12 July 2005 05:16 Go to previous messageGo to next message
Eclipse UserFriend
Yes, this is indeed what is recommended to have multiple instances of the
same resource act in different projects.
I presume you are using the advanced folder creation feature for linked
folder ?

"Chris Morris" <chrism@clabs.org> wrote in message
news:danf9n$9r0$1@news.eclipse.org...
> Chris Morris wrote:
> > Any way to workaround? Any
> > way to use the Add Folder ... Advanced to an existing folder another
> > place on the hard drive? (or will Eclipse still thrwart me there too?)
>
> Well, this looks like a way around - linking in a source folder to a
> project outside of the directory structure. I'm warned this could have
> side-effects, but I think this is my easiest option for teasing out this
> code.
>
> --
> Chris
> http://clabs.org/blogki
Re: Overlapping projects in same folder structure [message #209713 is a reply to message #209348] Tue, 12 July 2005 05:17 Go to previous messageGo to next message
Eclipse UserFriend
You may also read project configuration tutorials:

Help > Help contents > Java Development User Guide > Getting Started >
Project configuration tutorial

"Chris Morris" <chrism@clabs.org> wrote in message
news:danf9n$9r0$1@news.eclipse.org...
> Chris Morris wrote:
> > Any way to workaround? Any
> > way to use the Add Folder ... Advanced to an existing folder another
> > place on the hard drive? (or will Eclipse still thrwart me there too?)
>
> Well, this looks like a way around - linking in a source folder to a
> project outside of the directory structure. I'm warned this could have
> side-effects, but I think this is my easiest option for teasing out this
> code.
>
> --
> Chris
> http://clabs.org/blogki
Re: Overlapping projects in same folder structure [message #209797 is a reply to message #209708] Wed, 13 July 2005 20:28 Go to previous message
Eclipse UserFriend
Originally posted by: chrism.clabs.org

Philippe Mulet wrote:
> Yes, this is indeed what is recommended to have multiple instances of the
> same resource act in different projects.
> I presume you are using the advanced folder creation feature for linked
> folder ?

Yes. That worked for me.

--
Chris
http://clabs.org/blogki
Previous Topic:External Tools: Variable references non-existent resource ${build_project}
Next Topic:Call Hierarchy menubarPath
Goto Forum:
  


Current Time: Thu Jun 19 10:01:47 EDT 2025

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

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

Back to the top