-
1. Re: Chapter 18, Working with GIT
salaboy21 May 13, 2014 5:28 PM (in response to ajgillette98)did you commit and push the changes in your git repo?
-
2. Re: Chapter 18, Working with GIT
ajgillette98 May 13, 2014 7:30 PM (in response to salaboy21)Hey Mauricio,
I am still fighting with repo's but I have managed to add an example from the internet to my local repo and to checkout code from the local repo
into eclipse. In order to do that I had to login as krisv instead of admin so I suspect that the issue is related to individual users access to git. I will
chase this down eventually but I'm currently still working on issue number one, which is figuring out how to get WorkItemHandlers to work. I can make them
work in eclipse, but when I move the project into the repo and try to deploy the process, JBPM can't seem to find my class files. I have that issue in another thread.
..FG..
-
3. Re: Chapter 18, Working with GIT
salaboy21 May 14, 2014 4:03 AM (in response to ajgillette98)Hi Alfred,
Did you try adding the jar that contains the WorkItemHandler into WEB-INF/lib inside the kie-wb application? That will make your class available to the execution classpath.
-
4. Re: Chapter 18, Working with GIT
swiderski.maciej May 14, 2014 4:49 AM (in response to ajgillette98)to be able to push you'll need to use SSH protocol when interacting with GIT as it requires authentication, so try following url for local installation: git clone ssh://user@localhost:8001/repository
then you should be able to push into that repo.
HTH
-
5. Re: Chapter 18, Working with GIT
ajgillette98 May 16, 2014 7:35 AM (in response to ajgillette98)I have discovered that as long as I use the krisv user and command line commands for git, the repo integration works fine. While working with git on the command
line I discovered that you have to be careful to make sure that you do a 'git pull' every now and then because both the KIE and Eclipse environments can potentially
change the repository states both locally and remote. I was originally tryng to do everything as the admin user and that didn't work well.
In the process of adding and removing files I discovered that the KIE interface is very sensitive to the structure of the project tree. If I added java files anywhere other than
the main.java.com... branch, the KIE interface would through a cryptic exception and not build or deploy my service. I ended up designing my custom workItemHandlers in
a separate project in order to keep both tools happy. KIE wants the java files in 'main.java.com.nakina.fredproject' but the service wants the jar to have a package of 'com.nakina.fredproject.