Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsPDE build workspace location
https://www.eclipse.org/forums/index.php/mv/msg/358756/881581/#msg_881581
If the directory doesn't exist, the PDE build creates it. That's good, since to make sure I get a clean build, I'll delete any existing "workspace" directory.
Is there a way to configure the location of the "workspace" directory the PDE build uses? And what part of the build process is creating it, anyway?
]]>Glenn Burkhardt2012-06-04T21:41:04-00:00Re: PDE build workspace location
https://www.eclipse.org/forums/index.php/mv/msg/358756/881858/#msg_881858
As a workaround you could try launching your build with: -data $HOME/buildWorkspace
PW
]]>Paul Webster2012-06-05T11:47:06-00:00Re: PDE build workspace location
https://www.eclipse.org/forums/index.php/mv/msg/358756/881872/#msg_881872
And thanks, your suggestion works.
What program uses "-data"? I haven't been able to find it documented anywhere.]]>Glenn Burkhardt2012-06-05T12:06:53-00:00Re: PDE build workspace location
https://www.eclipse.org/forums/index.php/mv/msg/358756/881876/#msg_881876
Glenn Burkhardt2012-06-05T12:09:31-00:00Re: PDE build workspace location
https://www.eclipse.org/forums/index.php/mv/msg/358756/882293/#msg_882293
I'm not aware that PDE headless build uses workspace (in sense of
workspace that you are choosing at the Eclipse IDE launch time).
It's a bad practice to share this folder for both Eclipse IDE and PDE
headless build.
On 06/04/2012 11:41 PM, Glenn Burkhardt wrote:
> I notice that PDE headless builds make use of the directory "workspace"
> in the user's home directory. This can cause a conflict if the same
> directory is being used for development with Eclipse.
>
> If the directory doesn't exist, the PDE build creates it. That's good,
> since to make sure I get a clean build, I'll delete any existing
> "workspace" directory.
>
> Is there a way to configure the location of the "workspace" directory
> the PDE build uses? And what part of the build process is creating it,
> anyway?
>]]>Libor Jelinek2012-06-06T07:43:01-00:00Re: PDE build workspace location
https://www.eclipse.org/forums/index.php/mv/msg/358756/882386/#msg_882386
> workspace that you are choosing at the Eclipse IDE launch time).
The PDE builder uses a directory named "workspace" in ${user.home} to copy some info about plugins its using. If the directory doesn't exist, it's created.
> It's a bad practice to share this folder for both Eclipse IDE and PDE
> headless build.
Agreed, and that's why I wanted a way to specify exactly where the PDE build workspace is, so that building was controlled and wasn't affected by other things.
There are two ways.
1. Use "-data" to explicitly specify a directory, which by the way, doesn't need to be called "workspace".
2. Set the property "user.home" on the command line. The workspace directory used will be "${user.home}/workspace".
]]>Glenn Burkhardt2012-06-06T11:13:17-00:00Re: PDE build workspace location
https://www.eclipse.org/forums/index.php/mv/msg/358756/883452/#msg_883452
Glenn Burkhardt wrote on Tue, 05 June 2012 08:06
What program uses "-data"? I haven't been able to find it documented anywhere.
That's part of the standard eclipse framework set of options.