I have a dependency X with a dll for use on windows and a so for use on
linux/*nix.

If I have 

....
conf runtime
Conf windows extends runtime 
Conf unix extends runtime
....

Artifact name ="x" type="jar" conf="runtime"
Artifact name ="y" type="dll" conf="windows"
Artifact name ="z" type="so" conf="unix"
....

I can refer to which one I want at anyone time.

However What I want is Ivy to automatically pick up this by its OS type.

EG I am running in eclipse and want to run Ant from there I select the
dependecny and use conf='default->windows'
When I run this in unix I have to manually change the ivy.xml file.

I should not need to do that.  It should automatically be able to choose
which one I need.  So the same ivy file works on any platform.

The sos are not even downloadable in windows and the dlls are not
available in unix.

Is there any solution to this?
Has anyone encountered this type of problem with JNI's and found a good
way around it?

Many thanks,

Alex Foreman
Morgan Stanley | Technology
20 Cabot Square | Canary Wharf | Floor 06
London, E14 4QW
Phone: +44 20 7677-5732
[EMAIL PROTECTED]
--------------------------------------------------------

NOTICE: If received in error, please destroy and notify sender. Sender does not 
intend to waive confidentiality or privilege. Use of this email is prohibited 
when received in error.

Reply via email to