Linke to folder in teh file system - problem [message #642420] |
Wed, 01 December 2010 09:31 |
dbrich Messages: 17 Registered: March 2010 Location: Austria |
Junior Member |
|
|
Hi,
I have two projects using the same package structure, means the high qualifier is the same (in my case "rnd"). I need to use classes from one project in the other (but not via jar, as they are still "work in progress") - so I wanted to create a "link to folder in the file system" - unfortunately it fails.
In the project I create the link into are packages like "rnd.rap" and "rnd.views", the linked classes are in package "rnd.sockets".
It seems the link-process tries to create the directory "rnd", but it already exists, so the link-creation fails, instead of simply reusing the existing dir.
My work-around is to create the link in the OS (which is no problem in Linux, but would be one on Windows) - nevertheless I feel this is a bug and should work - but being an Eclipse beginner I want to check first, maybe I didn't understand some concept yet.
Any ideas, comments or suggestions?
Thanks
Richard
|
|
|
Re: Linke to folder in teh file system - problem [message #642524 is a reply to message #642420] |
Wed, 01 December 2010 16:26 |
Deepak Azad Messages: 543 Registered: July 2009 |
Senior Member |
|
|
On 12/1/2010 3:01 PM, dbrich wrote:
> Hi,
> I have two projects using the same package structure, means the high
> qualifier is the same (in my case "rnd"). I need to use classes from one
> project in the other (but not via jar, as they are still "work in
> progress") - so I wanted to create a "link to folder in the file system"
> - unfortunately it fails. In the project I create the link into are
> packages like "rnd.rap" and "rnd.views", the linked classes are in
> package "rnd.sockets".
> It seems the link-process tries to create the directory "rnd", but it
> already exists, so the link-creation fails, instead of simply reusing
> the existing dir.
>
> My work-around is to create the link in the OS (which is no problem in
> Linux, but would be one on Windows) - nevertheless I feel this is a bug
> and should work - but being an Eclipse beginner I want to check first,
> maybe I didn't understand some concept yet.
>
> Any ideas, comments or suggestions?
>
> Thanks
> Richard
Why don't you just add one project to the build path of the other ?
|
|
|
|
|
|
Re: Linke to folder in teh file system - problem [message #642774 is a reply to message #642705] |
Thu, 02 December 2010 16:26 |
Deepak Azad Messages: 543 Registered: July 2009 |
Senior Member |
|
|
On 12/2/2010 6:30 PM, dbrich wrote:
> Please, bear with me as I am new to these technologies.
> Yes, I am developing a plug-in for a RAP (and RCP) target. But I also
> have some packages I need in this plug-in which I developed in plain
> Java (sockets and other utilities). I do not want to add them to the
> target, as that has to be done in a jar and is therefore not very
> flexible - the project is in start and I do make still changes to these
> classes on the go if I need it for the plug-in.
Right, the target contains already existing plug-ins.
> The source for these
> classes is actually in a SVN repository - my first idea was to create
> two additional projects and add them into the build path.That didn't
> work - I am actually getting syntax errors, as Eclipse does not find the
> classes even during coding.
What were the errors? This should have worked... maybe the classes were
not public? (Note that you could convert your plain java
projects/classes into a plug-in, just to use the plug-in dependency
mechanism.)
> Second idea was to add them as a external link - which also didn't work.
> Is there maybe other way to do it? I do not need the classes in a
> separate project in this workspace, but I didn't find any way to add a
> package from SVN (I do not want to add the classes, because there are
> too many to do it one by one).
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04591 seconds