CF Java Client


Chenulu P
 

I am trying build the Java Client from https://github.com/cloudfoundry/cf-java-client.git. However none of the jar files generated contains the classes referred to in the sample code https://docs.cloudfoundry.org/buildpacks/java/java-client.html#sample-code

I would really appreciate if anyone can provide me how to build the client jar so that I can reference the client lib methods.

TIA.


Ben Hale <bhale@...>
 

The documentation you are referring to relates to Java Client 1.x. The `master` branch contains Java Client 2.x, and its best documentation currently exists in the README[1]. If you wish to continue using Java Client 1.x (it is currently unsupported), it is available in Maven Central[2].


-Ben Hale
Cloud Foundry Java Experience


[1]: https://github.com/cloudfoundry/cf-java-client#usage
[2]: http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.cloudfoundry%22%20AND%20a%3A%22cloudfoundry-client-lib%22

On Jan 20, 2017, at 09:41, Chenulu Peri <chenulu(a)gmail.com> wrote:

I am trying build the Java Client from https://github.com/cloudfoundry/cf-java-client.git. However none of the jar files generated contains the classes referred to in the sample code https://docs.cloudfoundry.org/buildpacks/java/java-client.html#sample-code

I would really appreciate if anyone can provide me how to build the client jar so that I can reference the client lib methods.

TIA.


Chenulu P
 

Thanks Ben. I will try with the new Java Client.