Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [orbit-dev] Problem with picking up orbit bundles with PDE build

David,

All the bundles are downloaded at the same time (you can see what is being
is fetched from the fetch_<featureId>.xml script being generated).
Therefore they are all available for compilation purpose.
Nothing special is being done in the package phase. The package phase has
always been about getting pre-built plug-ins (plug-ins that do not have a
build.properties).

HTH,

PaScaL



                                                                           
             David M Williams                                              
             <david_williams@u                                             
             s.ibm.com>                                                 To 
             Sent by:                  Orbit Developer discussion          
             orbit-dev-bounces         <orbit-dev@xxxxxxxxxxx>             
             @eclipse.org                                               cc 
                                                                           
                                                                   Subject 
             03/26/2007 11:29          Re: [orbit-dev] Problem with        
             AM                        picking up orbit bundles with PDE   
                                       build                               
                                                                           
             Please respond to                                             
              Orbit Developer                                              
                discussion                                                 
             <orbit-dev@eclips                                             
                  e.org>                                                   
                                                                           
                                                                           





Now even I'm confused (no surprise there :).

I've tried to switch to the URL map form of pulling bundles and found it
doesn't work as expected. (if at all).

Pascal, are you saying it only "gets" the URL map entries during packaging?
After the assembly and build?

I was expecting it to get it at the same time it "fetches" the other
plugins from CVS.

So, is this not the case?

My use case is that in my xml_core.feature I wanted to include xerces, but,
there are other
bundles in xml_core that depend on xerces being there when they build ...
not just after the fact,
when they are packaged.

Does it sound like it's working as designed? And I just need to change my
expectations?
Or, could I have some other bug somewhere preventing it from being fetched
at the right time?

Thanks,



                                                                           
 Pascal Rapicault                                                          
 <Pascal_Rapicault@xxxxxxxxxx>                                             
                                                                        To 
 Sent by:                               Orbit Developer discussion         
 orbit-dev-bounces@xxxxxxxxxxx          <orbit-dev@xxxxxxxxxxx>            
                                                                        cc 
                                        Orbit Developer discussion         
 03/13/2007 08:07 PM                    <orbit-dev@xxxxxxxxxxx>,           
                                        orbit-dev-bounces@xxxxxxxxxxx      
                                                                   Subject 
       Please respond to                Re: [orbit-dev] Problem with       
   Orbit Developer discussion           picking up orbit bundles with PDE  
    <orbit-dev@xxxxxxxxxxx>             build                              
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           






Hubert,

Make sure that the runPackager property is set to true.

PaScAL
                                                                           
 Hubert H                                                                  
 Leung/Toronto/IBM@IBMCA                                                   
 Sent by:                                                                  
 orbit-dev-bounces@xxxxxxxxxxx                                          To 
                                            Orbit Developer discussion     
                                            <orbit-dev@xxxxxxxxxxx>        
 03/13/2007 05:35 PM                                                    cc 
                                                                           
                                                                   Subject 
        Please respond to                   [orbit-dev] Problem with       
    Orbit Developer discussion              picking up orbit bundles with  
     <orbit-dev@xxxxxxxxxxx>                PDE build                      
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           







TPTP has recently changed the build to pick orbit bundles with PDE build.
I am using PDE in the I20070306-1200 eclipse build.  However, I find that
PDE does not include the orbit bundles in the feature zip files.  I opened
bug 177216 (https://bugs.eclipse.org/bugs/show_bug.cgi?id=177216) to track
this problem.  I wonder if any project using Orbit has seen this problem,
or can help me solve this problem.    Thanks in advance.


Here is the bug description:

I am changing the TPTP build to package Orbit bundles.  In the map file, I
have
the following entries:

plugin@org.apache.xerces=GET,
http://download.eclipse.org/tools/orbit/downloads/drops/S200702082257/bundles/org.apache.xerces_2.8.0.v200702082200.jar

plugin@xxxxxxxxxxxxxx.resolver=GET,
http://download.eclipse.org/tools/orbit/downloads/drops/S200702082257/bundles/org.apache.xml.resolver_1.1.0.v200702082200.jar


During the build, these two jar files are downloaded into the plugins
directory
of the workspace.  So, the map file seems to be working.

The feature.xml of the feature that contains the xerces bundles have the
versions of the Orbit bundles expanded and contains the unpack="false"
attribute.  The feature.xml looks good:

 <plugin
       id="org.apache.xerces"
       download-size="0"
       install-size="0"
       version="2.8.0.v200702082200"
       unpack="false"/>

 <plugin
       id="org.apache.xml.resolver"
       download-size="0"
       install-size="0"
       version="1.1.0.v200702082200"
       unpack="false"/>

However, the 2 orbit bundles are not packaged in the zip file of the
feature
that contains the two bundles.  That is, the resulting zip file from the
build
has a feature that contains dangling pointers to the 2 orbit bundles,
because
they are not packaged.

This sounds like a bug in PDE.  But please let me know if I missed any
configurations for picking up Orbit bundles.  Thanks.


_________________________
Hubert Leung
IBM Toronto Lab
hkyleung@xxxxxxxxxx
905-413-3382_______________________________________________
orbit-dev mailing list
orbit-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/orbit-dev
_______________________________________________
orbit-dev mailing list
orbit-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/orbit-dev
_______________________________________________
orbit-dev mailing list
orbit-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/orbit-dev




Back to the top