The exported product will be specific to x86 or x86_64 and can't really be 
switched back and forth. 

Unless you are doing a cross platform export,  I believe this is based on 
the Target Platform's Environment setting which by default should be the 
same as the running eclipse.

Check Preferences -> Plug-in Development -> Target Platform -> Edit -> 
Environment to see what your settings are.

-Andrew




From:
"Mariusz Florek" <[email protected]>
To:
"'P2 developer discussions'" <[email protected]>
Date:
05/25/2011 04:03 AM
Subject:
Re: [p2-dev] p2 update - force specific arch update
Sent by:
[email protected]



To run product on MAC OS X 10.6.4 32 bit I had to add program arg (to 
eclipse.ini):
-arch
x86
 
Every arch properties (osgi.*, etc.) pointed after application start to 
correct architecture but p2 update downloads and applies artifact from 
x86_64 architecture
 
From: [email protected] [mailto:[email protected]] On 
Behalf Of Thomas Kratz
Sent: Wednesday, May 25, 2011 8:34 AM
To: P2 developer discussions
Subject: Re: [p2-dev] p2 update - force specific arch update
 
That's not good to learn. I guess I will have the same problem then with 
my next release.
2011/5/24 Mariusz Florek <[email protected]>
Thomas,
 
Thank you for a hint - but it does not change anything ;(
 
Cheers,
 
From: [email protected] [mailto:[email protected]] On 
Behalf Of Thomas Kratz
Sent: Tuesday, May 24, 2011 6:55 PM
To: P2 developer discussions
Subject: Re: [p2-dev] p2 update - force specific arch update
 
I guess you have to launch java with the 32 bit parameter on 10.6. look at 
my jnlp files at www.buchmanager.com/installer/installer.jnlp
 
Thomas
 
2011/5/24 Mariusz Florek <[email protected]>
I use eclipse 3.5.1. Product is generated from 64 bit version using 
following settings:
baseos=macosx
basews=cocoa
basearch=x86
 
From: [email protected] [mailto:[email protected]] On 
Behalf Of Mariusz Florek
Sent: Tuesday, May 24, 2011 6:08 PM
To: [email protected]
Subject: [p2-dev] p2 update - force specific arch update
 
Hi,
 
My environment:
MAC OS X; 10.6.4; 32 bit
 
I exported an eclipse product.
I run it with following program args (because it uses 32 bit java and 
arch):
-arch
x86
 
When p2 update is performed launcher is downloaded from x86_64 
architecture.
 
How to force p2 update to use x86 architecture?
 
I tried to add:
-p2.arch x86
to eclipse.ini files (with no changes)
 
Regards,
Mariusz
 

_______________________________________________
p2-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/p2-dev
 

_______________________________________________
p2-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/p2-dev
 _______________________________________________
p2-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/p2-dev


_______________________________________________
p2-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/p2-dev

Reply via email to