OFBiz
  1. OFBiz
  2. OFBIZ-4765

Allows a build.xml file in hot-deploy folder to build components in a specific order

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: SVN trunk
    • Fix Version/s: SVN trunk
    • Component/s: None
    • Labels:
      None

      Description

      In the current build.xml in the ofbiz-Home-folder, the build target is executed for each subdirectory (framework, application, specialpurpose) with the fileset:

      <filelist dir="." files="specialpurpose/build.xml"/>

      Only for the hot-deploy folder the fileset is quite different:

      <fileset dir="$

      {basedir}

      /hot-deploy" casesensitive="no">
      <exclude name="disabled/**"/>
      <include name="*/build.xml"/>
      </fileset>

      This is calling the build.xml directly in the hot-deploy components, which is an error, if you do have several dependent components in there, which needs to get build in the right order. I propose to use the following filelist:

      <filelist dir="." files="hot-deploy/build.xml"/>

      Problem could be, that not every project do have an build.xml file in this folder (or is this already a requirement?). If it is not then we would need to check, if this build.xml is there, then execute this, and otherwise use the already existing one.

      A patch will be applied for the first solution.

        Activity

        Jacques Le Roux made changes -
        Status Patch Available [ 10002 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Jacques Le Roux made changes -
        Summary build.xml in hot-deploy folder is not called correctly in the main build.xml Allows a build.xml file in hot-deploy folder to build components in a specific order
        Issue Type Wish [ 5 ] Improvement [ 4 ]
        Assignee Jacques Le Roux [ jacques.le.roux ]
        Markus M. May made changes -
        Markus M. May made changes -
        Markus M. May made changes -
        Attachment OFBIZ-4765-use-hotdeploy-buildxml-if-available.patch [ 12520249 ]
        Markus M. May made changes -
        Attachment OFBIZ-4765-use-hotdeploy-buildxml-if-available.patch [ 12520249 ]
        Jacopo Cappellato made changes -
        Issue Type Bug [ 1 ] Wish [ 5 ]
        Markus M. May made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Markus M. May made changes -
        Field Original Value New Value
        Attachment OFBIZ-4765-fix-buildxml.patch [ 12520245 ]
        Markus M. May created issue -

          People

          • Assignee:
            Jacques Le Roux
            Reporter:
            Markus M. May
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development