Bug 144510 - Ant task should reuse mappings from widget binding
Summary: Ant task should reuse mappings from widget binding
Status: NEW
Alias: None
Product: WTP Webservices
Classification: WebTools
Component: jst.ws (show other bugs)
Version: 1.5   Edit
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: Future   Edit
Assignee: Eric Peters CLA
QA Contact: Chris Brealey CLA
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2006-05-30 14:23 EDT by Kathy Chan CLA
Modified: 2010-06-10 13:40 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kathy Chan CLA 2006-05-30 14:23:47 EDT
Currently, the Web services Ant task has it's own data mapping stored in AntClientRootCommandFragment and AntServiceRootCommandFragment which basically is a subset of ClientWidgetBinding and ServerWidgetBinding respectively.  So whenever we add or delete a binding from the widget binding, we need to make the same change to the Ant root command fragment.  This is very error prone and high maintence. We should restructure the registerDataMapping in the widget binding to call 2 methods. One of them is the mapping that's applicable for both Ant and wizard and the other one is the mapping just for the wizard.  With this restructuring, updates to the mapping only needs to be done in one place.
Comment 1 Joan Haggarty CLA 2006-07-05 16:58:14 EDT
Kathy - over to you...

thanks, Joan.
Comment 2 Kathy Chan CLA 2007-09-27 13:47:17 EDT
Eric, 

Over to you to handle.
Comment 3 Kathy Chan CLA 2008-07-31 20:24:15 EDT
This starts to become a maintenance issue when new RFEs or defects introduce additional mappings.
Comment 4 Keith Chong CLA 2009-05-28 14:20:43 EDT
Sounds like a good idea to reduce the maintenance cost.  Too late for 3.1 so retargetting.