Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6002471
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T00:58:59+00:00 2026-05-23T00:58:59+00:00

I have been having trouble deploying liferay portlets and themes from the command line

  • 0

I have been having trouble deploying liferay portlets and themes from the command line with ant deploy;

sample execution:

pwd: C:\liferay-plugins-sdk\themes

create.bat deep-blue “Deep Blue”

cd deep-blue-theme

ant deploy

-> Buildfile: C:\liferay-plugins-sdk\themes\deep-blue-theme\build.xml

-> compile:

-> BUILD FAILED

-> C:\liferay-plugins-stk\themes\build-common-theme.xml:172: C:\liferay-plugins-sdk\themes\deep-blue-theme\liferay-portal-6.0.6 omcat-6.0.29webappsROOT\html\themes_unstyled does not exist.

the problem appears to be with the bold section and how the path is obviously incorrect; where is this directory being set?

edit:

the problem was my app.server.dir in build.{username}.properties

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T00:59:00+00:00Added an answer on May 23, 2026 at 12:59 am

    The error is a result of the ant build not being able to find a Liferay installation (which contains items needed by the SDK).

    By default, the build properties in the SDK are set up on the assumption that your setup looks like this:

    - Your Development Directory
      - bundles
        - data
        - deploy
        - license
        - tomcat-6.0.29
      - liferay-plugins-sdk
    

    Where bundles contains a Liferay bundle distribution, including the bundled Tomcat server.

    You can see this setup in the build.properties file at the root level of your SDK.

    #
    # Specify the paths to an unzipped Tomcat bundle.
    #
    app.server.type=tomcat
    app.server.dir=${project.dir}/../bundles/tomcat-6.0.29
    app.server.deploy.dir=${app.server.dir}/webapps
    app.server.lib.global.dir=${app.server.dir}/lib/ext
    app.server.portal.dir=${app.server.dir}/webapps/ROOT
    

    The recommended way to change this is not to edit this section of build.properties, but to create overriding entries in a new file, called build.username.properties. (where username is your user name on your computer account).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been having some trouble getting the following to work: <IfModule mod_rewrite.c> DirectoryIndex
i have been having for SQL trouble, i am using an SQLite database and
I have been having a ton of trouble because I have forgotten all of
I have been having quite a bit of trouble implementing unit testing on the
I have been experiencing an intermittent issue in my Rails app, and I'm having
I'm having trouble tying off my program (ending it up). I have a SurfaceView
I'm having trouble understanding why I get an error in the following code. I'm
I've been developing a web application (written in Python/Django) for a while. All my
I have recently started learning java as my first ever step into object oriented
I've just finished reading 'Java for Dummies' and have begun to create a simple

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.