Hi all,

I'm trying to create an interactive application which compiles ant file, and 
does several other things.
For this purpose I'm using Project and ProjectHelper ant classes.
In addition, I defined my own ant Task, which used native code:

public class IdentityTask extends MatchingTask {
 ....
        private native boolean CallIdentity();

        static {
                System.loadLibrary("...");
        }
.....
}


The first compilation is succeeded without any problems, the dll is loaded and 
the native code is called. But when the second compilation request is 
processed, the following exception is thrown:
>>>>sample.xml java.lang.UnsatisfiedLinkError: Native Library .... already 
>>>>loaded in another classloader

Please help.

***********************************************************************************
Information contained in this email message is intended only for use of the 
individual or entity named above. If the reader of this message is not the 
intended recipient, or the employee or agent responsible to deliver it to the 
intended recipient, you are hereby notified that any dissemination, 
distribution or copying of this communication is strictly prohibited. If you 
have received this communication in error, please immediately notify the [EMAIL 
PROTECTED] and destroy the original message.
***********************************************************************************

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

Reply via email to