Hi,

Currently the names of folders where jcrinstall looks for bundles and
configuration nodes are based on configurable regular expressions,
independent from the RunMode service.

Rethinking that, I'd like to introduce a runmode-based naming
convention, so that jcrinstall would be configured by default to look
in these folders, using the existing configuration mechanism:

  /libs/*/install   (* means "anything" here, not regexp notation)
  /libs/*/config
  (and same in /apps)

And jcrinstall would also look in these folders if the current active
run modes (as provided by the RunMode service) are "foo, bar"

  /libs/*/install.foo
  /libs/*/install.bar
  /libs/*/config.foo
  /libs/*/config.bar
  (and same in /apps)

I think this simplifies configuration, people can hopefully use the
defaults settings and drive the rest freely with run modes.

WDYT?
-Bertrand

Reply via email to