|
Re: Platform independent target definition [message #1691433 is a reply to message #1549266] |
Tue, 07 April 2015 09:14 |
|
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
HOME: http://www.lorenzobettini.it
TDD Book: https://leanpub.com/tdd-buildautomation-ci
Xtext Book: https://www.packtpub.com/application-development/implementing-domain-specific-languages-xtext-and-xtend-second-edition
|
|
|
Powered by
FUDForum. Page generated in 0.02813 seconds