Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-02-15Bug 543933 - Build javadocs with Java 11Y20190222-0110Y20190220-2200S4_11_0_M3I20190220-1800I20190220-0600I20190219-1800I20190219-0600I20190218-1800I20190218-0600I20190217-1800I20190217-0600I20190216-1800I20190216-0600Alexander Kurtakov30-35/+35
Fix javadoc warnings catched by Java 11 tool with XDoclint:html. Change-Id: I06b05f4c190658ed8c8d79b1e1d33ac534f1adb3 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-02-12Bug 544371 - Update user docs links to point to Java 11 contentY20190213-2200Y20190213-0305I20190215-1800I20190215-0630I20190215-0055I20190214-1800I20190213-1800I20190212-1800Alexander Kurtakov1-1/+2
Link to JCA 11 guide in p2 extension point. Change-Id: I3bc547ff51fc5bbdf14daaa117e4577e464398df Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-02-07Bug 544220 - Huge performance impact due to product EE as requiredI20190211-1800I20190210-2135I20190210-1800Sebastian Ratz2-0/+58
capability Add special handling for cap.namespace == 'osgi.ee'. Change-Id: I957d401c3f043daf40db13397829993fe3fc5dc2 Signed-off-by: Sebastian Ratz <sebastian.ratz@sap.com>
2019-02-04Bug 544065 - Remove Activator fromY20190208-0505Y20190206-2200Y20190205-0115I20190209-1800I20190208-1800I20190207-1800I20190206-1800I20190205-1800I20190204-1800Lars Vogel5-74/+54
org.eclipse.equinox.p2.directorywatcher Change-Id: I38c28303d56b0025f9bf6edbd76074ddce08824a Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-02-02Version 4.11 update for org.eclipse.equinox.p2.operationsI20190203-1800Lars Vogel2-2/+2
Change-Id: I65f83a02f3606c6f67b8b2bdcbe9623a1ead652a Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-01-31Bug 543927 - Remove Activator from org.eclipse.equinox.p2.metadataY20190201-0030I20190202-1800I20190201-1800I20190201-0600I20190131-1800Lars Vogel4-45/+6
Change-Id: I4b9e5bb4041045ed71c8a4c707a36ecb40709a3d Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-01-31Version 4.11 update for org.eclipse.equinox.p2.metadataLars Vogel2-2/+2
Change-Id: I0dc94163c8aab4871a0ec3d4929c9a6ea98ad807 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-01-31Use .class access for IArtifactRepositoryManager andLars Vogel1-2/+2
IMetadataRepositoryManager As getService is generified, we should also use it. Change-Id: Ia3377dff485a10d5496b91cd4dcb5b50745fbd66 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-01-29Version 4.11 update for org.eclipse.equinox.p2.directorywatcherLars Vogel2-2/+2
Also version update for the org.eclipse.equinox.p2.discovery.feature Change-Id: I083ac2eef4625a60d815f5c2a22c09c0b6de5968 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-01-24Revert stringPropertyNames usage in frameworkadmingAlexander Kurtakov2-6/+9
Commits e8dbcc1f420471e3e4a5e8a73adf54ade5633e8d and 6098173f6ac7f3444d21074eab6d791db8646ad6 started using them but they ignore non string values so revert to be on the safe side. Change-Id: I329033a51f95f10991fd7f55b27c1bbc3d4590c3 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-01-23Bug 541004 - Update site preference page: Double click to editY20190123-2200I20190124-0930I20190123-1800Michael Keppler3-2/+7
Invoke the functionality for editing an update site on double clicking the repository table. Change-Id: I0c0be22f453a54798ca58cd20b0a11e5ab3c7047 Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
2019-01-23Make use of the generified IProvisioningAgent.getService in tests.Alexander Kurtakov58-311/+624
Change-Id: I1dbd17868e0bfb6d343cdf91153a7a7554ad0416 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-01-23Bug 542420 - Offer <T> T getService(Class<T> key) in IProvisioningAgentAlexander Kurtakov1-2/+2
getSimpleName is not enough to uniquely identify class file and all the implementors use getName as key. Change accordingly. Change-Id: I1d0294f290df2496849aa1ab75d82f8b5163898f Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-01-23Code cleanup in frameworkadmin.Alexander Kurtakov4-132/+174
* Format. * StringBuffer to StringBuilder * forEach conversion Change-Id: Id43871ac22efac8a83e4a47a1c272badd8de7d65 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-01-23Modernize frameworkadmin Utils class.Alexander Kurtakov3-58/+66
* try-with-resources * StringBuffer to Builder * for-each * reformat Change-Id: Ic7498521b369c5e3ac3dcd5aa591b5fea710ea7b Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-01-21Remove unused parameters from Engine's checkArguments private methodI20190122-1800I20190121-1800I20190121-1415Mykola Nikishov1-3/+3
checkArguments should not pretend it validates context and monitor parameters because it does not, they are nullable and both callers set them to default values. Change-Id: I3dfbebdef5cda9fa2f15bfd3047f479fc67a3c72 Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2019-01-21Remove unused parameter from SimpleArtifactRepository's private methodMykola Nikishov1-2/+2
Change-Id: I6fa74976a18dfc492aab8079c12efd30c551c664 Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2019-01-17Bug 542420 - Version increase for the new API inI20190120-1800I20190119-1800I20190118-1800I20190117-2335Lars Vogel3-2/+3
org.eclipse.equinox.p2.core Change-Id: Ia2d98cb6762dec441c5a688b1177b9de9a15f512 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-01-16Bug 542420 - Offer <T> T getService(Class<T> key) in IProvisioningAgentLars Vogel2-0/+15
Change-Id: Id1e32d7388ef8197acd4421831fbf6602227d370 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-01-14Bug 543047 - ChecksumVerifier should read checksum from processing step ↵Y20190116-2200I20190116-1800I20190115-1800I20190114-1800Mykola Nikishov1-11/+1
descriptor's data only Initially, ChecksumVerifier has been modeled after MD5Verifier which tries to read artifact descriptor's properties and falls back to processing step descriptor's data. But ChecksumVerifier actually never touches artifact descriptor and its properties: - ChecksumUtilities's getChecksumVerifiers is the only method to create instances of ChecksumVerifier - ChecksumUtilities's getChecksumVerifiers knows the property to read checksum from and stores its value into processing step descriptor's data This decouples ChecksumVerifier from artifact descriptor properties. Change-Id: I635f89d598df6a90a068220f0c1ba31bf603b45d Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2019-01-14Bug 543024 - Initialize ChecksumVerifier as ProcessingStepMykola Nikishov3-16/+28
According to ProcessingStep's javadoc, a processing step should be created in two steps: ProcessingStep step = new ProcessingStep(...); step.initialize(agent, processingStepDescriptor, artifactDescriptor) Only after initialization, the step is ready for linking with other steps or output streams. Let ChecksumVerifier follow this pattern. Change-Id: Ic4ff2aacb137b6bef8e616624b3d9797381f07fe Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2019-01-11Version 4.11 update for org.eclipse.equinox.p2.coreI20190113-1800I20190112-1800I20190111-1800I20190111-0850Lars Vogel2-2/+2
Change-Id: I0bbe2b24934146140d0d6610244a1cc61e68804d Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-01-08Removes unnecessary Non-Javadoc in ProvisioningContext.javaLars Vogel1-4/+0
Change-Id: I3724c2b3123d8ca681eb57af63ed1f0b0b4aba89 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-01-08Bug 542418 - Use StringBuilder in org.eclipse.equinox.p2.engineLars Vogel9-18/+18
StringBuffer should not be used according to its Javadoc as it is slower than StringBuilder. Change-Id: Ib7b4b2f413670f14ce20a9f12032c580973f0ebd Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-01-04Bug 536282 - Check whether processing step is availableY20190109-2200Y20190108-0410Y20190108-0135Y20190107-0850Y20190107-0505S4_11_0_M1I20190109-1800I20190109-0655I20190108-1800I20190108-0600I20190107-2050I20190107-1800I20190107-0600I20190106-1800I20190106-0600I20190106-0150I20190105-1800I20190105-0810I20190104-1800Alexander Kurtakov1-0/+11
Add version filter for the wrongly bumped minor version. Change-Id: I5ac167c324a30218bc4b086896e0f7674bd5a84a Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-12-23Test for skip checksum logic in ChecksumUtilities' getChecksumVerifiersY20190102-2200Y20181226-2200I20190103-1800I20190102-1800I20190101-1800I20181231-1800I20181230-1800I20181229-1800I20181228-1800I20181227-1800I20181226-1800I20181225-1800I20181224-1800I20181223-1800Mykola Nikishov1-0/+8
Change-Id: Ib9ea44a308d9fe856a0d2a561efc2f38e9360184 Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2018-12-21Bug 542960 - NPE in InitialSharedInstall's cleanupDotEclipseFolder() when ↵I20181222-1800I20181221-1800Mykola Nikishov1-3/+7
'~/.eclipse/' doesn't exist InitialSharedInstall's cleanupDotEclipseFolder() ensures that '${user.home}/.eclipse/' doesn't have directories/files which names start with 'p2.automated.test'. But it will throw NPE when the folder doesn't exist in the first place: setupRun(org.eclipse.equinox.p2.tests.sharedinstall.InitialSharedInstall) Time elapsed: 0.002 s <<< ERROR! java.lang.NullPointerException at org.eclipse.equinox.p2.tests.sharedinstall.InitialSharedInstall.cleanupDotEclipseFolder(InitialSharedInstall.java:72) at org.eclipse.equinox.p2.tests.sharedinstall.InitialSharedInstall.setupRun(InitialSharedInstall.java:49) In this case, make InitialSharedInstall's cleanupDotEclipseFolder() a noop. Change-Id: I4165609c644a6dde69c1d8ffe88138bf7ce16705 Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2018-12-21Contribute MD5 via artifactChecksums extension point instead of MD5Verifier ↵Mykola Nikishov6-22/+115
processing step Since now, artifact checksums are verified exclusively by the combination of ChecksumVerifier processing step + contributions to artifactChecksums extension point. There are no more internal usages of MD5Verifier and it can be removed. But let it sit here for some time. ChecksumUtilitiesTest ensures that MD5 checksums from IArtifactDescriptor.ARTIFACT_MD5 and IArtifactDescriptor.DOWNLOAD_MD5 properties are still honored. Change-Id: Ib4bec48504c3b2f4296425f6d2e930e402b5b984 Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2018-12-20Bug 536282 - Check whether processing step is availableI20181220-1800Mykola Nikishov10-16/+155
Extend ProcessingStep with isEnabled() method that checks if step's dependencies are available. ProcessingStepHandler's canProcess will ensure that all required processing steps are enabled and skip this check for optional processing steps. MirrorRequest's perform(IArtifactRepository, IProgressMonitor) method will skip optimized artifact if it can't be processed and chose canonical one. Pack200ProcessorStep's isEnabled() checks if 'unpack200' CLI utility is available by calling UnpackStep's canUnpack(). Change-Id: I048db3b833f6e0881cca06ad48be37ad6d17a0c9 Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2018-12-18Bug 542873 - IBuild I20181217-1800 failed due to unresolved projectNiraj Modi1-0/+1
dependencies. Change-Id: If64133c137cf894990ff97726aa3d32df5727295 Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2018-12-14Version 4.11 update for org.eclipse.equinox.p2.ui.sdkLars Vogel2-2/+2
Change-Id: Ic9ced4cfa20b847c768d2b51cce7cd1133541421 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-12-13Version 4.11 update for org.eclipse.equinox.p2.engineLars Vogel2-2/+2
Change-Id: I6b83642ffe5c8e24b7a13d836a6d206b44b7b007 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-12-07Bug 541822 - POM and product version change for 4.11 releaseY20181212-2200I20181214-0105I20181213-1800I20181212-1800I20181212-0230I20181211-1800I20181211-0230I20181210-1800I20181210-0755I20181210-0535Niraj Modi48-48/+48
Change-Id: I6cc635d174e4a5a814112b7573a7cab95959fb31 Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2018-11-23Bug 541444 - source.info contains old/duplicate bundles after platform upgradeY20181205-2200Y20181204-0315Y20181128-2200S4_10_0_RC2S4_10_0_RC1R4_10I20181206-0815I20181206-0320I20181206-0225I20181206-0030I20181205-1800I20181205-0600I20181204-1800I20181204-0600I20181203-1800I20181203-0600I20181202-1800I20181202-0600I20181201-1800I20181201-0600I20181130-1800I20181129-0330I20181128-1800I20181128-1105I20181128-0810I20181128-0600I20181128-0130I20181127-1800I20181127-0600I20181126-1800I20181126-0940I20181126-0600I20181126-0140I20181125-1800I20181125-0600I20181124-1800I20181124-0600I20181123-1800R4_10_maintenanceMat Booth5-37/+50
This change takes advantage of the fact that simpleconfigurator has already done the checking to see if the shared installation has been updated and set a system property accordingly. We then use the presence of the system property to determine whether to ignore the user configuration or not. Ignoring the user configuration means the source.info will be re -generated from scratch using the bundles in the updated shared configuration, then the migration wizard will re-insert any third -party bundles as appropriate. This avoids the possibility that there will be out-of-date entries in the source.info in the user configuration area. Change-Id: Ia59ce22133c928fe23b72c65a6034c5267f38f1b Signed-off-by: Mat Booth <mat.booth@redhat.com>
2018-11-19Close HTML tag in artifactChecksums.exsdY20181121-2200S4_10_0_M3I20181121-1800I20181121-0910I20181121-0600I20181120-1800I20181120-0600I20181119-2315I20181119-1800Mykola Nikishov1-1/+1
Change-Id: I77151f11c944c5642b7a2e5cb0e5f898628dab08 Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2018-11-13Make test variables constants to silence synthetic warnings.I20181114-0925I20181114-0355I20181114-0200Alexander Kurtakov3-9/+9
Change-Id: Id9e59cef3c13adb44d0ba7e8a0ca557af252e5c2 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-11-13DisposeListener to lambda.Alexander Kurtakov3-16/+13
And enable save action so it's not introduced again. Change-Id: I78b99127b06bcfb1aa2b6bbe37a24871474dd070 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-11-06Bug 531166 - Prevent NPE on artifact download when URI scheme is null.I20181112-1800I20181112-0435I20181112-0320I20181109-0350I20181108-1800Roland Grunberg1-1/+1
Under certain circumstances, the mirror resolution requests return just the absolute file path for a resource with no scheme or host specified. (eg. /path/to/resource). This causes an NPE when getScheme() is called and used for comparison. Change-Id: Ic64323b44a9a1df7fad3a09da2f07a0a3d1a5a10 Signed-off-by: Roland Grunberg <rgrunber@redhat.com>
2018-11-06Make MessageDigestProcessingStep's methods finalY20181107-2200I20181107-1800I20181107-0200I20181106-1800Mykola Nikishov1-4/+2
Methods write(int) and close() of this internal non-API class are not meant to be modified by subclasses. Change-Id: I9253d0f5f4ec3b8fe14f5466e78146b40b3d212a Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2018-11-05Uncomment tests in ProcessingStepHandlerTestI20181106-0125Mykola Nikishov1-56/+63
Change-Id: I2230fdcddca784467c307f25194f532b069df6a9 Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2018-11-03Bug 535511 - Stackoverflow in installation details dialogI20181105-1800I20181104-1800I20181103-1800Michael Keppler3-3/+5
Avoid endless recursion by detecting the parent object being this object. Also increment the plugin versions as necessary. Change-Id: I7e1e7e69d7a01e0b089fd4d56a028d7415eb6f07 Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
2018-11-02Use varargs reflection methods.I20181102-2120I20181102-1800Alexander Kurtakov16-57/+119
Updated p2.director formatter settings to use the default Eclipse profile instead of the not-existing "core" one to prevent extra long lines. Change-Id: I4536824d8032f283e110e4aa7758feb7f110b0fc Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-11-01Bug 540310 - Eclipse Fails to start if the mtime of the bundles.info file is ↵I20181101-1800Mat Booth2-2/+2
zero Fix tests failing with UnsupportedOperationException on Windows. Change-Id: Iac435bedca69156d40861bc32442d8827915a6cc Signed-off-by: Mat Booth <mat.booth@redhat.com>
2018-10-31Bug 540310 - Eclipse Fails to start if the mtime of the bundles.info file is ↵Y20181031-2200I20181031-1800Mat Booth3-8/+6
zero The o.e.e.simpleconfigurator.manipulator must also write the ctime of the base bundles.info to the .baseBundlesInfoTimestamp file in the event that the mtime is zero Change-Id: I8df7c31479899b6db9973a7f0af6471ff8b296bf Signed-off-by: Mat Booth <mat.booth@redhat.com>
2018-10-31Change p2.director formatter profile to Eclipse default one.Alexander Kurtakov3-259/+406
And format SimplePlanner with it. Change-Id: Ia3767595cb4e90a6666af40cade6a7e6b34fcc92 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-10-25Bug 540310 - Eclipse Fails to start if the mtime of the bundles.info file is ↵Y20181030-1100Y20181030-0940I20181031-0550I20181031-0540I20181030-1800Mat Booth5-6/+58
zero If the mtime of bundles.info is zero, use the ctime instead on platforms that support it Change-Id: I7c07f12433f38a6bbaf0b8b8dd23fa8c794f438d Signed-off-by: Mat Booth <mat.booth@redhat.com>
2018-10-24Bug 540363 - An error in the p2 test suiteMat Booth3-15/+22
Have SimpleConfiguratorUtilsExtendedTest extend the correct class and remove a superfluous test added to the wrong test class. The removed test is completely duplicated by "testExtensionAdded" in the SimpleConfiguratorTestExtendedConfigured class. Change-Id: I0f416d865ccadcae0eeb093f8e4375604b9d055d Signed-off-by: Mat Booth <mat.booth@redhat.com>
2018-10-23Bug 540319 - Version warning for o.e.equinox.p2.reconciler.dropinsY20181026-0120Y20181025-0550Y20181025-0530I20181029-1800I20181028-1800I20181027-1800I20181026-1800I20181025-1800I20181024-1800Mickael Istria1-0/+11
Change-Id: I7af0dcb6f983ab7b25cc7e2c8cecaac994945ea0 Signed-off-by: Mickael Istria <mistria@redhat.com>
2018-10-18Mark test sources as such.I20181023-1800I20181023-1200I20181023-0800I20181022-2040I20181022-1800I20181021-1800I20181020-1800I20181019-1800I20181019-0450I20181019-0330I20181018-1800Alexander Kurtakov2-2/+10
Fixes workbench issues due to some plugins marking some not. Change-Id: I82c580bc2badf85ac259670a61ed9029ed54a4f8 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-10-13Revert "[RFC] Bug 536282 - Check whether processing step is available"I20181017-1800I20181016-1800I20181015-1800I20181015-0255I20181014-2350I20181014-1800I20181013-1800Mickael Istria3-22/+3
This reverts commit 7f2938951c1f39a7707a06259116aee3d9339f58. Change-Id: I93f8f1f8ce2583a8d241ea7ed7201286bfeea9bb

Back to the top