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 971659
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T02:59:56+00:00 2026-05-16T02:59:56+00:00

I have manually configured my org.eclipse.wst.common.component to deploy my web-app via Eclipse WTP from

  • 0

I have manually configured my org.eclipse.wst.common.component to deploy my web-app via Eclipse WTP from my project’s target directory (so my deployment includes the result of JSP pre-compilation).

But now every time I run an “mvn clean” build (command-line or in M2Eclipse, the file reverts to a previous state. Anyone know why this might be happening?

Thanks

  • 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-16T02:59:57+00:00Added an answer on May 16, 2026 at 2:59 am

    OK, got it. My settings/org.eclipse.wst.common.component had looked like this:

    <?xml version="1.0" encoding="UTF-8"?>
    <!--THIS IS WRONG-->
    <project-modules id="moduleCoreId" project-version="1.5.0">
    <wb-module deploy-name="dss-sample-webapp">
        <property name="context-root" value="dss-sample-webapp"/>
        <wb-resource deploy-path="/" source-path="/target/dss-sample-webapp" />
    </wb-module>
    

    Every time I deleted the target/dss-sample-webapp directory (like with a ‘mvn clean’ build), the corresponding line in the file automatically disappeared:

    <wb-resource deploy-path="/" source-path="/target/dss-sample-webapp" />
    

    Removing the leading ‘/’ fixed the problem. I could delete the target directory to my heart’s content, and the settings/org.eclipse.wst.common.component file would be unaffected.

    So, the fully functioning settings/org.eclipse.wst.common.component is as follows:

    <?xml version="1.0" encoding="UTF-8"?>
    <!--THIS IS RIGHT-->
    <project-modules id="moduleCoreId" project-version="1.5.0">
    <wb-module deploy-name="dss-sample-webapp">
        <property name="context-root" value="dss-sample-webapp"/>
        <wb-resource deploy-path="/" source-path="target/dss-sample-webapp" />
    </wb-module>
    

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

Sidebar

Related Questions

I have a Eclipse Dynamic Web Project which host a simple servlet and runs
I have taken the org.eclipse.equinox.p2.examples.rcp.prestartupdate project and adapted it for use in my RCP
We have a couple production servers that are configured to only allow access via
I have to manually deploy my servlet war packages on an Apache tomcat instance
I have downloaded the Python 2.7.2 Windows x86 32-bit MSI from python.org and installed
Where does Eclipse store the keyboard shortcuts configured in the Preferences dialog? I have
I have a web project in my solution file that is unavailable when I
I have a problem which I thought could be common, searched the web for
In my table I have looked manually and found that the top three idle
Is there a way that I manually have a user look up the current

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.