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 Vogel4-4/+4
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-24Bug 543785 - P2 discovery source feature not publishedY20190130-2200Y20190130-0010I20190131-0130I20190130-1800I20190129-1800I20190128-1800I20190127-1800I20190126-1800I20190125-1800I20190124-1800I20190124-1235Alexander Kurtakov1-0/+1
touch feature in order to be published. Change-Id: I0b10a9daa1b8fd7569f47cbce23ce26893ba6c21 Signed-off-by: Alexander Kurtakov <akurtako@redhat.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-23A bit more examples warnings fixes.Alexander Kurtakov4-56/+227
Change-Id: I80779d3d4d9c12a493114e2a8ad6bfded48746d8 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-01-23Update examples to Java 1.8 BREE.Alexander Kurtakov31-310/+964
Fix warnings and enable save actions. Change-Id: Ie43dbea77185ac66cce56735bbfd5a8aa6363b63 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-01-23Fix examplesAlexander Kurtakov7-10/+166
Fix examples to use felix.scr instead of equinox.ds as it is no longer installed by default. Adjust product contents to match latest versions. Change-Id: Idd1f287e343774352f6fe18402d4daa47a168489 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-13Bug 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-13Bug 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-21Switch default target file to 4.11Mykola Nikishov1-1/+1
Change-Id: I6e3dc347a341bd0210480c9bf765d38769704b76 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 projectY20181219-2200I20181219-1800I20181218-1800I20181218-0120Niraj Modi1-1/+2
dependencies. Change-Id: Ib768ce797ae0c6950285d73dffa9a5da70d0910b Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
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.user.uiI20181217-1800Lars Vogel2-2/+2
Change-Id: I9e6aab368914baf888c6d8d80c20d407beb71f51 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-12-14Version 4.11 update for org.eclipse.equinox.p2.rcp.featureLars Vogel2-2/+2
Change-Id: I8a041e5a669a475fb08780d86e501cda212ecb34 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-12-14Version 4.11 update for org.eclipse.equinox.p2.sdkLars Vogel2-2/+2
Change-Id: I36c4acf168472d06e82f964be70261105aa887dd Signed-off-by: Lars Vogel <Lars.Vogel@vogella.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-13Version 4.11 update for org.eclipse.equinox.p2.core.feature andI20181216-1800I20181215-1800I20181215-0340I20181214-1800I20181214-0720Lars Vogel4-4/+4
org.eclipse.equinox.p2.extras.feature Change-Id: I12fd0b1137654a9ba81bbe7accf546b2adeba20f 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 Modi61-62/+62
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-14Bug 535339 - All repositories need a NOTICE and LICENSE fileY20181114-2200I20181119-0600I20181118-1800I20181118-0600I20181117-1800I20181117-0600I20181116-1800I20181115-1800I20181115-0200I20181114-1800I20181114-1345I20181114-1325I20181114-1050Sravan Kumar Lakkimsetti3-0/+364
Change-Id: If30cc0c2054993b96dae5185a60a0d6027a936cf Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
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>

Back to the top