The ABCs of workspace organization [message #916110] |
Tue, 18 September 2012 10:47  |
Eclipse User |
|
|
|
I've downloaded eclipse-orion-1.0M1-linux.gtk and have installed it locally. Everything seems to work, including Git cloning of repositories.
The challenge is that the directory names on disk do not match the names of the repositories. Instead of seeing {workspace}/org, and {workspace}/eclipse.org-common, I'm seeing {workspace}/C and {workspace}/Q
What I need to be able to do is have the names of these folders match the names of the repositories, so that I can point my webserver at the root and test some PHP files locally. i.e., I need to point the DocRoot of my Apache server to {workspace}.
The files that I'm testing are PHP. A file from one repository, say org/index.php needs to import {serverRoot}/eclipse.org-common/classes/App.class.php. Sometimes we access using relative urls (e.g. ../eclipse.org/common/classes/App.class.php).
Is there a setting that will make this happen?
Thanks,
Wayne
|
|
|
|
Re: The ABCs of workspace organization [message #917074 is a reply to message #916236] |
Wed, 19 September 2012 15:49  |
Eclipse User |
|
|
|
The quick and dirty solution seems to be to create link to the directory
with the required name. For our purposes, this is all that we need to
make this work with a local installation of Orion.
This will be a bigger issue to solve when we try to make a shared Orion
install for this sort of thing.
FWIW, I tried setting Orion to the 'tree' layout figuring that maybe
that might work (of course, if that would have worked, you would have
suggested it, right?).
Wayne
On 09/18/2012 03:32 PM, John Arthorne wrote:
> In a word, "no". The Orion server is designed to be multi-user, so using
> actually project names on disk would inevitably result in collisions
> between users. This isn't my area of expertise, but I think you need to
> be using org.eclipse.jetty.servlets.CGI, so that the PHP processing is
> operating on the files as served up by jetty rather than a particular
> disk layout. Gunnar suggested this in a bug or mailing list discussion
> that I am now failing to track down. I suggest entering a bug if there
> isn't one already, and CC Gunnar and Simon Kaegi.
>
> John
|
|
|
Powered by
FUDForum. Page generated in 0.06471 seconds