This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 104708 - Merge two config files of CompApp project
Summary: Merge two config files of CompApp project
Status: NEW
Alias: None
Product: soa
Classification: Unclassified
Component: Composite Application (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jun Qian
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-24 09:40 UTC by Jun Qian
Modified: 2007-05-24 16:26 UTC (History)
1 user (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jun Qian 2007-05-24 09:40:09 UTC
Two of compapp project's config files (ComponentInformation.xml and
BindingComponentInformation.xml under src/conf) should be merged into one for
easier maintainence. 

Currently BindingComponentInformation.xml contains all the binding components
declared in ComponentInformation.xml with extra namespace information. Keeping
binding component information in two separate files in sync is error prone.
Comment 1 Tientien Li 2007-05-24 16:26:13 UTC
Jun,

I checked the CompApp code this morning..  The ComponentInfo.xml and 
BindingComponentInfo.xml are created and serve different purposes. I am not 
sure these two files can be merged easily,

The ComponentInfo.xml is created initially using plug-in information from IDE. 
This file is used for configuring CompApp packaging properties. The user can 
update/change its content according to the component info from the attached 
server. This file reflects the component information of the target JBI run-
time.

The BindingComponentInfo.xml is also created initially using plug-in 
information from IDE. It is used by CASA palette and the ant task to generate 
BC SUs. It contains some additional information not available in 
ComponentInfo.xml, e.g., namespaces. This file reflects the binding component 
information registered in the IDE.

The content and usage of the two files are different. If you try to merge 
them, please work out a design first and make sure no loss of existing 
functionality.

--
Tientien Li