ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bao-Long Nguyen Trong <bao-l...@viafone.com>
Subject Ant, Junit and native llibrary
Date Wed, 23 Jan 2002 18:43:54 GMT
Hi,

I have a problem when using the optional JUnit task when testing classes
that use native code.

The first test case of the batch would run fine but any subsequent test case
that use the same native library would throw an UnsatisfiedLinkError. Per
the error message, I suspect a classloading problem but was not ablt to
figure out a workaround.
I tried forking but had problems with the classpath. The tests would
ultimatly run but would not produce any results.

Can someone help? Thanks in advance.

Bao-Long

------

Ant version: 1.4.1

Error message: 
UnsatisfiedLinkError loading library: <lib name> Library <lib location>
already loaded in another classloader





--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message