<?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>How to deploy a new theme created with SDK</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=58766590" />
  <subtitle>How to deploy a new theme created with SDK</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=58766590</id>
  <updated>2026-04-07T00:57:35Z</updated>
  <dc:date>2026-04-07T00:57:35Z</dc:date>
  <entry>
    <title>RE: How to deploy a new theme created with SDK</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=60141614" />
    <author>
      <name>Gurumurthy Godlaveeti</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=60141614</id>
    <updated>2015-09-30T19:40:34Z</updated>
    <published>2015-09-30T19:40:34Z</published>
    <summary type="html">Hi Luca,&lt;br /&gt;&lt;br /&gt;I agree with David, You need to finish the plugins sdk set up first then all goes smooth.&lt;br /&gt;&lt;br /&gt;This link will help in understanding set up process.&lt;br /&gt;https://www.liferay.com/documentation/liferay-portal/6.1/development/-/ai/installing-the-sdk&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;Guru</summary>
    <dc:creator>Gurumurthy Godlaveeti</dc:creator>
    <dc:date>2015-09-30T19:40:34Z</dc:date>
  </entry>
  <entry>
    <title>RE: How to deploy a new theme created with SDK</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=58783965" />
    <author>
      <name>David H Nebinger</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=58783965</id>
    <updated>2015-09-09T15:14:35Z</updated>
    <published>2015-09-09T15:14:35Z</published>
    <summary type="html">That means you didn&amp;#39;t create the build.&amp;lt;username&amp;gt;.properties file in the root of the SDK folder.  This file points to your local tomcat bundle so Liferay can find the other resources such as the current themes.</summary>
    <dc:creator>David H Nebinger</dc:creator>
    <dc:date>2015-09-09T15:14:35Z</dc:date>
  </entry>
  <entry>
    <title>RE: How to deploy a new theme created with SDK</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=58780981" />
    <author>
      <name>Luca kk</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=58780981</id>
    <updated>2015-09-09T14:57:28Z</updated>
    <published>2015-09-09T14:57:28Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Hi David,&lt;br&gt;ok now "ant" command works (I configured the environment variables)!&lt;br&gt;&lt;br&gt;I ran "ant war" and i get this:&lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;C:\Progetti\liferay-plugins-sdk-6.2\themes\test-theme&amp;amp;gt;ant war
Buildfile: C:\Progetti\liferay-plugins-sdk-6.2\themes\test-theme\build.xml
    [touch] Creating C:\Progetti\liferay-plugins-sdk-6.2\themes\test-theme\build
.gradle

war:

BUILD FAILED
C:\Progetti\liferay-plugins-sdk-6.2\build-common.xml:3120: The following error o
ccurred while executing this line:
: The following error occurred while executing this line:
C:\Progetti\liferay-plugins-sdk-6.2\build-common.xml:2617: The following error o
ccurred while executing this line:
: The following error occurred while executing this line:
C:\Progetti\liferay-plugins-sdk-6.2\build-common.xml:607: The following error oc
curred while executing this line:
C:\Progetti\liferay-plugins-sdk-6.2\build-common.xml:1224: C:\Progetti\bundles\t
omcat-7.0.42\webapps\ROOT\html\themes\_unstyled does not exist.

Total time: 4 seconds

C:\Progetti\liferay-plugins-sdk-6.2\themes\test-theme&amp;amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Luca kk</dc:creator>
    <dc:date>2015-09-09T14:57:28Z</dc:date>
  </entry>
  <entry>
    <title>RE: How to deploy a new theme created with SDK</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=58780277" />
    <author>
      <name>Luca kk</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=58780277</id>
    <updated>2015-09-09T14:15:21Z</updated>
    <published>2015-09-09T14:15:21Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Hi David,&lt;br&gt;thanks for reply.&lt;br&gt;I tried to run "ant deploy"(or "ant war") but I get this message:&lt;br&gt;&lt;pre&gt;&lt;code&gt;'ant' is not recognized as an internal or external file........... &lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;How can I do?&lt;br&gt;&lt;br&gt;Thanks&lt;br&gt;&lt;br&gt;P.S.&lt;br&gt;I don't have a build.&amp;lt;username&amp;gt;.properties file.&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Luca kk</dc:creator>
    <dc:date>2015-09-09T14:15:21Z</dc:date>
  </entry>
  <entry>
    <title>RE: How to deploy a new theme created with SDK</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=58772120" />
    <author>
      <name>David H Nebinger</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=58772120</id>
    <updated>2015-09-09T13:41:22Z</updated>
    <published>2015-09-09T13:41:22Z</published>
    <summary type="html">Go into the test-theme folder and &amp;#34;ant war&amp;#34; to create the war file, then manually move to Liferay&amp;#39;s deploy folder.&lt;br /&gt;&lt;br /&gt;If your build.&amp;lt;username&amp;gt;.properties file is set up correctly, you could also use &amp;#34;ant deploy&amp;#34; to build the war and deploy.</summary>
    <dc:creator>David H Nebinger</dc:creator>
    <dc:date>2015-09-09T13:41:22Z</dc:date>
  </entry>
  <entry>
    <title>How to deploy a new theme created with SDK</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=58766589" />
    <author>
      <name>Luca kk</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=58766589</id>
    <updated>2015-09-09T13:14:58Z</updated>
    <published>2015-09-09T13:14:58Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Hi all,&lt;br&gt;I have created a test theme using SDK from terminal.&lt;br&gt;From inside my sdk plugin directory:&lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;C:\Progetti\liferay-plugins-sdk-6.2\themes&amp;amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;I ran the command:&lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;create.bat test "Test"&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;It created a new subdirectory in "themes" directory containing:&lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;
test-theme
    - docroot
            -_diffs
            - WEB-INF
    build.xml
&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;How do I deploy this plugin and generate "war" file?&lt;br&gt;&lt;br&gt;Thanks in advance,&lt;br&gt;Luca&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Luca kk</dc:creator>
    <dc:date>2015-09-09T13:14:58Z</dc:date>
  </entry>
</feed>
