Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 135713 Details for
Bug 275316
[publisher] CU versions should match product, not host
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
uses product version
clipboard.txt (text/plain), 1.47 KB, created by
Ian Bull
on 2009-05-13 19:13:15 EDT
(
hide
)
Description:
uses product version
Filename:
MIME Type:
Creator:
Ian Bull
Created:
2009-05-13 19:13:15 EDT
Size:
1.47 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.equinox.p2.publisher >Index: src/org/eclipse/equinox/p2/publisher/eclipse/ConfigCUsAction.java >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.equinox/p2/bundles/org.eclipse.equinox.p2.publisher/src/org/eclipse/equinox/p2/publisher/eclipse/ConfigCUsAction.java,v >retrieving revision 1.17 >diff -u -r1.17 ConfigCUsAction.java >--- src/org/eclipse/equinox/p2/publisher/eclipse/ConfigCUsAction.java 12 May 2009 20:21:28 -0000 1.17 >+++ src/org/eclipse/equinox/p2/publisher/eclipse/ConfigCUsAction.java 13 May 2009 23:13:00 -0000 >@@ -322,7 +322,13 @@ > continue; > } > >- IInstallableUnit cu = BundlesAction.createBundleConfigurationUnit(bundle.getSymbolicName(), Version.parseVersion(bundle.getVersion()), false, bundle, flavor + cuIdPrefix, filter); >+ IInstallableUnit cu = null; >+ >+ if (this.version != null && !this.version.equals(Version.emptyVersion)) >+ cu = BundlesAction.createBundleConfigurationUnit(bundle.getSymbolicName(), this.version, false, bundle, flavor + cuIdPrefix, filter); >+ else >+ cu = BundlesAction.createBundleConfigurationUnit(bundle.getSymbolicName(), Version.parseVersion(bundle.getVersion()), false, bundle, flavor + cuIdPrefix, filter); >+ > if (cu != null) { > // Product Query will run against the repo, make sure these CUs are in before then > // TODO review the aggressive addition to the metadata repo. perhaps the query can query the result as well.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 275316
:
135713
|
136663