[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[p2-dev] p2 and program launch args with line separator

Hi,

 

I want to add following program launch argument:

-arch

x86_64

 

When I exported product eclipse.ini file contained:

-arch

 

 

Note: x86_64 was replaced into blank

 

This caused p2 update error:

 

16:09:58,439 ERROR [A] Update, applying plan, status.getSeverity() == IStatus.ERROR, status=Status ERROR: org.eclipse.equinox.p2.engine code=4 An error occurred while unconfiguring the items to uninstall null children=[Status ERROR: org.eclipse.equinox.p2.engine code=0 session context was:(profile="" phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Unconfigure, operand=[R]toolingEclipse.ini.cocoa.macosx.x86_64 1.15.23 --> null, action="" null Status ERROR: org.eclipse.equinox.p2.engine code=0 String index out of range: 0 java.lang.StringIndexOutOfBoundsException: String index out of range: 0]

 

It was tested on MAC OS X 10.6.4 with eclipse 3.5.1 64 bit

 

Is there any way to workaround the problem (maybe I should do this in different way - how)?

Note: -args without line separator does not start exported product.

 

Cheers,

Mariusz Florek