PDE build workspace locationhttps://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 locationhttps://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

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 locationhttps://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 locationhttps://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.