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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T10:09:48+00:00 2026-05-16T10:09:48+00:00

I have a workspace with a dynamic web project in it. When I try

  • 0

I have a workspace with a dynamic web project in it. When I try to copy and paste the project into the same workspace, eclipse asks for the name of the new project, then it copies the files.

The problem I have is that when I deploy this project to the server it gets deployed with the original name and not the new name.

It looks like eclipse is not updating all the old name references when it makes the copy.

How do I make a good clean copy of an existing project?

  • 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-16T10:09:49+00:00Added an answer on May 16, 2026 at 10:09 am

    After some more searching I found this in the eclipse bug site.

    Steps To Reproduce:

    1. create a Dynamic Web Project and call it “Project1”
    2. copy and paste this project, in order to create another one which is a clone
      of the first; in the “Paste” dialog, specifiy “Project2” as the name of the
      target project (instead of “Copy of Project1”)

    OBSERVED BEHAVIOUR:

    The context root of the target project is the same as the source project. This
    could be a problem, but it can be easily updated in the project settings and/or
    in the server editor (module tab).
    However, even the module name is the same, while it’s usually equal to the
    project name. So, in Project2/.settings/org.eclipse.wst.common.component I find
    the following:

    This causes problems when deploying modules to the server. Moreover, the module
    name can’t be easily changed through the GUI from anywhere.

    EXPECTED BEHAVIOUR:

    The copy&paste operation should update the web module name to “Project2”, just
    like it happens when you rename a project.

    WORKAROUND:

    Make sure the module corresponding to the target project has not been added to
    the server. Then, manually edit
    Project2/.settings/org.eclipse.wst.common.component and change the deploy-name
    attribute value of the wb-module element. Close and restart Eclipse (!!!) and
    the new name will be taken. If you don’t restart Eclipse, even if you edit
    org.eclipse.wst.common.component from within Eclipse, WTP does not take the
    change (it seems it’s caching it somewhere in memory…).

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

Sidebar

Related Questions

I have created a Dynamic Web Project in my Eclipse workspace. It is also
I have set up a dynamic web project in Eclipse with a Tomcat 5.5
I'm creating a dynamic web project in Eclipse where I frequently have write and
I have a Dynamic Web Project in Eclipse which has a dependency to another
By default configuration in a new workspace I have Run as Web Application in
I have several projects open in an Eclipse workspace. Like so: com.harbl.project.one com.harbl.project.two com.harbl.project.three
I have smallish personal project consisting of the following Eclipse workspace. + +-MyApp //
In Eclipse, the folder structure when I create a Dynamic Web Project is [srikanth@hana
Here's the problem: I have a java dynamic web project under source control and
I have several dynamic web projects in my workspace, each contains classes and refers

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.