-
1. Re: Catch java exceptions with a boundary error event
swiderski.maciej Mar 11, 2014 1:38 PM (in response to jocelyn.duc)this has been recently added and should be already available in 6.1.0.Beta one in maven repository. Take a look at this example on how to define it as variable in your process.
HTH
-
2. Re: Catch java exceptions with a boundary error event
jocelyn.duc Mar 13, 2014 4:32 AM (in response to swiderski.maciej)I will try this!
A question. What is the best way to keep jBPM up-to-date? I started with a demo installation of the version 6.0. In my eclipse projects I can change the version in pom.xml. But how to deal with the workbench and my jBPM repositories? Cloning the master and compiling it? I have tried to install a newer version, but I don't know how to access my old repositories... Is there a official migration guide or something like that?
-
3. Re: Catch java exceptions with a boundary error event
salaboy21 Mar 13, 2014 5:55 AM (in response to jocelyn.duc)Hi Jocelyn,
Yeah, cloning the sources from github and compiling locally is one of the best ways to keep your environment updated and work with the latest source code, which is always recommended for developing applications which you want to run with a future release and to identify bugs in the early stages.
to access your old repositories you can clone them inside the new version, for example what I did for creating the jbpm-playground repository (in github.com) is to create some projects locally, then clone the internal repo and push all the assets to github. In that way you can then clone the same repo in any other installation.
HTH
-
4. Re: Catch java exceptions with a boundary error event
jocelyn.duc Mar 14, 2014 5:13 AM (in response to salaboy21)Thank you Mauricio.
So,
- I've git cloned the jbpm master, ok!
- mvn -DskipTests install, which has created jars in target folders, ok!
- I can ant start.j2 & jboss which are giving me access to the jbpm-console, ok!
- Now, I have got uf-playground and jbom-playground, ok!
I don't know where to put my old 6.0 repos in the new 6.1 installation. I have seen there is a "repositories" folder in jbpm-installer. But nothing happens if I put them in there.
-
5. Re: Catch java exceptions with a boundary error event
salaboy21 Mar 14, 2014 7:49 AM (in response to jocelyn.duc)look for the .niogit directory inside the old installations. That directory contains the bare repositories that you can clone into a separate directories.
After that you can push them to a public repo in github that you can clone inside the new installation.