ctron / kapua-gateway-client

A Gateway Client SDK for Eclipse Kapua™
Eclipse Public License 1.0
8 stars 3 forks source link

how to run the project #6

Closed aycanvargun closed 6 years ago

aycanvargun commented 6 years ago

Hi,

I have built the project successfully. I want to create and run a Kura client. I didn't understand how to run and use the project. I have kapua-gateway-client-profile-kura-0.2.2-SNAPSHOT.jar file. And i tried these to run from my gitbash:

java -cp /target/kapua-gateway-client-profile-kura-0.2.2-SNAPSHOT.jar src.test.java.org.eclipse.kapua.gateway.client.KuraExample

java -cp /target/kapua-gateway-client-profile-kura-0.2.2-SNAPSHOT.jar test-classes.org.eclipse.kapua.gateway.client.KuraExample

Could you please help me about how to run and use the project after building

ctron commented 6 years ago

I would suggest to create a new project, and simply start with the example client: https://github.com/ctron/kapua-gateway-client/blob/master/README.md#example-client

You don't need to re-build the gateway client projects, as they are available from Maven Central: https://github.com/ctron/kapua-gateway-client/blob/master/README.md#add-to-your-maven-project

aycanvargun commented 6 years ago

I have solved by creating a new maven project and adding the dependencies to my POM. Thank you.