Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-56786

Race condition deleting util-taglib.jar when executing 'ant all'

    Details

      Description

      In build.xml, the clean target will try to delete util-taglib.jar in ${liferay.home}/osgi at the following 2 lines which are being run in parallel causing a delete error:

      <ant dir="util-taglib" target="clean" inheritAll="false" />
      <delete dir="${liferay.home}/osgi" />

      BUILD FAILED
      /Projects/liferay/liferay-portal/build.xml:238: The following error occurred while executing this line:
      /Projects/liferay/liferay-portal/build.xml:292: Unable to delete file /Projects/liferay/bundles/osgi/portal/util-taglib.jar
      

        Attachments

          Activity

            People

            Assignee:
            albert.lee Albert Lee
            Reporter:
            albert.lee Albert Lee
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              6 years, 30 weeks, 1 day ago

                Packages

                Version Package
                7.0.0 M7