Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Project files in different location than sources?
Project files in different location than sources? [message #234403] Tue, 02 June 2009 16:49 Go to next message
Eclipse UserFriend
Hello, is following possible? (From what I've found so far, it's not -
please
correct me if I'm wrong):

Sources checked out from cvs into
rootdir/module1
rootdir/module2

I'd like to create projects for module1 and module2 and keep then in
different folders than rootdir/module{1,2}, for example in
rootdir/projects/module{1,2}, and check then in into cvs.

The reason is that there already are eclipse/cdt projects in module{1,2}
dirs, but created with older eclipse/cdt version, and due to various
reasons it probably is not possible to use new version.

If it's not possible, is there anything else that can be done except
overwriting old projects?

Thanks in advance.
Re: Project files in different location than sources? [message #234651 is a reply to message #234403] Mon, 08 June 2009 06:34 Go to previous message
Eclipse UserFriend
Hello,

I have a somehow similar need, I am trying to add a new project type based
on CDT, and I want to allow the user to add files to that project that
reside in shared locations (without copying them). Is this possible?

I tried looking around the forums, and only found the following, which
doesn't fully solve my problem, but it might solve yours.
http://dev.eclipse.org/newslists/news.eclipse.platform/msg12 275.html

"However, resources can only be linked as direct childen of the project so
this would only help you out if you wanted the file to be a direct child
of your project. You could still link a parent directory of the file but
all children would be included. I believe the intention is that tools in
Eclipse would provide their own mechanism for excluding files. Java
provides such a mechanism but I don't know if CDT does. You could post a
questions on the CDT newsgroup to find out."

Best Regards,
Mamado

Piotr Krukowiecki wrote:

> Hello, is following possible? (From what I've found so far, it's not -
> please
> correct me if I'm wrong):

> Sources checked out from cvs into
> rootdir/module1
> rootdir/module2

> I'd like to create projects for module1 and module2 and keep then in
> different folders than rootdir/module{1,2}, for example in
> rootdir/projects/module{1,2}, and check then in into cvs.

> The reason is that there already are eclipse/cdt projects in module{1,2}
> dirs, but created with older eclipse/cdt version, and due to various
> reasons it probably is not possible to use new version.

> If it's not possible, is there anything else that can be done except
> overwriting old projects?

> Thanks in advance.
Previous Topic:How to build a particular project in Eclipse CDT
Next Topic:"sticky" macro expansion
Goto Forum:
  


Current Time: Tue Jul 22 15:56:49 EDT 2025

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

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

Back to the top