<?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 5.1.2: How to Properly Deploy a Custom Created Theme</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=1543460" />
  <subtitle>Liferay 5.1.2: How to Properly Deploy a Custom Created Theme</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=1543460</id>
  <updated>2026-04-06T10:39:09Z</updated>
  <dc:date>2026-04-06T10:39:09Z</dc:date>
  <entry>
    <title>RE: How change this element</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4339970" />
    <author>
      <name>Lisa Simpson</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4339970</id>
    <updated>2009-12-02T16:31:16Z</updated>
    <published>2009-12-02T16:31:16Z</published>
    <summary type="html">It&amp;#39;s called CSS.....</summary>
    <dc:creator>Lisa Simpson</dc:creator>
    <dc:date>2009-12-02T16:31:16Z</dc:date>
  </entry>
  <entry>
    <title>How change this element</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=1710699" />
    <author>
      <name>neko nekos nekos</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=1710699</id>
    <updated>2008-12-05T09:37:44Z</updated>
    <published>2008-12-05T09:37:44Z</published>
    <summary type="html">Hi &lt;br /&gt;&lt;br /&gt;how to change black belt in the pages menu??  I Try everything changes in CMS no effect.</summary>
    <dc:creator>neko nekos nekos</dc:creator>
    <dc:date>2008-12-05T09:37:44Z</dc:date>
  </entry>
  <entry>
    <title>(RESOLVED)RE: Liferay 5.1.2: How to Properly Deploy a Custom Created Theme</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=1616846" />
    <author>
      <name>S. N.</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=1616846</id>
    <updated>2008-11-20T17:39:16Z</updated>
    <published>2008-11-20T17:39:16Z</published>
    <summary type="html">That makes perfect sense!  Thanks for the help guys.  I got it up and running!</summary>
    <dc:creator>S. N.</dc:creator>
    <dc:date>2008-11-20T17:39:16Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay 5.1.2: How to Properly Deploy a Custom Created Theme</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=1563029" />
    <author>
      <name>James Min</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=1563029</id>
    <updated>2008-11-10T21:52:11Z</updated>
    <published>2008-11-10T21:52:11Z</published>
    <summary type="html">Take a look at the build.properties files and you see a bunch of commented out sections for whatever app server you have.&lt;br /&gt;&lt;br /&gt;So if you downloaded the Liferay-Tomcat(5) bundle, you see this:&lt;br /&gt;&lt;br /&gt;    #&lt;br /&gt;    # Specify the paths to an unzipped Tomcat 5.5.x bundle.&lt;br /&gt;    #&lt;br /&gt;    app.server.dir=${project.dir}/../bundles/tomcat-5.5.26&lt;br /&gt;    app.server.classes.portal.dir=${app.server.portal.dir}/WEB-INF/classes&lt;br /&gt;    app.server.lib.global.dir=${app.server.dir}/common/lib/ext&lt;br /&gt;    app.server.lib.portal.dir=${app.server.portal.dir}/WEB-INF/lib&lt;br /&gt;    app.server.portal.dir=${app.server.dir}/webapps/ROOT&lt;br /&gt;&lt;br /&gt;Auto deploy and java compiler settings are already set in build.properties so there really is no need to override these in your build.username.properties&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So in the end the only thing you need to put in your build.username.properties is the section above (if you have tomcat5). Just copy and paste it. The only line you will have to change is the first line. &lt;br /&gt;&lt;br /&gt;    #&lt;br /&gt;    # Specify the paths to an unzipped Tomcat 5.5.x bundle.&lt;br /&gt;    #&lt;br /&gt;    app.server.dir=/yourpathtothebundle/tomcat&lt;br /&gt;    app.server.classes.portal.dir=${app.server.portal.dir}/WEB-INF/classes&lt;br /&gt;    app.server.lib.global.dir=${app.server.dir}/common/lib/ext&lt;br /&gt;    app.server.lib.portal.dir=${app.server.portal.dir}/WEB-INF/lib&lt;br /&gt;    app.server.portal.dir=${app.server.dir}/webapps/ROOT &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You technically don&amp;#39;t even need the last four lines because you haven&amp;#39;t overridden them and they are already defined in the build.properties. They are based off the first line.&lt;br /&gt;&lt;br /&gt;What this all is anyhow, is that you are pointing the SDK to a deployed set of libraries and jar files so that it can do it&amp;#39;s SDK build off of the appropriate Liferay version. Since these plugins are being deployed onto the same app server instance anyway, it makes sense to use the libraries and jar files from that exact same Liferay instance so that there are no conflicts after deployment. &lt;br /&gt;&lt;br /&gt;Hope that makes sense.</summary>
    <dc:creator>James Min</dc:creator>
    <dc:date>2008-11-10T21:52:11Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay 5.1.2: How to Properly Deploy a Custom Created Theme</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=1562848" />
    <author>
      <name>Greg Hall</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=1562848</id>
    <updated>2008-11-10T20:35:39Z</updated>
    <published>2008-11-10T20:35:39Z</published>
    <summary type="html">Further to my previous post, I tried just downloading the WAR for the simple-unstyled-theme, and dropped it into the same &lt;strong&gt;C:\Documents and Settings\&amp;lt;username&amp;gt;\liferay\deploy&lt;/strong&gt; directory, and it showed up in the list of themes no problem. I was able to apply it to a page.</summary>
    <dc:creator>Greg Hall</dc:creator>
    <dc:date>2008-11-10T20:35:39Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay 5.1.2: How to Properly Deploy a Custom Created Theme</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=1562834" />
    <author>
      <name>Greg Hall</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=1562834</id>
    <updated>2008-11-10T20:31:37Z</updated>
    <published>2008-11-10T20:31:37Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;I just started with Liferay recently, and my experience is that you just build a WAR file and copy it to &lt;strong&gt;C:\Documents and Settings\&amp;lt;username&amp;gt;\liferay\deploy&lt;/strong&gt;, and Liferay will take care of the rest for you.&lt;br&gt;&lt;br&gt;I don't bother with the provided ant scripts, I found it easier not to use them. I just looked at the liferay plugins sdk, and grabbed the parts I need for a simple portlet, and made my own build script that creates a WAR and copies it for me, as follows:&lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;
