-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi there,
I am using SWT in my maven project. Now I have two major problems:
1. There are different JARs required depending on the OS:
swt-win32 for Windows and swt-linux-gtk for linux, etc.
Now I tried to definie these using profiles:
<profiles>
<profile>
<id>linux</id>
<activation>
<os>
<family>Linux</family>
</os>
</activation>
<dependencies>
<dependency>
<groupId>swt</groupId>
<artifactId>swt-linux-gtk</artifactId>
<version>3.2.1</version>
<scope>compile</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>windows</id>
<activation>
<os>
<family>Windows</family>
</os>
</activation>
<dependencies>
<dependency>
<groupId>swt</groupId>
<artifactId>swt-win32</artifactId>
<version>3.2.1</version>
<scope>compile</scope>
</dependency>
</dependencies>
</profile>
</profiles>
when I do "mvn eclipse:eclipse" then both win32 and linux-gtk JARs are added to
the classpath. Is this a bug or did I get something wrong?
2. SWT also requires native libraries (dll/so files). Is there a proper way how
to put native libs into a repository and define them as dependency?
Thank you very much...
Regards
Jörg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFFbf7GmPuec2Dcv/8RAo/0AJ9+ccQZPUvDdPwStNnX8SoMqqlErgCfVQdA
7zBeKSLQKMsjWFRvu0AxlvQ=
=JN8X
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]