Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Configuring Eclips to work from multiple directories containing same files
Configuring Eclips to work from multiple directories containing same files [message #183555] Mon, 25 October 2004 14:44 Go to next message
Eclipse UserFriend
Originally posted by: samuel.bercovici.veritas.com

Hi all,
This explanation is a bit long since I want to explain what I am trying to
achieve before I ask the technical question.

We work in the following way:
We have one directory which is shared that contains the current stable
source files with read only permissions.
The shared directory is a mirror of the source safe. I will call this shared
directory s:

When a developer wants to modify/add source he then checks out the files to
a private directory. I will call the private directory l:

The developer develops his code while compiling everything against the
mirrored s:.
This means that when he checks his code back, the code is already integrated
with what is currently in the source safe.

Can I define a project in Eclipse which takes the files from two directories
(l: and s:) and first compiles from l: then from the s:?
Now since l: contains the private in development file that already exists in
s: the compiler need not complain regarding duplicate files.

Regards,
-Sam.
Re: Configuring Eclips to work from multiple directories containing same files [message #183937 is a reply to message #183555] Sun, 31 October 2004 03:59 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: samuel.bercovici.veritas.com

Alternatively,
Can anyone point to what java code need to be changed to enable the
functionality below?

-Sam.

"Samuel Bercovici" <samuel.bercovici@veritas.com> wrote in message
news:cljgvt$b56$1@eclipse.org...
> Hi all,
> This explanation is a bit long since I want to explain what I am trying to
> achieve before I ask the technical question.
>
> We work in the following way:
> We have one directory which is shared that contains the current stable
> source files with read only permissions.
> The shared directory is a mirror of the source safe. I will call this
shared
> directory s:
>
> When a developer wants to modify/add source he then checks out the files
to
> a private directory. I will call the private directory l:
>
> The developer develops his code while compiling everything against the
> mirrored s:.
> This means that when he checks his code back, the code is already
integrated
> with what is currently in the source safe.
>
> Can I define a project in Eclipse which takes the files from two
directories
> (l: and s:) and first compiles from l: then from the s:?
> Now since l: contains the private in development file that already exists
in
> s: the compiler need not complain regarding duplicate files.
>
> Regards,
> -Sam.
>
>
>
Re: Configuring Eclips to work from multiple directories containing same files [message #183990 is a reply to message #183555] Mon, 01 November 2004 13:34 Go to previous message
Eclipse UserFriend
Originally posted by: Adalbert.Homa.metavante.com

Samuel Bercovici wrote:

> Can I define a project in Eclipse which takes the files from two directories
> (l: and s:) and first compiles from l: then from the s:?
> Now since l: contains the private in development file that already exists in
> s: the compiler need not complain regarding duplicate files.

No.

You will never make this model work.
You do not need 2 copies of the same file. Eclipse will complain and it
should.
You should completely ignore the shared directory, and create one working
directory structure. Files that you checkout will be read write, files
that you do not modify will be read only.

Every version control system that I know is working this way, as much as I
remember Source Safe will work the same.
Keep in mind that Source Safe was designed to work with C/C++ and C#
files, and the development environent from MS does not need with 2
directories.
Previous Topic:Feature request: Run/Debug configurations (+)
Next Topic:breakpionts in JDT
Goto Forum:
  


Current Time: Mon Jul 14 23:52:18 EDT 2025

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

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

Back to the top