You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-user@ant.apache.org by Robin Krahl <me...@robin-krahl.de> on 2012/05/04 20:48:25 UTC
Different dependencies for each operating system (SWT)
Hi!
Reading the documentation and looking for users with the same problem, I
unfortunately did not find a solution for this problem:
I have to use different dependencies for each operating system and
architecture. SWT provides maven packages with the scheme:
- Windows 32-bit:
org: org.eclipse.swt.win32.win32
name: x86
- Linux 64-bit:
org: org.eclipse.swt.gtk.linux
name: x86_64
etc. How can I produce this behaviour in Ivy?
Thanks for your support!
Robin
Re: Different dependencies for each operating system (SWT)
Posted by Tom McGlynn <tm...@ieee.org>.
Use configurations - something like:
<dependency org="org.eclipse.swt.win32.win32" name="x86"
rev="latest.release" conf="x86"/>
<dependency org="org.eclipse.swt.gtk.linux" name="x86_64"
rev="latest.release" conf="x86_64"/>
On Fri, May 4, 2012 at 2:48 PM, Robin Krahl <me...@robin-krahl.de> wrote:
> Hi!
>
> Reading the documentation and looking for users with the same problem, I
> unfortunately did not find a solution for this problem:
>
> I have to use different dependencies for each operating system and
> architecture. SWT provides maven packages with the scheme:
>
> - Windows 32-bit:
> org: org.eclipse.swt.win32.win32
> name: x86
>
> - Linux 64-bit:
> org: org.eclipse.swt.gtk.linux
> name: x86_64
>
> etc. How can I produce this behaviour in Ivy?
>
> Thanks for your support!
>
> Robin
>
>