Hi,
we prepared custom jar file. It consist only of one class
TestingOutput, which simply prints on the java console: "
Printed from jar". Here is source code for the TestingOutput class:
package com.dukascopy.test;
public class TestingOutput {
public static void println(){
System.out.println(" Printed from jar ");
}
}
And here is a source code for the strategy.
. . .
import com.dukascopy.test.*;
. . .
@Library("C://Temp//test.jar")
public class Strategy implements IStrategy {
public void onStart(IContext context) throws JFException {
TestingOutput.println();
}
. . .