Bug 236278 - Need to adjust "dependancy" section of feature definitions
Summary: Need to adjust "dependancy" section of feature definitions
Status: RESOLVED FIXED
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 2.1 M1   Edit
Assignee: Tran Le CLA
QA Contact:
URL:
Whiteboard: PMC_approved
Keywords:
Depends on:
Blocks: 231453
  Show dependency tree
 
Reported: 2008-06-09 12:59 EDT by David Williams CLA
Modified: 2011-05-17 10:43 EDT (History)
2 users (show)

See Also:


Attachments
patch to 'require' features instead of plugins (5.12 KB, patch)
2008-06-09 23:19 EDT, David Williams CLA
neil.hauge: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Williams CLA 2008-06-09 12:59:37 EDT
This is to track some follow-through work that started with bug 231453. 

To summarize, historically we purposely used plugins only in our "feature dependencies" but due to improvements in P2 software updates (where it purposely minimizes downloads and installs) this is no longer always the right thing to do. 

The goal (the problem to overcome) is that we want the same stuff installed, whether someone unzips everything, uses the EPP JEE Package, or, in this case, picks "Dali" from update site and installs "just" that. 

For example, I think the way it is now, it would end up installing required XML Code, but not XML Documentation. That might be desired in the future! But, the problem for now is that it will be impossible to take advantage of "patch maintenance" if we don't know exactly what features are installed in all these scenarios. 

I hope to attach patch here later today. For "final" RC4 build on Tuesday.
Comment 1 David Williams CLA 2008-06-09 23:19:55 EDT
Created attachment 104259 [details]
patch to 'require' features instead of plugins

This is my initial best guess at what the minimal, smallest required features should be. Probably need to do a head build, and/or some testing before claiming it's done.
Comment 2 Tran Le CLA 2008-06-10 01:29:38 EDT
Patch checked into head.

David let me know when DTP reference will be ready, and I will try a local build.
Comment 3 David Williams CLA 2008-06-10 01:36:00 EDT
I have updated the DTP reference to the latest available for download, 
dtp-sdk-1.6RC4-200806090500.zip 

Comment 4 Tran Le CLA 2008-06-10 03:56:22 EDT
The patch is passing in the local build. 
There is nothing abnormal to report.
Comment 5 David Williams CLA 2008-06-10 08:29:06 EDT
Since this is merely an "extension" of bug 231453 I'm marking as PMC approved, to correspond to bug 231453. 

Thanks, 
Comment 6 Tran Le CLA 2008-06-10 10:16:37 EDT
Released.
Comment 7 Neil Hauge CLA 2008-06-18 13:37:09 EDT
David,

I missed this originally, but now notice that you removed the DTP Enablement feature from the requires list.  This is not a "required to function" feature, but is something that we were including for usability purposes.  (see bug 192269).

I imagine you might have done this intentionally given your comments, so I wanted understand the motivation behind this, or whether you were just trying to get things to work at a minimum and waiting for us to add back "wanted" features.
Comment 8 David Williams CLA 2008-06-18 13:49:51 EDT
(In reply to comment #7)
> David,
> 
> I missed this originally, but now notice that you removed the DTP Enablement
> feature from the requires list.  This is not a "required to function" feature,
> but is something that we were including for usability purposes.  (see bug
> 192269).
> 
> I imagine you might have done this intentionally given your comments, so I
> wanted understand the motivation behind this, or whether you were just trying
> to get things to work at a minimum and waiting for us to add back "wanted"
> features.
> 

Definitely the later ... I just looked at what would minimally be required, and figured you all would adjust if something else was desired. 
Comment 9 David Williams CLA 2008-06-18 22:07:35 EDT
re-opening. 
Normally I say since "mere usability" it would not be worth a respin, but if we fix  bug 237668, we _might_ also want to fix this, since it is a regression introduced with recent change. (can't say I really understand the impact ... but sounds like things are not 'usable' without installing more from DTP). 

Also ... I notice the features in the require section are over specified .. many have 4 version field, instead of 3. 



Comment 10 Tran Le CLA 2008-06-26 18:44:18 EDT
Change released.
Comment 11 Neil Hauge CLA 2008-07-25 14:08:41 EDT
Given that this change was released before the maintenance branch was created, I'm concerned about the impact this change could have on a user updating their 2.0 code.  I assume that new installer could handle the additional dependencies when updating, but I'm not sure that this is the case.  I was originally thinking we would make this change in Head after we branched for maintenance to be on the safe side. 
Comment 12 David Williams CLA 2008-07-25 16:07:25 EDT
(In reply to comment #11)

Fine with me. 

It probably would work ok, but not sure it's worth the effort. 

See also bug 238280. 
We will fix some of the DTP documentation issues in the JEE IDE in maintenance release, so that should help many users. 
Comment 13 Neil Hauge CLA 2008-07-25 16:40:19 EDT
Entered bug 242118 to address this lingering issue.
Comment 14 Neil Hauge CLA 2008-08-27 16:31:49 EDT
Minor housekeeping - This last issue was address in 2.1M1.