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

Bug 182480

Summary: A needless newline is inserted to the deployment descriptor.
Product: [WebTools] WTP Java EE Tools Reporter: Masashi Sato <masashi.sato>
Component: jst.j2eeAssignee: jst.j2ee <jst.j2ee-inbox>
Status: RESOLVED DUPLICATE QA Contact: Chuck Bridgham <cbridgha>
Severity: normal    
Priority: P3 CC: for.work.things, hinaba, thatnitind
Version: 2.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Proposal patch none

Description Masashi Sato CLA 2007-04-15 23:06:25 EDT
Build ID: I20070323-1616

Steps To Reproduce:
When a web application project is created or a servlet is created by using wizards, A needless newline is inserted to the deployment descriptor like below.

	<display-name>
	web1</display-name>
	<welcome-file-list>

I think the judgment whether tag has children is not correct. 



More information:
Comment 1 Amy Wu CLA 2008-02-04 12:58:21 EST
mass reassignment of my bugs to xml-inbox
Comment 2 Nitin Dahyabhai CLA 2008-02-14 13:52:36 EST
Moving to JavaEE--we don't create that file.
Comment 3 Masashi Sato CLA 2008-08-25 02:50:39 EDT
Created attachment 110775 [details]
Proposal patch

I made the patch to evade this problem. 
Please refer to the patch for details.
Comment 4 Krzysztof Daniel CLA 2009-02-05 07:37:20 EST
Marking as duplicate of bug 205371 as that bug has greater scope.

*** This bug has been marked as a duplicate of bug 205371 ***