Hello,
I have been getting an error when trying to import multiple libraries using linux style file names and the @Library() annotation.
For example, I downloaded the example code from the related wiki article:
https://www.dukascopy.com/wiki/index.php?title=Include_librariesThen I exported mychart.jar and changed the line in ChartTest.java:
@Library("C:/temp/mychart.jar;C:/temp/jcommon-1.0.16.jar;C:/temp/jfreechart-1.0.13.jar")
so that it uses linux style file names
@Library("/home/john/Documents/mychart.jar;/home/john/Documents/jfreechart-1.0.14/lib/jcommon-1.0.17.jar;/home/john/Documents/jfreechart-1.0.14/lib/jfreechart-1.0.14.jar")
Then when compiling I get the error:
Quote:
11:47:51 File /home/john/Documents/mychart.jar;/home/john/Documents/jfreechart-1.0.14/lib/jcommon-1.0.17.jar;/home/john/Documents/jfreechart-1.0.14/lib/jfreechart-1.0.14.jar not found.
It seems that the entire string is being interpreted as a single file name.
Perhaps that is because ';' is a valid character in a linux file name so the whole string is a valid file name.
I tried using other characters as the separator but still got errors.
Does anyone know of a fix or workaround?
BTW my flavour of linux is Ubuntu 10.04 LTS 64bit but that shouldn't matter here...
Cheers

John