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

  • SEARCH
  • Home
  • 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 6933275
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T11:48:42+00:00 2026-05-27T11:48:42+00:00

In development, it’s fairly common to want to deploy your war to your local

  • 0

In development, it’s fairly common to want to deploy your war to your local app server, irrespective of whether it’s already deployed (i.e. just deploy over the old version, if it’s there).

However both cargo and the glassfish maven plugin fail under the following circumstances:

  • ‘redeploy’, if war is not already deployed,
  • ‘deploy’, if it’s already deployed.

As a developer, I don’t want to have to choose one or the other. Is there a single command that will enable deployment to succeed in both use cases?

  • 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-27T11:48:42+00:00Added an answer on May 27, 2026 at 11:48 am

    cargo:redeploy now works as expected in cargo 1.1.3 (at least with glassfish)

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

Sidebar

Related Questions

During development I frequently have to deploy a large war-file (~45 MB) to a
On development server, I am trying to write data to a single file using
During development, I usually test ASP.Net applications using the Web Development Server (sometimes called
My development machine has SQL Server 2008 Developer edition on it. A production server
My development env: Windows 7, TortoiseHg, ASP.NET 4.0/MVC3 Test branch: code on test server
During development of an mvc web application, I'm encourtering issues running the local instance
During development, our Android app is built using Eclipse (ADT). We use an eclipse
My development server is accessed by several OSX users, and their OS tends to
iPhone Development: I want to have an infinite loop constantly checking an NSMutableArray and
Development environment is C# 3.5 with a SQL Server 2008 database and Entity Framework.

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.