Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Update on build-dev target

...

Now about the 1st build-dev target: sometimes you don't even create any hot-deploy components (eg. some projects might use OFBiz as a web services API with few modifications in OFBiz core), or you need to put patches somewhere before creating a hot-deploy-component, or your patches are common to all deployment areas and it does not make sense to maintain duplicates. Then to keep your OFBiz working copy free from modifications (which could else been put in one of your hot-deploy components patches directory, which is anyway not very logical but pragmatic),  you put your paches in the runtime/patches folder where "core" patches (those which change OFBiz as it's OOTB) are supposed to be. The "build-dev" is target, purposely independent of any other target but makes sense to be called before other targets, is called by the main build target, exactly before anything else. The idea for the build-dev target is to keep patches with features separated (ie grouping different files changed for a feature in a patch), but you can, or may have to, do it on a file level, notably when 2 or more features impact the same file...

...