<?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>configuring Liferay for IntelliJ IDEA</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=95129" />
  <subtitle>configuring Liferay for IntelliJ IDEA</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=95129</id>
  <updated>2026-05-11T14:25:43Z</updated>
  <dc:date>2026-05-11T14:25:43Z</dc:date>
  <entry>
    <title>RE: configuring Liferay for IntelliJ IDEA</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=95141" />
    <author>
      <name>Darshak Thakore</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=95141</id>
    <updated>2007-04-30T22:06:52Z</updated>
    <published>2007-04-30T22:06:52Z</published>
    <summary type="html">i followed the instructions on the wiki to develop liferay with intellij idea but it has instructions only for the main portal. How is the ext environment imported in intellij ?&lt;br /&gt;Also following the instructions in the wiki with liferay 4.2.2, all my jsp&amp;#39;s pretty much show errors coz it cannot find the tld&amp;#39;s and other resources and there is no mention on how to configure them in the wiki ? Has anyone successfully gotten the portal and the ext environment to work under intellij ?&lt;br /&gt;Any help/suggestion will be appreciated.&lt;br /&gt;-- darshak</summary>
    <dc:creator>Darshak Thakore</dc:creator>
    <dc:date>2007-04-30T22:06:52Z</dc:date>
  </entry>
  <entry>
    <title>RE: configuring Liferay for IntelliJ IDEA</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=95137" />
    <author>
      <name>Nathan Shaw</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=95137</id>
    <updated>2007-04-20T18:17:13Z</updated>
    <published>2007-04-20T18:17:13Z</published>
    <summary type="html">I&amp;#39;m just adding some information on this thread since I was fighting the same problem.&lt;br /&gt;&lt;br /&gt;In IDEA 6.0.5, I added both ext-web/docroot and ext-web/tmp as Web Resource Directories.  At that point the code was clean (no errors according to IDEA) in /html/common/init.jsp, but renderRequest and renderResponse were still unknown in the portlet view.jsp I was testing.   I copied the defineObjects tag call into the view.jsp and it still didn&amp;#39;t work either. Next I patched the DefineObjectsTei.java to declare renderRequest/renderResponse as tag-defined variables and this worked:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;new VariableInfo(&amp;#34;renderRequest&amp;#34;, RenderRequest.class.getName(), true,&lt;br /&gt;	  	VariableInfo.AT_END),&lt;br /&gt;new VariableInfo(&amp;#34;renderResponse&amp;#34;, RenderResponse.class.getName(), true,&lt;br /&gt;		VariableInfo.AT_END)&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;I think &lt;a href="http://www.intellij.net/forums/thread.jspa?messageID=5160278"&gt;this thread&lt;/a&gt; in the IDEA forums is related. &lt;br /&gt;&lt;br /&gt;Finally, I upgraded to the new milestone release, IDEA 7.0.M1, and neither of those workarounds was necessary.   The TEI patch is no longer needed and IDEA now correctly discovers the renderRequest/renderResponse page variables out of the box.&lt;br /&gt;&lt;br /&gt;Hope this helps,&lt;br /&gt;Nathan</summary>
    <dc:creator>Nathan Shaw</dc:creator>
    <dc:date>2007-04-20T18:17:13Z</dc:date>
  </entry>
  <entry>
    <title>RE: configuring Liferay for IntelliJ IDEA</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=95135" />
    <author>
      <name>liferaydev liferaydev</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=95135</id>
    <updated>2006-12-19T08:56:32Z</updated>
    <published>2006-12-19T08:56:32Z</published>
    <summary type="html">&lt;div class="quote-title"&gt;Jerry Niu:&lt;/div&gt;&lt;blockquote&gt;Here&amp;#39;s an Liferay wiki page for it.&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve gotten it to debug in trunk&lt;br /&gt;&lt;br /&gt;Here&amp;#39;s the link:&lt;br /&gt;&lt;a href="http://wiki.liferay.com/index.php/Configuring_IntelliJ_6.0_to_work_with_Liferay_source_code"&gt;http://wiki.liferay.com/index.php/Configuring_IntelliJ_6.0_to_work_with_Liferay_source_code&lt;/a&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Hi,&lt;br /&gt;&lt;br /&gt;  Thank you for your response. I know this sounds like a dumb question, but in IntelliJ could you tell me how you configured the path to web resources because I&amp;#39;ve this problem with &amp;lt;%@ include file=&amp;#34;/html/common/init.jsp&amp;#34; %&amp;gt; which cannot be found if I configure the web resources root to {liferaydir}/ext-web/docroot(because init.jsp is in the {liferaydir}/ext-web/tmp folder).&lt;br /&gt;  Another thing to ask if I don&amp;#39;t bother you too much already is if there&amp;#39;s a way to make IntelliJ autodeploy directly to the server directory so I don&amp;#39;t use the &amp;#34;ant deploy&amp;#34; command.&lt;br /&gt;&lt;br /&gt;Thank you very much for your time and pacience with me.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;  Dan.</summary>
    <dc:creator>liferaydev liferaydev</dc:creator>
    <dc:date>2006-12-19T08:56:32Z</dc:date>
  </entry>
  <entry>
    <title>RE: configuring Liferay for IntelliJ IDEA</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=95133" />
    <author>
      <name>Jerry Niu</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=95133</id>
    <updated>2006-12-18T18:30:13Z</updated>
    <published>2006-12-18T18:30:13Z</published>
    <summary type="html">Here&amp;#39;s an Liferay wiki page for it.&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve gotten it to debug in trunk&lt;br /&gt;&lt;br /&gt;Here&amp;#39;s the link:&lt;br /&gt;&lt;a href="http://wiki.liferay.com/index.php/Configuring_IntelliJ_6.0_to_work_with_Liferay_source_code"&gt;http://wiki.liferay.com/index.php/Configuring_IntelliJ_6.0_to_work_with_Liferay_source_code&lt;/a&gt;</summary>
    <dc:creator>Jerry Niu</dc:creator>
    <dc:date>2006-12-18T18:30:13Z</dc:date>
  </entry>
  <entry>
    <title>configuring Liferay for IntelliJ IDEA</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=95128" />
    <author>
      <name>liferaydev liferaydev</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=95128</id>
    <updated>2006-12-18T10:07:35Z</updated>
    <published>2006-12-18T10:07:35Z</published>
    <summary type="html">Hi all,&lt;br /&gt;&lt;br /&gt;   For some time now, I&amp;#39;ve been trying to configure IntelliJ IDEA for working with liferay and didn&amp;#39;t find any single document on the net explaining how to do that.&lt;br /&gt;   These are the steps that I&amp;#39;ve already done:&lt;br /&gt;   1. Configured and installed the portal in {liferaydir}/portal&lt;br /&gt;   2. Built extension environment using the ant clean start build-ext command.&lt;br /&gt;   3. Created a new project in IntelliJ where I&amp;#39;ve specified {liferaydir}/ext/classes as the target classpath.&lt;br /&gt;   4. Setted up the web resources directory to {liferaydir}/ext/ext-web/docroot(I don&amp;#39;t know if this is correct because when creating a new portlet I get intelliSense errors from IntelliJ because for example: &amp;lt;%@ include file=&amp;#34;/html/common/init.jsp&amp;#34; %&amp;gt; is not found). I believe that there is something strange with the {liferaydir}/ext-web/tmp because those sources are outside the {liferaydir}/ext-web/docroot folder.&lt;br /&gt;   5. Setted to create the sources in {liferaydir}/src folder that will be created by IntelliJ.&lt;br /&gt;   6. Setted no exploded configuration since I really don&amp;#39;t know if there is a way to auto-deploy in the web application server(e.g. resin) by only using IntelliJ and not the ant deploy command which takes a HUGE ammount of time to complete and in my opinion this is unnacceptable(I just hope there is another way)&lt;br /&gt;&lt;br /&gt;Thank you in advance for your answers.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;   Dan.</summary>
    <dc:creator>liferaydev liferaydev</dc:creator>
    <dc:date>2006-12-18T10:07:35Z</dc:date>
  </entry>
</feed>
