Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

how to use multiple @Library annotations?
 Post subject: how to use multiple @Library annotations? Post rating: 0   New post Posted: Wed 20 Dec, 2017, 15:25 
User avatar

User rating: 1
Joined: Sat 24 Sep, 2011, 12:11
Posts: 31
Location: China,
according to this instruction,for third party jar files, I am supposed to use @Library annotation,but how to use 2 or more jar files ?

https://www.dukascopy.com/wiki/en/devel ... -libraries

this is the error message prompted by jfoex IDE
Quote:
14:00:54 ----------
14:00:54 2 problems (2 errors)
14:00:54 ----------
14:00:54 2. ERROR in /home/emacsen/JForex/emacsen/jfxide/tmp/compile/SMASimpleStrategy.java (at line 9)
14:00:54 @Library("gson-2.8.2.jar")
14:00:54 ^^^^^^^^
14:00:54 Duplicate annotation @Library
14:00:54 ----------
14:00:54 1. ERROR in /home/emacsen/JForex/emacsen/jfxide/tmp/compile/SMASimpleStrategy.java (at line 7)
14:00:54 @Library("pyrolite-4.20.jar")
14:00:54 ^^^^^^^^
14:00:54 Duplicate annotation @Library


any of the jar files works well ,if I annotate them singly.


 
 Post subject: Re: how to use multiple @Library annotations? Post rating: 0   New post Posted: Fri 29 Dec, 2017, 15:49 

User rating: 18
Joined: Thu 20 Apr, 2017, 22:42
Posts: 165
Location: Russian Federation,
use ';'-separated list, e.g. @Library("lib1.jar;lib2.jar")


 

Jump to:  

cron
  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com