Page 1 of 1

use own java project

PostPosted:Thu Jan 23, 2020 1:29 pm
by drago
Hello everybody,
i want to use some openkm features for my own java-project. I want to import pdf-documents with my software and get all documents with a filter by documentname in a list.

Is there a final openkm.jar or how can i implement my issue. Or is it possible to import files with cmd parameters?

Best regards

Re: use own java project

PostPosted:Sat Jan 25, 2020 11:09 am
by jllort
You should integrate your applciation with OpenKM this is the best scenario for you ( that has a lot of advantages either trying to copy code in your project ). For integration you might use SDK for java -> https://docs.openkm.com/kcenter/view/sdk4j-1.2/

Re: use own java project

PostPosted:Mon Jan 27, 2020 7:52 am
by drago
Thank you very much.
I found this documentation about the sdk, but where can i download the library (com.openkm.sdk4j)?

Update: I found it on marven.

Re: use own java project

PostPosted:Thu Jan 30, 2020 6:55 pm
by jllort
Usually when you create a maven project include artifact and it is automatically downloaded https://docs.openkm.com/kcenter/view/sdk4j-1.2/ if you want to include the jar directly I suggest use this project to compile with dependencies https://github.com/openkm/sdk4j-with-dependences