#1167 closed enhancement (fixed)
Safer debugging of release exporter plug-in
Reported by: | Nicklas Nordborg | Owned by: | Nicklas Nordborg |
---|---|---|---|
Priority: | minor | Milestone: | Reggie v4.23 |
Component: | net.sf.basedb.reggie | Keywords: | |
Cc: |
Description
When developing the "Release exporter" plug-in it is usually necessary to run the plug-in with the same parameters multiple times. It is typically annoying to have to create a new job every time since it takes some time to do this. So, a "hack" has been used were the plug-in always reports an error. This has a side-effect that BASE will display a "Restart job" button making it very easy to run the plug-in with the same parameters again. The drawback with the hack is that it is not always reverted before a Reggie release. Of course, this causes some confusion in the production environment.
It would be better if the debug mode could be controlled via a parameter.
In [5555]
Fixes #1167: Safer debugging of release exporter plug-in
The plug-in now has a "Debug mode" parameter. The parameter is only included if the reggie-config.xml file has a setting
<developer-mode>1</developer-mode>
.