Can eclipse and RTC support this?
We have multiple projects which share some common code. In PVCS this is
done with a linking mechanism similar to symbolic linking in unix. So a
directory structure such as:
/projcommon/folder1/commonfolder1/commonfolder2/common.java
/project1/folder1/commonfolder1/commonfolder2
/project2/folder1/commonfolder1/commonfolder2
common.java is the same file whether referenced through
/project1/folder1/commonfolder1/commonfolder2 or
/project2/folder1/commonfolder1/commonfolder2.
Can this be achieved using Eclipse and RTC?
Thanks, Brian
done with a linking mechanism similar to symbolic linking in unix. So a
directory structure such as:
/projcommon/folder1/commonfolder1/commonfolder2/common.java
/project1/folder1/commonfolder1/commonfolder2
/project2/folder1/commonfolder1/commonfolder2
common.java is the same file whether referenced through
/project1/folder1/commonfolder1/commonfolder2 or
/project2/folder1/commonfolder1/commonfolder2.
Can this be achieved using Eclipse and RTC?
Thanks, Brian
6 answers
Brian
I do not believe that this sort of linking is supported by Eclipse or
RTC. But Eclipse does allow projects to depend upon each other, so you
likely can achieve what you are trying to do.
What are you building? A regular Java application, or an OSGi/Eclipse
application composed of bundles?
Please tell me more.
Simon
Brian Gillan wrote:
--
Simon Archer
Jazz Server Team
I do not believe that this sort of linking is supported by Eclipse or
RTC. But Eclipse does allow projects to depend upon each other, so you
likely can achieve what you are trying to do.
What are you building? A regular Java application, or an OSGi/Eclipse
application composed of bundles?
Please tell me more.
Simon
Brian Gillan wrote:
We have multiple projects which share some common code. In PVCS this is
done with a linking mechanism similar to symbolic linking in unix. So a
directory structure such as:
/projcommon/folder1/commonfolder1/commonfolder2/common.java
/project1/folder1/commonfolder1/commonfolder2
/project2/folder1/commonfolder1/commonfolder2
common.java is the same file whether referenced through
/project1/folder1/commonfolder1/commonfolder2 or
/project2/folder1/commonfolder1/commonfolder2.
Can this be achieved using Eclipse and RTC?
Thanks, Brian
--
Simon Archer
Jazz Server Team
wouldn't it be easier to move the common/shared classes in its own project so they can be added as a dependency project or exported into a jar file? or are there more items that increases the complexity of this route?
ciao!
Symbolic links are now supported in RTC 2.0.0.2 in the UI and the command line interface (cli)
From the cli,
ln -s ./v2.0.0.2/readme.txt readme.txt
Changes to symbolic links are tracked, just like directory or file name changes.
We use symbolic links in ClearCase on Windows so many projects can link to a single copy of a library file stored in a shared component. I believe the symbolic link functionality in RTC 2.0.0.2 refers only to symbolic links in UNIX, and not the ability to share files across projects and components.
We use symbolic links in ClearCase on Windows so many projects can link to a single copy of a library file stored in a shared component. I believe the symbolic link functionality in RTC 2.0.0.2 refers only to symbolic links in UNIX, and not the ability to share files across projects and components.
We are working at pushing through the support for Vista/Windows 7 links in Eclipse & RTC for 3.0. But you are correct, we deal only with mapping Links to links on disk, and tracking the changes appropriately.