Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 336295 - Adding a jar with main-class in MANIFEST.MF to EAR 1.4 is detected as application client
Summary: Adding a jar with main-class in MANIFEST.MF to EAR 1.4 is detected as applica...
Status: RESOLVED FIXED
Alias: None
Product: WTP Java EE Tools
Classification: WebTools
Component: jst.j2ee (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0.5 P   Edit
Assignee: Roberto Sanchez Herrera CLA
QA Contact: Chuck Bridgham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-03 18:11 EST by Roberto Sanchez Herrera CLA
Modified: 2011-02-10 15:12 EST (History)
1 user (show)

See Also:
cbridgha: review+


Attachments
Patch (1.11 KB, patch)
2011-02-04 15:06 EST, Roberto Sanchez Herrera CLA
ccc: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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