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.

Maven and Eclipse pain
 Post subject: Maven and Eclipse pain Post rating: 0   New post Posted: Fri 11 May, 2012, 16:42 

User rating: 0
Joined: Thu 23 Jun, 2011, 07:26
Posts: 18
Location: United KingdomUnited Kingdom
I've followed the Dukascopy Maven instructions: https://www.dukascopy.com/wiki/#Use_with_Maven with only a slight change in that I've use the Eclipse recommended Maven plugin: https://www.eclipse.org/m2e/

Alas, I am not able to run the singlejartest/Main class using Dukascopy's instructions.
I've done some debugging and Main.class is not being generated. Being a bit of a Maven novice, I've experimented with some of the Maven goals like clean, compile and package but Eclipse can't find any of the .class files and as such whenever I do a 'Run As' on the Main.java file (as per instructions), I don't have the ability to run as a Java application.
If I set the 'Run Configurations' for this project, it can't find Main.class. Which is clearly where the problem is as it can't find where to invoke main() from.

Has anyone got the Maven stuff working as per Dukascopy's instructions? I'm using Eclipse Indigo on Linux.


 
 Post subject: Re: Maven and Eclipse pain Post rating: 0   New post Posted: Mon 14 May, 2012, 07:42 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Please uninstall m2e pluggin and repeat the process from the beginning using q4e pluggin.


 

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