Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suppress warnings from tycho about default env #259

Closed
lausdahl opened this issue Jan 22, 2014 · 2 comments
Closed

Suppress warnings from tycho about default env #259

lausdahl opened this issue Jan 22, 2014 · 2 comments
Assignees
Labels
enhancement Not a bug, but nice to have
Milestone

Comments

@lausdahl
Copy link
Member

Tycho issues a warning when no target env is specified. An easy fix would be to add the current env since this is what it defaults to.

@joey-coleman
Copy link
Member

[copying text from commit in]

Change the profiles in ide/pom.xml to

  • Autodetect mac and linux as well as windows
  • Build both 32/64bit versions for win and linux (only 64bit for mac)

Maven uses OR on activation conditions (despite being documented as AND)
so the original (windows && 64bit) condition was activating on all 64bit
machines. We now activate only on os type, but build both versions.

Building for all platforms now requires -Pall-platforms -P!mac (or
whichever platform) to disable to autodetected profile (note that the !
needs to be escaped in a bash shell, as -P!mac).

joey-coleman added a commit that referenced this issue Jan 23, 2014
architecture (32 vs 64bit).  Ordering of profiles is such that the
-Pall-platforms will supersede the autoactivated profiles on most
machines.

(really) Fixes #259
@joey-coleman
Copy link
Member

Using -P!mac etc seems no longer necessary on my machine (it wasn't on kenneth's or the buildserver, but...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Not a bug, but nice to have
Projects
None yet
Development

No branches or pull requests

2 participants