Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipse-dev] [eclipse-build] Build N20021205 (Timestamp: 200212050010):Compile errors in build

Dejan,

Plug-in API re-exports are indeed transitive.  PDE UI should see both the
API of PDE Core and JDT Core. It sounds like there's a problem with the way
build-time classpaths are being computed.

Aside: It's odd for PDE Core to be re-exporting the API of JDT Core.  The
original intent of the re-export mechanism is to allow a tool that is cut
up into several plug-ins (for whatever reason) to be able to coalesce its
API offerings so that it's clients are not exposed to the fact that several
plug-ins are used. I wouldn't recommend using API re-exporting as a way to
do your clients a favour; otherwise, next thing you know every plug-in will
be re-exporting the Core Resources API if they come in contact with
resources. A tool should provide its own API, and allow other tools to do
the same.

---jim



                                                                                                                                    
                      Dejan                                                                                                         
                      Glozic/Toronto/IBM        To:       eclipse-dev@xxxxxxxxxxx                                                   
                      @IBMCA                    cc:                                                                                 
                      Sent by:                  Subject:  Re: [eclipse-dev] [eclipse-build] Build N20021205 (Timestamp:             
                      eclipse-dev-admin@         200212050010):Compile errors in build                                              
                      eclipse.org                                                                                                   
                                                                                                                                    
                                                                                                                                    
                      12/05/2002 09:55                                                                                              
                      AM                                                                                                            
                      Please respond to                                                                                             
                      eclipse-dev                                                                                                   
                                                                                                                                    
                                                                                                                                    




This is an interesting failure that may be caused by PDE computing
classpaths incorrectly, but I need a confirmation.

PDE UI imports PDE plug-in;
PDE plug-in imports PDE Core and reexports it
PDE Core imports JDT Core and reeexports it

Question: Should PDE UI see JDT Core or not? Apparently, PDE thinks it
should (and JDT Core seem to agree, since there are no compilation errors).
However, build compiler thinks otherwise. Who is right?

Regards,

Dejan Glozic, Ph.D.
Manager, Eclipse Platform Components
D2/MY7/8200/MKM
IBM Canada Ltd.
Tel. 905 413-2745  T/L 969-2745
Fax. 905 413-4854




                      sonia_dimitrov@oti

                      .com                      To:
eclipse-dev@xxxxxxxxxxx

                      Sent by:                  cc:

                      eclipse-dev-admin@        Subject:  [eclipse-dev]
[eclipse-build] Build N20021205 (Timestamp:
                      eclipse.org                200212050010):Compile
errors in build


                      05/12/2002 12:32

                      AM

                      Please respond to

                      eclipse-dev






Build N20021205 (Timestamp: 200212050010):  Compile errors in build.  See
attached compile logs.(See attached file:
/builds/nightly/src/plugins/org.eclipse.pde.ui/temp.folder/pdeui.jar.bin.log)







Back to the top