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

When using uad attributes in service.xml, SB doesn't include build.gradle files in UAD projects

    Details

      Description

      Summary
      When using a service builder project with a 7.1 DTD, if you include "uad" attributes, the uad projects generated (<entity>-uad and <entity>-uad-test) don't include build.gradle files.

      Steps to Reproduce

      1. Create a service builder project using blade: blade create -t service-builder -v 7.1 test
      2. Open test-service/service.xml and change the DTD to 7.1
         <!DOCTYPE service-builder PUBLIC "-//Liferay//DTD Service Builder 7.1.0//EN" "http://www.liferay.com/dtd/liferay-service-builder_7_1_
        0.dtd">
        
      1. Add uad-anonymize-full-name="fullName" to userName column:
        <column name="userName" type="String" uad-anonymize-field-name="fullName"/>
        
      1. Run gradle buildService

      Expected Result
      Inside the test folder we see two projects: test-uad and test-uad-test, both with a valid build.gradle file and both compile succesfully.

      Actual Result
      Inside the test folder we see two projects test-uad and test-uad-test, both missing a build.gradle file, thus failing to compile or deploy.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  23 weeks, 6 days ago

                  Packages

                  Version Package
                  Master