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

Bug 319735

Summary: Unwanted newlines before display name value
Product: [WebTools] WTP Java EE Tools Reporter: Carl Anderson <ccc>
Component: jst.j2eeAssignee: Carl Anderson <ccc>
Status: RESOLVED FIXED QA Contact: Chuck Bridgham <cbridgha>
Severity: normal    
Priority: P3 Flags: cbridgha: review+
Version: 3.0.5   
Target Milestone: 3.0.5 P   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 319639    
Bug Blocks:    
Attachments:
Description Flags
Remove the \n after <display-name> none

Description Carl Anderson CLA 2010-07-13 10:49:01 EDT
This bug is to backport the fix to R3_0_5_patches

+++ This bug was initially created as a clone of Bug #319639 +++

An adopter product has run into problems where the display name formatting can cause issues with other tools.  As an example, today an EAR 5.0 named Ear50 would be created with:

<display-name>
Ear50</display-name>

Instead, we should have:

<display-name>Ear50</display-name>

Note that this was previously fixed for older J2EE versions- see bug 271837.  This fixes up Java EE 5 and 6 default content.
Comment 1 Carl Anderson CLA 2010-07-13 12:17:22 EDT
Created attachment 174172 [details]
Remove the \n after <display-name>
Comment 2 Chuck Bridgham CLA 2010-07-13 14:14:00 EDT
approved
Comment 3 Carl Anderson CLA 2010-07-27 08:21:18 EDT
Committed to R3_0_5_patches