Hi,
I need to create a project (java or general project) in Eclipse, which
insists of existing sources. In the creation wizzard I can specify the
path to these sources. However, I want to use a variable within this
path, i.e. VAR_DIR\subdir.
The variable VAR_DIR is defined in Preferences->General->Workspace-
>Linked Resources.
Unfortunately Eclipse denies the creation of a project with this path,
because the path must specify a URI scheme.
Any suggestions how to get this done?
Thank you very much in advance.
Kind regards,
Andreas
voorth - 25 May 2007 09:07 GMT
On May 25, 9:11 am, rookeena...@gmail.com wrote:
> Hi,
>
[quoted text clipped - 15 lines]
> Kind regards,
> Andreas
Create a separate project for each possible value of VAR_DIR.
Add the output folder you need as class folder in the "libraries" tab
of the Java Build Path.
HTH,
Henk
rookeenator@gmail.com - 29 May 2007 07:23 GMT
> On May 25, 9:11 am, rookeena...@gmail.com wrote:
>
[quoted text clipped - 25 lines]
>
> Henk
Thanks for your reply. But I think that not really solves my problem.
I think further information will help:
I have a set of projects (~20) with individual preferences. The java
source files of all of these projects are located in a particular
folder in the file system, i.e. "C:\myFiles\". The subfolders are as
follows: "C:\myFiles\project1files", "C:\myFiles\project2files" and so
on...
Now I want to transfer all these files to another computer, so I copy
the eclipse workspace containing the project configuration and all of
the source files. But now the source files shall be located in i.e. "C:
\anotherDirectoy\".
That's why I thought a variable VAR_DIR would be advantageous, which
can be set to the base directory.
Any hints?
Thank you very much.
Andreas
andreas.windisch@gmail.com - 22 Jun 2007 07:45 GMT
On 29 Mai, 08:23, rookeena...@gmail.com wrote:
> > On May 25, 9:11 am, rookeena...@gmail.com wrote:
>
[quoted text clipped - 44 lines]
> Thank you very much.
> Andreas
Nobody?