interledger-deprecated / java-ilp-core

WE'VE MOVED: This project has moved to Hyperledger Quilt
https://github.com/hyperledger/quilt/tree/master/ilp-core
Apache License 2.0
16 stars 10 forks source link

java ilp core not running #60

Closed THEViveKL closed 7 years ago

THEViveKL commented 7 years ago

image

Trying to run this program but not able to run it although build is successful. Please help me.

image Also done to import project as gradle project then getting above error (Using eclipse).

andrew-g-za commented 7 years ago

Hi,

Its a bit hard to tell from the screenshots, but i think you need to clone the java-crypto-conditions project too. We are busy migrating the dependencies to external jars, but until then you need to have both projects in a root folder.

From the readme

This project depends on Java Crypto-Conditions. To contribute to this library, clone the following two projects to the same folder (the dependency crypto-conditions is not available as a package yet so we use a project dependency).

$ git clone https://github.com/interledger/java-crypto-conditions.git $ git clone https://github.com/interledger/java-ilp-core.git

So for example make a folder C:\projects\ilp ,then

$ C:\
$ cd projects\ilp
$ git clone https://github.com/interledger/java-crypto-conditions.git
$ git clone https://github.com/interledger/java-ilp-core.git
$ cd java-ilp-core
$ gradle build

That should get the build to work, but i suggest switching to the development branches of both java-crypto-conditions and java-ilp-core.

As for the eclipse issue - i haven't seen that one before. What version of eclipse are you using? What gradle plugin are you using? (I've been using eclipse neon3 (4.6.3) with eclipse buildship 2.0.2.)

THEViveKL commented 7 years ago

hi,

I have tried your solution. When i use command gradle build in ilp-core it shows message that build successful. But when i tried to run this it shows build failed.

Also for successful build i have to remove test folder from project as some tests are failed (to be precise 3 tests are failed).

I just want to see output as i want to learn about interledger and make solution in .net.

Is there anything i can do to run this program.

Thank you for your help.

andrew-g-za commented 7 years ago

Hi,

Perhaps we are misunderstanding each other. The java-ilp-core and java-crypto-conditions libraries are not applications themselves - they are simply libraries that provide ILP functionality to be used by applications. For example, take a look at java-ilp-client-spring-boot, which is a command line program that will connect to a ledger (although I think it is somewhat out of date as some of the underlying specs have changed since it was last worked on).

THEViveKL commented 7 years ago

Hi,

Yeah I misunderstood this lib, thank you for link java-ilp-client-spring-boot,

I will definitely look into this. Thank you for your help.

adrianhopebailie commented 7 years ago

@THEViveKL sorry for coming late to this.

A few things:

  1. As @andrew-g-za points out java-ilp-core is just a library. It provides the core models and codecs for the protocol. It's coming close to a stable release which we'll tag and put into Maven central soon.
  2. There are a few other Java based projects at varying levels of maturity for running ILP services such as java-ilp-client-spring-boot. They will be the next focus now that the core lib is stable.
  3. If you are interested in learning more join our Gitter channel https://gitter.im/interledger/Lobby
THEViveKL commented 7 years ago

@adrianhopebailie Thank you for reply i will definitely look into it.