| Summary: | Deployment Assembly page shows duplicate entries | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Java EE Tools | Reporter: | Gary Karasiuk <karasiuk> | ||||||||
| Component: | jst.j2ee | Assignee: | Roberto Sanchez Herrera <shr31223> | ||||||||
| Status: | CLOSED INVALID | QA Contact: | Chuck Bridgham <cbridgha> | ||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | CC: | ccc | ||||||||
| Version: | 3.2.3 | ||||||||||
| Target Milestone: | 3.2.5 | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows 7 | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Gary Karasiuk
Created attachment 197733 [details]
1) Deployment Assembly page before add
Created attachment 197734 [details]
2) After adding my projects
Created attachment 197735 [details]
3) After reopening the page
I attached three screen shots, to illustrate the problem. They are taken in order. The third attachment, "3) After reopening the page" shows the problem. Note - If I reopen the Deployment Assembly page, the duplicates have gone away. Roberto please investigate Hi Gary, some questions: 1. What version if you dynamic web project? does it have deployment descriptor? 2. What type are the other projects? java projects? utility projects? 3. What version of Tomcat are you using? Thank you (In reply to comment #6) > Hi Gary, some questions: > > 1. What version if you dynamic web project? does it have deployment descriptor? > 2. What type are the other projects? java projects? utility projects? > 3. What version of Tomcat are you using? 1. version = 3.0, no web.xml file 2. They are OSGi bundles, but from a WTP perspective, they can be considered as simple Java projects 3. version 7 I'll email you a copy of my projects. After looking at your projects, and with the help of Chuck, I found that: - Looks like the utility projects are corrupt: some files are missing (e.g., the file .settings/org.eclipse.wst.common.component) - The deployment assembly page of the web project does not show references to the other projects (because they are corrupt), but the file .settings/org.eclipse.wst.common.component does have references to these projects. So, if I add the project in the deployment assembly page, the component file is updated (so the entries are duplicated), and the utility files are fixed (the missing files are added), and therefore you see the projects twice. Just to make sure, can you please confirm in your workspace that you see multiple entries for the same files in the component file of the web project? Roberto, Your last comment made me realize that I made a mistake. I am closing this Bugzilla. This is what happened: 1) I added those POJO projects to my web app. 2) I discovered that POJO projects were changed by the add function. (which I did not like) 3) Since the POJO projects were under source control, I restored the projects to undo those unwanted changes. 4) Later when I was investigating a different defect, I added the POJO projects to my web app, and that is when the duplicates appeared. Thanks for your help on this. closing |