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.

compiling my strategy in eclipse using ANT
 Post subject: compiling my strategy in eclipse using ANT Post rating: 0   Post Posted: Wed 23 Nov, 2011, 04:24 

User rating: 0
Joined: Tue 22 Nov, 2011, 12:47
Posts: 130
Location: United States,
Is it possible to compile my strategy using ANT scripting. Is JFX just a jar with different file extension?

If so - can someone point me to some sample build scripts?

Also - is it possible to drop the jfx in a specific folder so that it is loaded dynamically into JForex without the need to manually re-install the strategy?

Finally - can we declare the strategy in our own package/namespace and not in a flat package as in all the samples? (ie com.company.indi...)


 
 Post subject: Re: compiling my strategy in eclipse using ANT Post rating: 0   Post Posted: Wed 23 Nov, 2011, 09:00 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
cb888trader wrote:
Is it possible to compile my strategy using ANT scripting. Is JFX just a jar with different file extension?
No it is not possible - the customized compiler is not available from API.
cb888trader wrote:
Also - is it possible to drop the jfx in a specific folder so that it is loaded dynamically into JForex without the need to manually re-install the strategy?
What do you mean by manually re-installing the strategy? You can either of two:
1) Determine the strategy folder in Tools -> Preferences -> Advanced your working directory the package path that you use in Eclipse. And from then on open your strategies from that particular folder.
2) Open strategies by their full path in Eclipse in Workspace -> Strategies -> Open Strategy.
cb888trader wrote:
Finally - can we declare the strategy in our own package/namespace and not in a flat package as in all the samples? (ie com.company.indi...)
You can call your package whatever you like.


 

Jump to:  

  © 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