[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] Long pathnames in product (p2/org.eclipse.equinox.p2.engine/...)

This file includes the values that p2 has encountered for the jvmargs (e.g. memory settings). It is used to help figure out the value that needs to stay in the eclipse.ini when an IU is uninstalled.
It may be possible to remove it in your specific case, but I would have to see the file.
As for shortening the path, this is something that could be done in p2 itself, but not something that would happen overnight and would require a lot of backward compatibility code.


On 09/25/2013 04:48 AM, Andreas Sewe wrote:
[taking the discussion here from tycho-users]

Hi,

my product ZIP (built with Tycho) contains one very long pathname (145
characters)


p2/org.eclipse.equinox.p2.engine/profileRegistry/DefaultProfile.profile/.data/org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions/jvmargs

which causes problems when unpacking into directories which themselves
have rather long names on some operating systems (path names being
restricted to 255 characters).

Is there a way to either avoid the creation of this file (BTW, what is
it good for?) or to at least shave off a couple of characters of the path?

Best wishes,

Andreas