timolson / cointrader

Coin Trader is a Java-based backend for algorithmically trading cryptocurrencies. It provides data collection and export, complex event processing and triggering, and backtesting - paper trading - live trading.
Other
450 stars 166 forks source link

Latest master cannot build with mvn #130

Closed buffxz closed 8 years ago

buffxz commented 8 years ago

It might have some issue with the xchange dependency. Can you help to fix it? Thanks.

The latest working one for me is 05b3319

buffxz commented 8 years ago

this is the error:

[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] cointrader/src/main/java/org/cryptocoinpartners/schema/SpecificOrder.java:[40,53] cannot find symbol
  symbol: class SpecOrder
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.890 s
[INFO] Finished at: 2016-02-23T22:32:48-08:00
[INFO] Final Memory: 27M/276M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project cointrader: Compilation failure
[ERROR] cointrader/src/main/java/org/cryptocoinpartners/schema/SpecificOrder.java:[40,53] cannot find symbol
[ERROR] symbol: class SpecOrder
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
douggie commented 8 years ago

this is just some old code, it shoudl complie, let me remove it.

On Wed, Feb 24, 2016 at 6:33 AM, Xu Zhuo Joshua notifications@github.com wrote:

this is the error:

[ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] cointrader/src/main/java/org/cryptocoinpartners/schema/SpecificOrder.java:[40,53] cannot find symbol symbol: class SpecOrder [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 10.890 s [INFO] Finished at: 2016-02-23T22:32:48-08:00 [INFO] Final Memory: 27M/276M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project cointrader: Compilation failure [ERROR] cointrader/src/main/java/org/cryptocoinpartners/schema/SpecificOrder.java:[40,53] cannot find symbol [ERROR] symbol: class SpecOrder [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

— Reply to this email directly or view it on GitHub https://github.com/timolson/cointrader/issues/130#issuecomment-188102413 .

douggie commented 8 years ago

Humm, this shoudl work have you get the specOrder class in you build path?

On Wed, Feb 24, 2016 at 7:39 AM, Douggie melville-clarke < douggie@melvilleclarke.com> wrote:

this is just some old code, it shoudl complie, let me remove it.

On Wed, Feb 24, 2016 at 6:33 AM, Xu Zhuo Joshua notifications@github.com wrote:

this is the error:

[ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] cointrader/src/main/java/org/cryptocoinpartners/schema/SpecificOrder.java:[40,53] cannot find symbol symbol: class SpecOrder [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 10.890 s [INFO] Finished at: 2016-02-23T22:32:48-08:00 [INFO] Final Memory: 27M/276M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project cointrader: Compilation failure [ERROR] cointrader/src/main/java/org/cryptocoinpartners/schema/SpecificOrder.java:[40,53] cannot find symbol [ERROR] symbol: class SpecOrder [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

— Reply to this email directly or view it on GitHub https://github.com/timolson/cointrader/issues/130#issuecomment-188102413 .

douggie commented 8 years ago

fix cheked in

On Wed, Feb 24, 2016 at 7:41 AM, Douggie melville-clarke < douggie@melvilleclarke.com> wrote:

Humm, this shoudl work have you get the specOrder class in you build path?

On Wed, Feb 24, 2016 at 7:39 AM, Douggie melville-clarke < douggie@melvilleclarke.com> wrote:

this is just some old code, it shoudl complie, let me remove it.

On Wed, Feb 24, 2016 at 6:33 AM, Xu Zhuo Joshua <notifications@github.com

wrote:

this is the error:

[ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] cointrader/src/main/java/org/cryptocoinpartners/schema/SpecificOrder.java:[40,53] cannot find symbol symbol: class SpecOrder [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 10.890 s [INFO] Finished at: 2016-02-23T22:32:48-08:00 [INFO] Final Memory: 27M/276M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project cointrader: Compilation failure [ERROR] cointrader/src/main/java/org/cryptocoinpartners/schema/SpecificOrder.java:[40,53] cannot find symbol [ERROR] symbol: class SpecOrder [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

— Reply to this email directly or view it on GitHub https://github.com/timolson/cointrader/issues/130#issuecomment-188102413 .

buffxz commented 8 years ago

thanks. so the previous error is sorted out. However, I get a new error:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project cointrader: Compilation failure: Compilation failure:
[ERROR] cointrader/src/main/java/org/cryptocoinpartners/schema/BarOld.java:[14,8] org.cryptocoinpartners.schema.BarOld is not abstract and does not override abstract method merge() in org.cryptocoinpartners.schema.EntityBase
[ERROR]cointrader/src/main/java/org/cryptocoinpartners/module/xchange/XchangeOrderService.java:[453,64] cannot find symbol
[ERROR] symbol:   variable EXIT_BID
[ERROR] location: class com.xeiam.xchange.dto.Order.OrderType
[ERROR] cointrader/src/main/java/org/cryptocoinpartners/module/xchange/XchangeOrderService.java:[453,91] cannot find symbol
[ERROR] symbol:   variable EXIT_ASK
[ERROR] location: class com.xeiam.xchange.dto.Order.OrderType
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
buffxz commented 8 years ago

Just want to confirm. I did

1) mvn clean 2) mvn

I failed at the 2)

douggie commented 8 years ago

ahhh, that is due to https://github.com/timmolter/XChange/issues/1188, not yet being merged into dev branch.

Feel free to pull from https://github.com/douggie/XChange

buffxz commented 8 years ago

So that doesn't help for the mvn, right? You mean pulling all the source code directly?

buffxz commented 8 years ago

how can I make the change to pom so that I can have your changes?

buffxz commented 8 years ago

so even I fix this one, new issue is found:

/cointrader/src/main/java/org/cryptocoinpartners/schema/BarOld.java:[14,8] org.cryptocoinpartners.schema.BarOld is not abstract and does not override abstract method merge() in org.cryptocoinpartners.schema.EntityBase
buffxz commented 8 years ago

could you help to fix this and merge it into master?

buffxz commented 8 years ago

Hi, any updates?

douggie commented 8 years ago

Hi Xu,

So sorry a few old bits of code were not in my workspace but in the repo.

Removed now so shoulde be good

On Fri, Feb 26, 2016 at 8:10 AM, Xu Zhuo Joshua notifications@github.com wrote:

Hi, any updates?

— Reply to this email directly or view it on GitHub https://github.com/timolson/cointrader/issues/130#issuecomment-189142793 .