<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Gradle serviceBuilder task definitions</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=112534924" />
  <subtitle>Gradle serviceBuilder task definitions</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=112534924</id>
  <updated>2026-04-06T10:13:41Z</updated>
  <dc:date>2026-04-06T10:13:41Z</dc:date>
  <entry>
    <title>RE: Gradle serviceBuilder task definitions</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112563595" />
    <author>
      <name>David H Nebinger</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112563595</id>
    <updated>2019-03-04T14:29:42Z</updated>
    <published>2019-03-04T14:29:42Z</published>
    <summary type="html">Long story short, it is a wrapper around a custom Liferay java app which parses the service.xml and uses Velocity templates for regenerating the various java source files.&lt;br /&gt;&lt;br /&gt;There are mechanisms to use alternative templates, etc., but I have never known of an organization sophisticated and advanced enough to go down this path, especially since it is totally undocumented.&lt;br /&gt;​​​​​​​</summary>
    <dc:creator>David H Nebinger</dc:creator>
    <dc:date>2019-03-04T14:29:42Z</dc:date>
  </entry>
  <entry>
    <title>RE: Gradle serviceBuilder task definitions</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112560988" />
    <author>
      <name>Kevin Neibarger</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112560988</id>
    <updated>2019-03-04T14:07:57Z</updated>
    <published>2019-03-04T14:07:57Z</published>
    <summary type="html">Understood, I just want to see what it does. It seems that I&amp;#39;ve fixed my error, but I&amp;#39;m not sure how. What it was doing was repeating a definition of an entity module in the module-spring.xml after running the service builder (gradle task). I won&amp;#39;t show the code because it seems to be a moot point now. I&amp;#39;m guessing I had a configuration wrong or something. &lt;br /&gt;&lt;br /&gt;​​​​​​​Thanks</summary>
    <dc:creator>Kevin Neibarger</dc:creator>
    <dc:date>2019-03-04T14:07:57Z</dc:date>
  </entry>
  <entry>
    <title>RE: Gradle serviceBuilder task definitions</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112546177" />
    <author>
      <name>David H Nebinger</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112546177</id>
    <updated>2019-03-02T16:37:02Z</updated>
    <published>2019-03-02T16:37:02Z</published>
    <summary type="html">You shouldn&amp;#39;t monkey w/ the task, it does a lot of things in ways that are obfuscated.&lt;br /&gt;&lt;br /&gt;I don&amp;#39;t understand the generation of two entities, everything comes from the service.xml definition and it shouldn&amp;#39;t allow dups.  Can you share your service.xml and describe more about the issue?&lt;br /&gt;&lt;br /&gt;You don&amp;#39;t (and shouldn&amp;#39;t) change service.properties because it is a generated file. Instead, write your stuff into service-ext.properties; that&amp;#39;s a file that is not overwritten but will be included in your properties.</summary>
    <dc:creator>David H Nebinger</dc:creator>
    <dc:date>2019-03-02T16:37:02Z</dc:date>
  </entry>
  <entry>
    <title>Gradle serviceBuilder task definitions</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112534923" />
    <author>
      <name>Kevin Neibarger</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112534923</id>
    <updated>2019-03-01T14:51:17Z</updated>
    <published>2019-03-01T14:51:17Z</published>
    <summary type="html">Where can I find the definition (i.e. build.gradle file) for the serviceBuilder task? I&amp;#39;m using Liferay 7.1.0 ga1. I want to know what&amp;#39;s happening and I&amp;#39;m also finding an issue where it&amp;#39;s writing two of one entity for some reason and I have to go in and physically delete the duplicate or the service module doesn&amp;#39;t start up.&lt;br /&gt;&lt;br /&gt;It&amp;#39;s also writing the services.properties file and I need to include some specific Spring XML configuration to that file. &lt;br /&gt;&lt;br /&gt;​​​​​​​Thanks</summary>
    <dc:creator>Kevin Neibarger</dc:creator>
    <dc:date>2019-03-01T14:51:17Z</dc:date>
  </entry>
</feed>
