diff options
Diffstat (limited to 'src/main/java')
| -rw-r--r-- | src/main/java/com/c2kernel/process/Bootstrap.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/com/c2kernel/process/Bootstrap.java b/src/main/java/com/c2kernel/process/Bootstrap.java index 507be7e..371d476 100644 --- a/src/main/java/com/c2kernel/process/Bootstrap.java +++ b/src/main/java/com/c2kernel/process/Bootstrap.java @@ -161,9 +161,8 @@ public class Bootstrap props.list.add(new Property(propName, propVal));
}
- // HACK: this gives all module resources a workflow. Maybe have a 'debug' flag in the module xml or server config to do this. Normally module resources should be read-only, as they would be reset at next boot.
CompositeActivity ca = new CompositeActivity();
- if (ns!=null) {
+ if (ns!=null && Gateway.getProperty("Module.debug", "false").equals("true")) {
String wf;
if (itemType.equals("CA")) wf = "ManageCompositeActDef";
else if (itemType.equals("EA")) wf = "ManageElementaryActDef";
|
