-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Eric,

> It should be a type, I agree. But if you are trying to keep moving, I just
> drop the dll in the repo directory with the GWT jar.
Thanks for the hint. This works for the GWT but NOT for a raw SWT project.
> 
> Eric
Regards
  Jörg
> 
> On 4/6/07, Joerg Hohwiller <[EMAIL PROTECTED]> wrote:
>>
> Hi there,
> 
> I have already used SWT and GWT together with maven. Both need native
> system
> libraries at some specific point. This causes trouble when running code (
> e.g.
> test-cases) with maven.
> 
> Are there any plans to add dependencies with <type>dll</type> (or
> <type>so</type>) to java.library.path?
> 
> For system libraries however the name cares when it is loaded from
> something
> that I can not control (foo-1.0.jar loads foo.dll and it can not be named
> foo-1.0.dll).
> Is there a way to put various artifacts with different versions but the
> same
> file-name into a maven repository? In other words: The filename of an
> artifact
> is automatically derived from artifactId, version, classifier and
> type. Is
> there
> a way to override this default behaviour and specify an explicit name?
> Example:
> 
> org/eclipse/swt/swt-win32/3.2.1/swt-win32.dll
> org/eclipse/swt/swt-win32/3.2.2/swt-win32.dll
> 
> <dependency>
>   <groupId>org.eclipse.swt</groupdId>
>   <artifactId>swt-win32</artifactId>
>   <version>3.2.2</version>
>   <type>dll</type>
>   <scope>runtime</scope>
>   <!-- something like this -->
>   <filename>swt-win32.dll</filename>
> </dependency>
> 
> Thanks
>   Jörg
>>
- ---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGFqSVmPuec2Dcv/8RAgVJAKCHDiFlqqypM5I7/F5HFNzPYSHLpQCfXSqs
cc85ajbba0+YNQDCCkT/trc=
=IxmV
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to