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.

Commented @Library annotation
 Post subject: Commented @Library annotation Post rating: 0   New post Posted: Mon 06 Jun, 2011, 06:51 

User rating: 0
Joined: Wed 18 May, 2011, 08:40
Posts: 43
Location: RU
I have recognized that commented @Library annotation is not considered as commented.

My strategy has the following code:
// @Library("C:/Users/kyle/Documents/JForex/Strategies/jforexlib.jar")
@Library("C:/Documents and Settings/Administrator/My Documents/JForex/Strategies/jforexlib.jar")

And the result:
05:45:53 File C:\Users\kyle\Documents\JForex\Strategies\jforexlib.jar not found.
05:45:53 Compiling ExpertCandles.java

It's clear because there is no such path on the system C:\Users\kyle\Documents\JForex\Strategies\jforexlib.jar


 
 Post subject: Re: DDSJFX-468 commented @Library annotation Post rating: 0   New post Posted: Mon 20 Jun, 2011, 12:30 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
It is the case, however only the first annotation is read (whether commented out or not), so just try to swap the lines i.e.:
@Library("C:/Documents and Settings/Administrator/My Documents/JForex/Strategies/jforexlib.jar")
//@Library("C:/Users/kyle/Documents/JForex/Strategies/jforexlib.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