Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [pde-ui-dev] exporting features with fragments that do not match the current Target Platform


We did some work in this area at the end of 3.3 (https://bugs.eclipse.org/bugs/show_bug.cgi?id=114779).  I was hoping you were using 3.2 and the solution would be to upgrade.

I don't track PDE Build updates, so something could have definitely be updated to aid in your scenario since 3.3.  I was just playing around with the Feature export and if you specify the os, ws, arch in the feature editor for the specific fragments, I can't find a way to get those to export correctly.

Feel free to open a bug report and we can investigate more.

Brian Bauman
    IBM Software Group - Austin, TX
    Eclipse Committer
    baumanbr@xxxxxxxxxx
    (512) 838 -2938 (T/L 678-2938)



Patrick Dempsey <pd@xxxxxxxxxx>
Sent by: pde-ui-dev-bounces@xxxxxxxxxxx

08/06/2007 01:21 PM

Please respond to
"Eclipse PDE UI developers list." <pde-ui-dev@xxxxxxxxxxx>

To
"Eclipse PDE UI developers list." <pde-ui-dev@xxxxxxxxxxx>
cc
Subject
Re: [pde-ui-dev] exporting features with fragments that do not        match        the current Target Platform






Eclipse 3.3 I20070625-1500

I also did a test with 3.3 I20070222-0951(which was the eclipse I was using before I upgraded to the GA).  It is able to do the described export.  

I took a look at the FeatureExportOperation code, and the code in org.eclipse.pde.internal.build.builder.FeatureBuildScriptGenerator.computeElements()
is the same in both drops
model = getSite(false).getRegistry().getResolvedBundle(identifier.getIdentifier(), versionRequested);

I was thinking that something changed in the PDEState having to do with Eclipse-PlatformFilter and whether or not the bundle will resolve?

Patrick Dempsey



On Aug 6, 2007, at 1:55 PM, Brian Bauman wrote:


Hey Patrick,


Which version of Eclipse are you using?


Brian Bauman
    IBM Software Group - Austin, TX
    Eclipse Committer
   
baumanbr@xxxxxxxxxx
    (512) 838 -2938 (T/L 678-2938)



Patrick Dempsey <pd@xxxxxxxxxx>
Sent by:
pde-ui-dev-bounces@xxxxxxxxxxx

08/06/2007 11:28 AM

Please respond to
"Eclipse PDE UI developers list." <
pde-ui-dev@xxxxxxxxxxx>


To
pde-ui-dev@xxxxxxxxxxx
cc
Subject
[pde-ui-dev] exporting features with fragments that do not match        the current Target Platform







If I create a feature (foo.feature) that contains 2 fragments: 1 for macosx, carbon, x86 (bar.carbon.macosx.x86). and 1 for win32, win32, x86 (bar.win32.win32.x86) is there any way to export this feature from the IDE?
I have a Target Environment with os=macosx, ws=carbon, arch=x86
Choosing Export...->Deployable Features->foo.feature will result in a plugin not found exception for bar.win32.win32.x86 (as it is in an unresolved state)
I have a Target Environment with os=win32, ws=win32, arch=x86
Choosing Export...->Deployable Features->foo.feature will result in a plugin not found exception for bar.carbon.macosx.x86 (as it is in an unresolved state)
How can I get both exported?
I realize that I can create 2 features with one fragment in each and then set the target environment to match the fragment's needs and then export the feature.  But this is not what I want, I want both fragments in the same feature.

Patrick Dempsey



_______________________________________________
pde-ui-dev mailing list

pde-ui-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-ui-dev

_______________________________________________
pde-ui-dev mailing list
pde-ui-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-ui-dev
_______________________________________________
pde-ui-dev mailing list
pde-ui-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-ui-dev


Back to the top