<?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>Liferay Developer Studio shows gradle tasks greyed out and disabled</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=119021853" />
  <subtitle>Liferay Developer Studio shows gradle tasks greyed out and disabled</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=119021853</id>
  <updated>2026-04-03T18:26:23Z</updated>
  <dc:date>2026-04-03T18:26:23Z</dc:date>
  <entry>
    <title>RE: Liferay Developer Studio shows gradle tasks greyed out and disabled</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121311262" />
    <author>
      <name>Ansuman Mohanty</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121311262</id>
    <updated>2021-12-30T15:05:25Z</updated>
    <published>2021-12-30T15:05:25Z</published>
    <summary type="html">&lt;p&gt; I was hitting the same issue and the suggested solution in the post helped.&lt;/p&gt;
&lt;p&gt;Answer:  use the gradle tasks &amp;quot;cleanEclipse&amp;quot; and
  &amp;quot;eclipse&amp;quot; to reset the eclipse project files.&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;./gradlew cleanEclipse eclipse&lt;/code&gt;&lt;/pre&gt;</summary>
    <dc:creator>Ansuman Mohanty</dc:creator>
    <dc:date>2021-12-30T15:05:25Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay Developer Studio shows gradle tasks greyed out and disabled</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119312310" />
    <author>
      <name>Michael Green</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119312310</id>
    <updated>2020-06-04T03:44:37Z</updated>
    <published>2020-06-04T03:44:37Z</published>
    <summary type="html">Thanks for the steps Li and the follow up Gregory.&lt;br /&gt;The newer Eclipse IDE is working better with the &amp;#34;move&amp;#34; outside method mentioned in step 5 and then the refresh in 6.&lt;br /&gt;Just as a suggestion maybe the guide should be changed to say to change the &amp;#34;Use default location&amp;#34; edit box. This is much easier than the move afterwards.</summary>
    <dc:creator>Michael Green</dc:creator>
    <dc:date>2020-06-04T03:44:37Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay Developer Studio shows gradle tasks greyed out and disabled</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119285760" />
    <author>
      <name>Li Lily</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119285760</id>
    <updated>2020-06-01T08:57:09Z</updated>
    <published>2020-06-01T08:57:09Z</published>
    <summary type="html">hey Michael, according to guestbook tutorial and your operation steps, I have arranged a set of steps without errors, hoping to help you:&lt;br /&gt;steps:&lt;br /&gt;1.create gradle workspace&lt;br /&gt;2.create service builder project in gradle workspace&lt;br /&gt;3.create guestbook-web project in gradle workspace&lt;br /&gt;(guestbook-web project creation steps can be created entirely from the guestbook tutorial)&lt;br /&gt;4.guestbook-web project is accessed through the file directory, and only src,bnd.bnd and build.gradle are retained, and all other items are deleted&lt;br /&gt;5.move the guestbook-web project under the service builder directory&lt;br /&gt;6.back in eclipse, right-click gradle workspace and execute gradle &amp;gt; refresh gradle project&lt;br /&gt;​​​​​​​When I go through the steps above,gradle tasks does not disable and display grays.&lt;br /&gt;If you have any questions, please contact us again, thx.</summary>
    <dc:creator>Li Lily</dc:creator>
    <dc:date>2020-06-01T08:57:09Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay Developer Studio shows gradle tasks greyed out and disabled</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119287467" />
    <author>
      <name>Michael Green</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119287467</id>
    <updated>2020-06-01T05:17:35Z</updated>
    <published>2020-06-01T05:17:35Z</published>
    <summary type="html">Version: 3.8.1.202004240132-ga2&lt;br /&gt;blade version 3.9.2.202004101340&lt;br /&gt;Liferay Portal: 7.3.2 ga3&lt;br /&gt;&lt;br /&gt;So I have just updated to the new Liferay IDE, liferay Portal, and blade. Again I am just running through the guestbook tutorial. At this same point where it talks about moving the newly created &amp;#34;guestbook-web&amp;#34; project into the guestbook directory with the service builder, eclipse really does not like this. In fact in wont let you do it through the interface. I had to do the move via the command line outside of eclipse and restart eclipse, as suggested in the guide. But once this has been done no refresh (F5) or gradle refresh (Ctrl-F5), eclipse restart , gets it the guestbook-web folder to work correctly.&lt;br /&gt;Although it is a little different in that the gradle is not grayed out any more. It just does not pick up the new  folder. &lt;br /&gt;I am happy to do the clear out of the .project/.classpath/.lsettings files and not use the &amp;#34;cleanEclipse/eclipse&amp;#39; tasks and just do an import. But this is not good if you new to this. The guestbook tute just does not work at this point and it kind of dumps you in a hard place with the eclipse project. &lt;br /&gt;Guestbook tutorial: &lt;a href="https://help.liferay.com/hc/en-us/articles/360032887652-Creating-the-Web-Project"&gt;https://help.liferay.com/hc/en-us/articles/360032887652-Creating-the-Web-Project&lt;/a&gt;</summary>
    <dc:creator>Michael Green</dc:creator>
    <dc:date>2020-06-01T05:17:35Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay Developer Studio shows gradle tasks greyed out and disabled</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119082569" />
    <author>
      <name>Greg Amerson</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119082569</id>
    <updated>2020-05-01T17:09:55Z</updated>
    <published>2020-05-01T17:09:55Z</published>
    <summary type="html">hey Michael, with Liferay IDE you should never need to run `cleanEcipse or eclipse` tasks from the command line.  YOu should use the built-in gradle integration in the IDE the whole time.  You should remove all .project/.classpath/.lsettings files that are generated in your workspace and then reimport in the IDE and let it re synchronize the eclipse settings dynamically (and automatically).  Let us know if you run into any problems.</summary>
    <dc:creator>Greg Amerson</dc:creator>
    <dc:date>2020-05-01T17:09:55Z</dc:date>
  </entry>
  <entry>
    <title>Liferay Developer Studio shows gradle tasks greyed out and disabled</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119021852" />
    <author>
      <name>Michael Green</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119021852</id>
    <updated>2020-04-24T05:37:36Z</updated>
    <published>2020-04-24T05:37:36Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Liferay&amp;nbsp;&lt;span style="font-size: 16px;"&gt;Developer Studio&lt;/span&gt;&amp;nbsp;Version: 3.8.0.202002250521-ga1&lt;br&gt;Liferay 7.3.1 ga 2&lt;br&gt;&lt;br&gt;As I was working through the guestbook tutorial. The gradle tasks became disabled and greyed out. This happened just after "moving" the guestbook-web project module into the guestbook folder group.&amp;nbsp; It also duplicated the gradle project. No amount of restart or F5 or ctrl-F5 would make it come back.The gradle build still worked from the command line.&amp;nbsp;&lt;br&gt;Answer:&amp;nbsp; use the gradle tasks "cleanEclipse" and "eclipse" to reset the eclipse project files.&lt;br&gt;&lt;pre&gt;&lt;code&gt;./gradlew cleanEclipse eclipse&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;Images of the eclipse windows when there is a problem.&lt;br&gt;&lt;img src=""&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;img src=""&gt;&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Michael Green</dc:creator>
    <dc:date>2020-04-24T05:37:36Z</dc:date>
  </entry>
</feed>
