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.
This is an umbrella ticket to clean up some old JBI terms (probably used before JBI 1.0 spec was finalized). Specifically, "Assembly Unit" should be changed to "Service Assembly"; "Application Sub Assembly" should be changed to "Service Unit". Those terms are used in both project customizer UI and project.properties file in various projects and they are confusing people.
Needs to be done before UI freeze
Created attachment 44004 [details] Old JBI Module project customizer and proposed changes
Created attachment 44005 [details] New JBI Module project customizer with proposed changes (I am using a IEP project here)
Created attachment 44006 [details] Proposed CompApp cutomizer changes
One thing that needs to be decided is how to transfer SU description to CompApp. The schema for SU jbi.xml doesn't contain this info. Maybe we can add an extension? The current CompApp contains a SU description (see CompApp Customizer) that is applied to all the SUs. This doesn't make sense to me.
We should fix these outdated customizer panels in jbi and se projects. One possible way to access these information from SE projects is using standardized property names. If these properties are not defined in the SE project, then the default value will be used. I will try to write a short description on how to do this next week.
We will use standardized property name to communicate service unit description from JBI Module project to CompApp project. I propose to remove the following properties in JBI module project which are either not-used or invalid: com.sun.jbi.ui.devtool.jbi.alias.application-sub-assembly=This Application Sub-Assembly com.sun.jbi.ui.devtool.jbi.alias.assembly-unit=This Assembly Unit com.sun.jbi.ui.devtool.jbi.component.conf.root=nbproject/private com.sun.jbi.ui.devtool.jbi.deployment.conf.root=nbproject/deployment com.sun.jbi.ui.devtool.jbi.description.application-sub-assembly=This represents the Application Sub-Assembly I also propose to replace the following two properties: com.sun.jbi.ui.devtool.jbi.description.assembly-unit=Represents this Assembly Unit com.sun.jbi.ui.devtool.jbi.setype.prefix=sun-iep-engine by jbi.service-unit.description=Represents this Service Unit jbi.se.type=sun-iep-engine respectively. For backward compatibility, CompApp will check both the new name "jbi.service-unit.description" (preferred) and old name "com.sun.jbi.ui.devtool.jbi.description.assembly-unit" in the JBI Module projects for service unit description. This description, if found, overwrites the template service unit description defined in CompApp. The above proposed property name changes is not mandatory. JBI Module project owners can choose to migrate old project property names automatically or leave them untouched. The UI clean up, as shown in the first two attachments, is a must-fix before UI freeze though.
Clean up for the old terms "Assembly Unit" and "Application Sub Assembly" to "Service Assembly" and "Service Unit" respectively.