Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Platform independent target definition
Platform independent target definition [message #1549266] Tue, 06 January 2015 12:21 Go to next message
Bastian Wagenfeld is currently offline Bastian WagenfeldFriend
Messages: 183
Registered: January 2013
Senior Member
Hi,

our project is build with Tycho and should support several targets. To use the target definition with Tycho only software sites are used. When I select the option "Include all environments" I can select the needed swt libraries for different environments, but other plug-ins selected before are not available anymore. They are marked with "Required plug-in could not be found: [...]" and don't seem to be compatible with the "all environments" option.
Is it somehow possible to include both those not-available plug-ins as well?

Best regards and thanks for any kind of help
Bastian
Re: Platform independent target definition [message #1691433 is a reply to message #1549266] Tue, 07 April 2015 09:14 Go to previous message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member
On 06/01/2015 13:21, Bastian Wagenfeld wrote:
> Hi,
>
> our project is build with Tycho and should support several targets. To
> use the target definition with Tycho only software sites are used. When
> I select the option "Include all environments" I can select the needed
> swt libraries for different environments, but other plug-ins selected
> before are not available anymore. They are marked with "Required plug-in
> could not be found: [...]" and don't seem to be compatible with the "all
> environments" option. Is it somehow possible to include both those
> not-available plug-ins as well?
>
> Best regards and thanks for any kind of help
> Bastian

Hi Bastian

"Include all environments" and "Include required software" are mutually
exclusive, unfortunately (to be honest, I never understood why); but
with Tycho you can uncheck "Include all environment" and check "Include
required software" and then specify the environments you want to build
for directly in the pom.xml in the target-platform-configuration, e.g.,

<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho.version}</version>
<configuration>
<environments>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>x86</arch>
</environment>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>x86_64</arch>
</environment>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86</arch>
</environment>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86_64</arch>
</environment>
<environment>
<os>macosx</os>
<ws>cocoa</ws>
<arch>x86_64</arch>
</environment>
</environments>
</configuration>
</plugin>

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book


Previous Topic:Updating tableview from non-UI thread
Next Topic:Is it possible to "connect" Eclipse with an external Java application through a Plugin?
Goto Forum:
  


Current Time: Fri Apr 26 12:26:52 GMT 2024

Powered by FUDForum. Page generated in 0.02813 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top