Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-update-dev] State of update for M5


I just tried building a dummy feature, and it appears to work.  Sorry for the false report.

I'm going to be needing to make use of the custom install handling.  We'll be downloading some zip files, and unpacking inside an Eclipse-based product directory.  Really, all I need to do is unzip a file (in a particular location).  When I look at the IInstallHandler and BaseInstallHandler, I'm kind of scared; I'd really prefer to not have to deal with any of this.  What I would really prefer is to have an ant script invoked at all the appropriate times.  

I have a bunch (20-30) features I'm going to need to do this for.

What are the chances this could be added to the base architecture?

If you can't do it, can I write a handler that does this?  I'm not sure if I can, since the IInstallHandler will only have visibility to the update plugin (and pre-reqs), and I supposed ant isn't one of those.

In lieu of this, a much simpler interface would be welcome which would require me to have a large chunk of eclipse loaded just to build the handler.  Basically, an interface that includes nothing but base java Classes, as opposed to org.eclipse.update.core classes.

When do the configure/unconfigure hooks run?  

I assume completeXXX() is called after xxxInitiated() and before xxxCompleted()?  And that xxxInitiated() and xxxCompleted() are really just notifications, whereas the completeXXX() methods are intended to be where you would do real work (like unpacking a zip file).  The naming on these is odd.  It seems like you should be consistent and call it xxxFinish() or something.  Unless there is something else going on here I don't see.

How would completeXXX() indicate problems?  Throw a CoreException?  Talk to the IMonitor somehow?

Why does initialize() indicate the 'type' - (un)configure / (un)install, AND there are type-specific methods.  Shouldn't you just do one or the other?  It seems like it would be cleaner to not have all the type-specific methods; just initiated/complete/completed.

What is the purpose for having IPluginEntry and INonPluginEntry knowing about ws/os/arch, but the feature know this also.  Do all the features get downloaded, then the handler decide which one actually gets installed?  I read the feature.xml description as only those features that match the description get downloaded.

Patrick Mueller
patrick_mueller@xxxxxxx



klicnik@xxxxxxxxxx
Sent by: platform-update-dev-admin@xxxxxxxxxxx

05/03/2002 09:02 AM
Please respond to platform-update-dev

       
        To:        platform-update-dev@xxxxxxxxxxx
        cc:        
        Subject:        Re: [platform-update-dev] State of update for M5



Pat, M5 has a bug we caught too late that messes up the configuration state
of an installed feature. However, the attached does not sound like that is
what you are running into. It sounds like you failed to package a
downloadable feature. Can you please supply a bit more detail and we'll try
to get you going.



                                                                                                                               
                   Patrick_Mueller@xxxxxxx                                                                                    
                   Sent by:                          To:     platform-update-dev@xxxxxxxxxxx                                  
                   platform-update-dev-admin@e       cc:                                                                      
                   clipse.org                        Subject:     [platform-update-dev] State of update for M5                
                                                                                                                               
                                                                                                                               
                   05/02/2002 01:23 PM                                                                                        
                   Please respond to                                                                                          
                   platform-update-dev                                                                                        
                                                                                                                               
                                                                                                                               




What is the state of update at the M5 level of Eclipse,  Someone in my
group tried to build a downloadable feature, but didn't have much luck.
Before spending more time, I thought I'd see what what can expect to work.

Patrick Mueller
patrick_mueller@xxxxxxx


_______________________________________________
platform-update-dev mailing list
platform-update-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-update-dev



Back to the top