&amp;lt;project name="PortletTest" default="liferay" basedir="."&amp;gt;
  &amp;lt;target name="liferay"&amp;gt;
    &amp;lt;delete file="portletTest.war" /&amp;gt;

    &amp;lt;war destfile="portletTest.war" webxml="portlet/WEB-INF/web.xml" duplicate="fail"&amp;gt;
      &amp;lt;webinf dir="portlet/WEB-INF"&amp;gt;
      	&amp;lt;exclude name="**/liferay*.tld" /&amp;gt;
      	&amp;lt;exclude name="web.xml" /&amp;gt;
      &amp;lt;/webinf&amp;gt;
    	
      &amp;lt;lib dir="lib"&amp;gt;
      	&amp;lt;include name="commons-lang*.jar" /&amp;gt;
      &amp;lt;/lib&amp;gt;
    &amp;lt;/war&amp;gt;

    &amp;lt;eclipse.convertpath property="projectName" filesystempath="." /&amp;gt;
    &amp;lt;eclipse.refreshlocal resource="${projectName}" /&amp;gt;

    &amp;lt;property environment="env" /&amp;gt;
    &amp;lt;copy file="portletTest.war" todir="${env.HOMEDRIVE}${env.HOMEPATH}\liferay\deploy" /&amp;gt;
  &amp;lt;/target&amp;gt;
