Snjezana Sevo-Zenzerovic wrote:
> Removing the domain directory from the staging area will work, but
> this also means that build will need to recreate the domain each time
> distributions module is built and that's something we originally
> wanted to avoid for incremental builds. So, other option would be to
> look for the presence of the default domain directory and skip the
> domain creation step in that scenario.
This optimisation can cause problems. Imagine a user updates the
workspace and now create-domain produces different set of files (let's
say a different domain.xml). Because of the above optimization, we won't
run create-domain and hence would end up using old files.
Sahoo