Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 214847

Summary: naming collision between "web project" and "web_project" in application.xml
Product: [WebTools] WTP Java EE Tools Reporter: James Song <jsong>
Component: jst.j2eeAssignee: jst.j2ee <jst.j2ee-inbox>
Status: CLOSED WONTFIX QA Contact: Chuck Bridgham <cbridgha>
Severity: normal    
Priority: P3 CC: ccc, david_williams
Version: 2.0.1Keywords: helpwanted
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description James Song CLA 2008-01-09 22:04:20 EST
Build ID: M20070921-1145

Steps To Reproduce:
1.Create a dynamic web project named "web project"
2.Create an ear project and add "web project" into the ear
3.Create another dynamic web project named "web_project" and add the project into the ear created in step 2.
4. Inspect application.xml, there is one module:

<module>
       <web>
            <web-uri>web_project.war</web-uri>
            <context-root>web_project</context-root>
       </web>
</module>



More information:
Comment 1 Carl Anderson CLA 2008-01-25 09:07:37 EST
We replace spaces with underscores to avoid problems with names that have spaces in them.  Any recommendation on a better way to handle spaces in the various artifacts would be appreciated.
Comment 2 Carl Anderson CLA 2010-02-16 16:56:22 EST
It has been over 2 years.  I am going to close this as WONTFIX.  If anyone wants to contribute the code to resolve this, please reopen this bug.