Discussion:
[tycho-user] Build only local platform
Felix Dorner
2018-01-04 16:54:16 UTC
Permalink
Hi,

if there are multiple <environment>s in the pom, is there a way to ignore
these, so that tycho only builds for the current platform, i.e. effectively
force the "Build is platform dependent" warning?

Thanks,
Felix
--
Linux. The choice of a GNU generation.
Justin Georgeson
2018-01-04 17:14:42 UTC
Permalink
I use profiles that activate on the local os/arch to configure for the current platform and a separate profile for all supported platforms that I activate with -P in my CI pipeline when building features and products.

From: tycho-user-***@eclipse.org [mailto:tycho-user-***@eclipse.org] On Behalf Of Felix Dorner
Sent: Thursday, January 4, 2018 10:54 AM
To: Tycho user list <tycho-***@eclipse.org>
Subject: [EXTERNAL] [tycho-user] Build only local platform

External Sender: Use caution with links/attachments.

Hi,
if there are multiple <environment>s in the pom, is there a way to ignore these, so that tycho only builds for the current platform, i.e. effectively force the "Build is platform dependent" warning?

Thanks,
Felix
--
Linux. The choice of a GNU generation.

----------------------------------------------------------------------
This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message.
Felix Dorner
2018-01-04 17:38:45 UTC
Permalink
Oh. If I already have 3 profiles, would I need 3 more for the local builds?
Or can I activate multiple profiles at once and they'll combine somehow?

Felix

On Thu, Jan 4, 2018 at 6:14 PM, Justin Georgeson <
Post by Justin Georgeson
I use profiles that activate on the local os/arch to configure for the
current platform and a separate profile for all supported platforms that I
activate with -P in my CI pipeline when building features and products.
eclipse.org] *On Behalf Of *Felix Dorner
*Sent:* Thursday, January 4, 2018 10:54 AM
*Subject:* [EXTERNAL] [tycho-user] Build only local platform
*External Sender: Use caution with links/attachments.*
Hi,
if there are multiple <environment>s in the pom, is there a way to ignore
these, so that tycho only builds for the current platform, i.e. effectively
force the "Build is platform dependent" warning?
Thanks,
Felix
--
Linux. The choice of a GNU generation.
------------------------------
This e-mail, including any attached files, may contain confidential and
privileged information for the sole use of the intended recipient. Any
review, use, distribution, or disclosure by others is strictly prohibited.
If you are not the intended recipient (or authorized to receive information
for the intended recipient), please contact the sender by reply e-mail and
delete all copies of this message.
_______________________________________________
tycho-user mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user
--
Linux. The choice of a GNU generation.
Justin Georgeson
2018-01-04 17:54:31 UTC
Permalink
I'm not expressly disabling the per-platform profiles (the ones which auto-activate based on os/arch) in CI, so it appears to be properly (or at least as a happy accident) merging the config when I active the all-platforms profile with -P.

From: tycho-user-***@eclipse.org [mailto:tycho-user-***@eclipse.org] On Behalf Of Felix Dorner
Sent: Thursday, January 4, 2018 11:39 AM
To: Tycho user list <tycho-***@eclipse.org>
Subject: Re: [tycho-user] [EXTERNAL] Build only local platform

External Sender: Use caution with links/attachments.

Oh. If I already have 3 profiles, would I need 3 more for the local builds? Or can I activate multiple profiles at once and they'll combine somehow?
Felix

On Thu, Jan 4, 2018 at 6:14 PM, Justin Georgeson <***@halliburton.com<mailto:***@halliburton.com>> wrote:
I use profiles that activate on the local os/arch to configure for the current platform and a separate profile for all supported platforms that I activate with -P in my CI pipeline when building features and products.

From: tycho-user-***@eclipse.org<mailto:tycho-user-***@eclipse.org> [mailto:tycho-user-***@eclipse.org<mailto:tycho-user-***@eclipse.org>] On Behalf Of Felix Dorner
Sent: Thursday, January 4, 2018 10:54 AM
To: Tycho user list <tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>>
Subject: [EXTERNAL] [tycho-user] Build only local platform

External Sender: Use caution with links/attachments.
Hi,
if there are multiple <environment>s in the pom, is there a way to ignore these, so that tycho only builds for the current platform, i.e. effectively force the "Build is platform dependent" warning?

Thanks,
Felix
--
Linux. The choice of a GNU generation.
________________________________
This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message.

_______________________________________________
tycho-user mailing list
tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user<https://urldefense.proofpoint.com/v2/url?u=https-3A__dev.eclipse.org_mailman_listinfo_tycho-2Duser&d=DwMFaQ&c=PskvixtEUDK7wuWU-tIg6oKuGYBRbrMXk2FZvF0UfTo&r=IaG729QyGh1osYCbh8OX9axItHyepxef_hVPx52Ly1s&m=ud1e5w1Z2aQF71XPeJEBvShgZDLHMGhjRpF3J_b7URY&s=wPehn8szqjRz7uX-y2kLUB6SSn7X55FLl7g3GOEHwHc&e=>
--
Linux. The choice of a GNU generation.
Loading...