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

Bug 336295

Summary: Adding a jar with main-class in MANIFEST.MF to EAR 1.4 is detected as application client
Product: [WebTools] WTP Java EE Tools Reporter: Roberto Sanchez Herrera <shr31223>
Component: jst.j2eeAssignee: Roberto Sanchez Herrera <shr31223>
Status: RESOLVED FIXED QA Contact: Chuck Bridgham <cbridgha>
Severity: normal    
Priority: P3 CC: ccc
Version: unspecifiedFlags: cbridgha: review+
Target Milestone: 3.0.5 P   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Patch ccc: iplog+

Description Roberto Sanchez Herrera CLA 2011-02-03 18:11:14 EST
Build Identifier: WTP R-3.0.5-20090521045405

When you add a jar file that has a main-class in MANIFEST.MF using the Java EE Module Dependencies page to an EAR 1.4, this jar is added as an application client module to the EAR (is added to the EAR deployment descriptor)

Reproducible: Always

Steps to Reproduce:
1. Create an EAR 1.4
2. Using the Java EE Module Dependencies page, add a jar that has a main-class entry in the MANIFEST.MF. The jar is added as an application client module to the EAR
Comment 1 Roberto Sanchez Herrera CLA 2011-02-04 15:06:21 EST
Created attachment 188362 [details]
Patch
Comment 2 Chuck Bridgham CLA 2011-02-07 09:54:07 EST
approve
Comment 3 Carl Anderson CLA 2011-02-10 15:12:03 EST
Committed to R3_0_5_patches