Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 329557 - Utility needed for collecting classpath dependencies pushed up to parent
Summary: Utility needed for collecting classpath dependencies pushed up to parent
Status: RESOLVED FIXED
Alias: None
Product: WTP Java EE Tools
Classification: WebTools
Component: jst.j2ee (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2.3   Edit
Assignee: Jason Peterson CLA
QA Contact: Chuck Bridgham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-05 11:36 EDT by Jason Peterson CLA
Modified: 2010-11-10 12:28 EST (History)
2 users (show)

See Also:
cbridgha: review+


Attachments
patch (6.26 KB, patch)
2010-11-05 11:36 EDT, Jason Peterson CLA
no flags Details | Diff

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