&amp;lt;/project&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;In my case, I use Tomcat 5.5, so I manually copied some jars files to Tomcat's shared\lib directory, since they wouldn't work anywhere else (these are jars for JPA and JSTL). Since my portlet is just my own self-tutorial portlet, the only other jar I use is commons lang, referenced above.&lt;br&gt;&lt;br&gt;I exclude liferay.tld because it is already in the Tomcat container anyway. The web.xml exclusion is just to eliminate complaints about duplicate files, since it already copies web.xml anyway from the &lt;strong&gt;webxml&lt;/strong&gt; attribute.&lt;br&gt;&lt;br&gt;The standard windows environmant var (I'm using XP) HOMEDRIVE is &lt;strong&gt;C:&lt;/strong&gt; and HOMEPATH is &lt;strong&gt;\Documents and Settings\ghall&lt;/strong&gt;.&lt;br&gt;&lt;br&gt;The Eclipse tasks just refresh my project so the WAR file shows up in my project. I'm using a little trick to get the project name so I don't have to hard-code it. To run this Ant build in Eclipse, I have to manually specify that Ant runs in the same VM as Eclipse, otherwise the Eclipse tasks will fail to load their Java classes.&lt;br&gt;&lt;br&gt;Hope that helps.&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Greg Hall</dc:creator>
    <dc:date>2008-11-10T20:31:37Z</dc:date>
  </entry>
  <entry>
    <title>Liferay 5.1.2: How to Properly Deploy a Custom Created Theme</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=1543459" />
    <author>
      <name>S. N.</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=1543459</id>
    <updated>2008-11-05T17:35:53Z</updated>
    <published>2008-11-05T17:35:53Z</published>
    <summary type="html">Hi,&lt;br /&gt;I want to create custom themes for Liferay 5.1.2 but im having some issues with the command &amp;#34;&lt;strong&gt;ant deploy&lt;/strong&gt;&amp;#34; with Apache ANT.  &lt;br /&gt;&lt;br /&gt;I was able to successfully create layouts and even load them into Liferay using directions from threads and the WIKI.  Executing a theme seems a little more challenging.&lt;br /&gt;&lt;br /&gt;I configured everything properly except for &lt;strong&gt;build.&lt;em&gt;${user.name}&lt;/em&gt;.properties&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;I am a little confused with how to properly set the path values and even which values I should be using!  &lt;br /&gt;&lt;br /&gt;I ran across a few threads and found these:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;u&gt;One Solution&lt;/u&gt;&lt;/strong&gt; &lt;br /&gt;app.server.dir=${project.dir}/../portal&lt;br /&gt;app.server.portal.dir=${app.server.dir}/webapps/ROOT&lt;br /&gt;app.server.classes.portal.dir=${app.server.portal.dir}/WEB-INF/classes&lt;br /&gt;app.server.lib.global.dir=${app.server.dir}/lib/ext&lt;br /&gt;app.server.lib.portal.dir=${app.server.portal.dir}/WEB-INF/lib&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;u&gt;Second Solution&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;app.server.dir=/my-dir/appservers/liferay-portal-tomcat-jdk5-trunk&lt;br /&gt;auto.deploy.dir=${user.home}/liferay/deploy&lt;br /&gt;app.server.lib.portal.dir=/my-dir/liferay/trunk/portal-web/docroot/WEB-INF/lib&lt;br /&gt;app.server.portal.dir=/my-dir/liferay/trunk/portal-web/docroot&lt;br /&gt;javac.compiler=modern &lt;br /&gt;&lt;br /&gt;Looking at the paths for the same settings is getting me a little confused on where to properly set them.  Any insight would be greatly appreciated &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;u&gt;System Config&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;Fedora&lt;br /&gt;Liferay 5.1.2 Tomcat Bundle&lt;br /&gt;Apache Ant&lt;br /&gt;Liferay SDK</summary>
    <dc:creator>S. N.</dc:creator>
    <dc:date>2008-11-05T17:35:53Z</dc:date>
  </entry>
</feed>
