Hello Support,
in my strategy I need to use many external libraries.
In order to just list one of them in the
@Library annotation, I added the Class-Path tags for all the other needed libraries in the manifest file.
But when compiling to .jfx, I see lots of
ClassNotFoundException for all the classes which should be in the classpath.
Example:
In the strategy I have
@Library("MyJar1.jar")
In the manifest of MyJar1.jar there is this attribute:
Class-Path: MyJar2.jar
MyJar2.jar is in the same folder as MyJar1.jar.
When trying to compile, JForex complains about missing classes in MyJar2.jar.
The only fix is to write
@Library("MyJar1.jar;MyJar2.jar")
but I don't like this approach. The list gets
very long and the compiled .jfx file is almost 500MB in size with all libraries included.
Why is the manifest attribute
Class-Path of MyJar1.jar ignored?
Thx,
Juergen