Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Rootfiles and OSX

On 11 May 2016, at 16:45, Felix B <felix.barnsteiner@xxxxxxxxx> wrote:

But on OSX the root is and the workspace is not in but 

In fact the workspace is usually not in the .app folder at all: if it were, then when the user drags the app to the trash to delete it they would lose all their work. Not sure why you are defaulting to that location?

I could solve my javaagent problem by specifying a custom .ini for OSX containing -javaagent:../Eclipse/byte-buddy-agent-1.3.19.jar.

Probably a reasonable way to do it, though you might want to consider putting it in the plugins directory along with all the other jars. See how the eclipse.ini refers to the launcher jar, which is in the plugins directory as well. 

The -data is never likely to be set to inside the eclipse folder for the reasons I outlined above. I think the EPP and SDK use @user.home@/workspace somewhere but it's been a while since I needed to change that. 

How should we proceed now? Create an issue? 

It's not clear to me what it is that you are trying to do. If you want to find the plugins/ folder, for example, so that you can add a flag in the product properties then there may be a better way than assuming a particular file layout. But it's worth asking by a bug when get platform location should be the directory that contains the executable or the directory that contains eclipse.ini and friends because these are different places in OS X. 


Back to the top