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

Bug 329557

Summary: Utility needed for collecting classpath dependencies pushed up to parent
Product: [WebTools] WTP Java EE Tools Reporter: Jason Peterson <jasonpet>
Component: jst.j2eeAssignee: Jason Peterson <jasonpet>
Status: RESOLVED FIXED QA Contact: Chuck Bridgham <cbridgha>
Severity: normal    
Priority: P3 CC: ccc, jsholl
Version: 3.2Flags: cbridgha: review+
Target Milestone: 3.2.3   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
patch none

Description Jason Peterson CLA 2010-11-05 11:36:27 EDT
Created attachment 182486 [details]
patch

An adopter is requesting a utility class that would collect all the archives in an EAR or Web project that were received from children who had pushed them up.  Children could push these up to the parent by tagging java classpath entries with the dependency attribute and setting their deploy path to "../".

Attached is a patch containing a class called ClasspathDependenciesCollector.  It takes an EAR or Web virtual component and uses the Flat Component model to collect the archives.
Comment 1 Chuck Bridgham CLA 2010-11-08 10:23:49 EST
approved
Comment 2 Jason Sholl CLA 2010-11-10 12:28:22 EST
Code checked into both 32M and HEAD for WTP 3.2.3 and 3.3