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

Ant script configuring ivy fails with name not found

    Details

      Description

      When I launch ant build-service, I get this error trace:

      BUILD FAILED
      /Users/aelian/dev/portal7/plugins/webs/screens-web/build.xml:12: The following error occurred while executing this line:
      /Users/aelian/dev/portal7/plugins/build-common-osgi-plugin.xml:5: The following error occurred while executing this line:
      /Users/aelian/dev/portal7/plugins/build-common-plugin.xml:5: The following error occurred while executing this line:
      /Users/aelian/dev/portal7/plugins/build-common.xml:57: The following error occurred while executing this line:
      /Users/aelian/dev/portal7/plugins/build-common-ivy.xml:254: The following error occurred while executing this line:
      /Users/aelian/dev/portal7/plugins/build-common-ivy.xml:161: The following error occurred while executing this line:
      /Users/aelian/dev/portal7/plugins/build-common-ivy.xml:181: Problem: failed to create task or type set-module-properties
      Cause: The name is undefined.
      Action: Check the spelling.
      Action: Check that any custom tasks/types have been declared.
      Action: Check that any <presetdef>/<macrodef> declarations have taken place.
      

      The ant script is registering some macros and then executing the process-ivy task that calls the macro set-module-properties . But it fails because it is defined later on that file.

      The process-ivy task should be called after defining all tasks needed.

      Related to LPS-61420

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                javier.gamarra Javier Gamarra
                Reporter:
                javier.gamarra Javier Gamarra
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 43 weeks, 3 days ago

                  Packages

                  Version Package
                  7.0.0 Beta 4