Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-08-17Bug 521075 - Move o.e.equinox.p2.director.app to Java 8 I20170818-0100I20170818-0040I20170817-2140I20170817-2000Alexander Kurtakov9-67/+62
Bump minor, add missing Override annotations, remove duplicate type declarations, try-with-resources, Change-Id: I49d32d9227c84b3c2b3a5d82e0e9ebfe74f20ac7 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-06-27Bug 490896: Director app handles all result status codes.Todor Boev1-12/+25
When the provisioning operation completes with WARNING or INFO the director command line application reports failure (equinox returns non-zero execution code). At the same time P2 has in fact performed changes to the installation and these were not reverted as would happen on an ERROR IStatus. The director should not report failure when provisioning completes with INFO or WARNING IStatus. Change-Id: I9a683174ffe9e49aa4456b4aa5134f9067ecc7a7 Signed-off-by: Todor Boev <rinsvind@gmail.com>
2017-06-22Bug 517929 - Update POMs in the master for 4.8 releaseI20170622-0950Alexander Kurtakov1-1/+1
Point to 4.8 parent pom. Change-Id: Ic754058b23731334425f98aaca527bcf90991a7d Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-06-28Bug 496465 - Prep for 4.7 (Oxygen) and 4.6.1 (Neon.1) maintenance buildsThomas Watson1-1/+1
Change-Id: I90a85375f7864204f482d76130da772798f0a28b Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2016-04-19Bug 489706 - Replace new Integer() with Integer.valueOf()I20160419-0800Alex Blewitt1-3/+3
There are a lot of new Integer() calls in the P2 codebase, which results in many duplicate values of Integer being stored, particularly when performing updates or checks. Integer.valueOf() performs this caching already, which means that it's unnecessary to call new Integer() and instead can call Integer.valueOf(). In the places where the int value is being used directly, the call can be further optimised to Integer.parseInt() instead. Replace calls to new Integer() with Integer.valueOf() or .parseInt() as appropriate. Change-Id: Ic760e66084c856fc90cb7c8a358007c975213638 Signed-off-by: Alex Blewitt <alex.blewitt@gmail.com>
2016-04-19Bug 490012 - Remove the "strictly compatible JRE" per-project overrideStefan Xenos1-3/+0
from all projects in the Eclipse SDK Change-Id: I92d470a94e3134d8e475e3ccefc019341c7972e1 Signed-off-by: Stefan Xenos <sxenos@gmail.com>
2016-01-02update pomsPascal Rapicault1-1/+1
Change-Id: Icc9608edfcdd0a615c4edf42df4398a1f30a271c
2016-01-02Update bundles versionsPascal Rapicault1-1/+1
Change-Id: I479ee5a8b507090ce496e7b334e0055e027896fe
2016-01-02Bug 466249 - Propagate more exceptions to ease problem analysisEike Stepper1-1/+1
We often get problem reports with stack traces that "end" somewhere in p2 even though it's obvious from looking at these places that there was a causing exception. These causing exceptions are often not propagated with the new exception that p2 creates and throws. I'm not sure if that's on purpose or just an oversight. I've prepared a proposal to enhance these places and make it easier to analyze the problems that users report. Change-Id: Iaa53448c53c18301113b42dbe80558eccec49e8e Signed-off-by: Eike Stepper <stepper@esc-net.de>
2015-09-07Bug 476724 - Remove new Boolean and Boolean.valueOf().booleanValue()I20150929-0800I20150922-0800I20150916-2000I20150916-0800I20150915-2000I20150915-0800I20150914-2000I20150914-1545I20150914-1130I20150914-0800I20150913-2000I20150908-0800Alex Blewitt2-6/+6
The new Boolean constructor creates a new instance of a Boolean object, but it can easily be replaced with Boolean.valueOf which returns the reference to the global Boolean.TRUE or Boolean.FALSE. Replace calls to new Boolean() with Boolean.valueOf() for identical semantics except without object collection. Additionally Boolean.valueOf().booleanValue() is identical to Boolean.parseBoolean() and will result in no garbage. In addition, methods will be (slightly) smaller and parseBoolean will often be in-lined by the JIT, which can often prove that the value is non-null for faster checking. Replace Boolean.valueOf().booleanValue() chains with Boolean.parseBoolean(). Some other tests can use Wrapper.valueOf() to take advantage of the built-in caches that these objects maintain (for values in the range -128..127). Signed-off-by: Alex Blewitt <alex.blewitt@gmail.com> Change-Id: I5da4216a26ffbb6b8fd3365515ee800dd82b36ae
2015-07-02Bug 469765 - Prep for 4.6 (Neon) and 4.5 (Mars) maintenance buildsI20150818-0800I20150811-1400I20150805-2000I20150805-0800I20150804-2000I20150804-0800I20150803-2000I20150803-0800I20150802-2000I20150728-0800I20150721-0800I20150714-0800I20150707-0800Thomas Watson1-1/+1
- update parent poms for 4.6
2015-04-23Update versions for MarsThomas Watson2-2/+2
2015-03-08Bug 461653 - Fix product export on new mac layoutPascal Rapicault1-1/+2
Force create the install folder Signed-off-by: Pascal Rapicault <pascal@rapicorp.com>
2015-03-04Bug 431116 - Releases for Mac OS X should be bundled as a proper "MacPascal Rapicault1-9/+21
App" and/or "Library" Change-Id: I2bdcc86960361f8268964b4e95bf0eb960dc3cd6 Signed-off-by: Pascal Rapicault <pascal@rapicorp.com>
2015-02-26Bug 460967 - Use type safe service retrievingI20150303-0800Alexander Kurtakov1-5/+5
Instead of retrieving services based on their String class name there is newer implementation that takes the class directly and returns the correct class preventing casts. Change-Id: I8b26f4d294b927f4c28a6ba4e68e35bd401df4ec Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-01-23Bug 387088 - org.eclipse.equinox.p2.director NullPointerException duringUwe Stieber1-1/+1
ProvisioningListener.notify Complete the partial fix for this issue by commit 4b0ea17add3a6041d3b53804d4d43d4470611b16. Also the metadataReposForRemoval variable can be null. Change-Id: Iaeecfd83a60b12dfe3b32c41f5b3843904f14988 Signed-off-by: Uwe Stieber <uwe.stieber@windriver.com>
2015-01-18Bug 387088 - org.eclipse.equinox.p2.director NullPointerException duringI20150120-0800Pascal Rapicault1-1/+1
ProvisioningListener.notify
2014-06-19Bug 436736 - Prep for 4.5 (Mars) and 4.4 maintenance buildsPaul Webster1-1/+1
Update parent versions from 4.4.0 to 4.5.0 Signed-off-by: Paul Webster <pwebster@ca.ibm.com>
2014-02-28Bug 429286 - [director] Allow to specify InstallableUnitPropertiesI20140304-0800I20140303-2000I20140303-1130I20140303-0800I20140302-2000Pascal Rapicault1-1/+1
Make the buildProvisionRequest method protected which will allow subclass (even though not recommended) to do what they need. Change-Id: I60004b629634b83fbcedfde10bc695d90382d105 Signed-off-by: Pascal Rapicault <pascal@rapicorp.com>
2014-01-17Bug 423538 - Format IU list output of P2 directorI20140122-0800I20140121-2000I20140121-0800I20140120-2000I20140120-0800I20140119-2000Christian Georgi4-8/+133
By default the -list command only prints id and version of an IU, which is not always sufficient. For example, a UI might want to show the name of IUs instead of their ID to the user. This patch tries to accommodate this by introducing format strings through a new -listFormat <formatString> command. Using the ${property} syntax one can access all properties of an IU in the format string. ID and version are supported through hard-wired ${id} and ${version} expressions. Existing behavior of -list (without -listFormat) is preserved. Change-Id: I9c32f6040b0a75b450f230338ca612939b8765e3 Signed-off-by: Christian Georgi <christian.georgi@sap.com>
2013-12-17Bug 422054: Create profile from existing bundles.infoI20131224-0800Krzysztof Daniel2-1/+18
I've hijacked the bug for the purpose of something that is remotely connected to the problem. Previous commit extends simpleconfigurator to load bundles from different locations, but such an extension breaks p2, as the content of OSGi application no longer corresponds to profile. In order to fix that, following things are done: 0. A fragment must contain valid P2 metadata next to the .info file. 1. User profile is dropped when there is master configuration change. Also, when fragments are changed. 2. When a new surrogate profile is created, P2 will add to the master profile all the units that are found in the fragments repos. Therefore new user profile will contain all the units that were installed by the simpleconfigurator. Fragment repos must be runnable. 3. The director application must be configured with extensions if it is supposed to work. Change-Id: I6e857ea51dd32ae7fab39d9c39bec8a91eb203b7 Signed-off-by: Krzysztof Daniel <kdaniel@redhat.com>
2013-12-11bug 423827 - Disable "Treat above errors like fatal compile errors"I20131217-0800I20131212-1600I20131211-2000Krzysztof Daniel1-1/+24
Change-Id: If2b8652ff7deed04dea308880d444f1b4e7c6ffe Signed-off-by: Krzysztof Daniel <kdaniel@redhat.com>
2013-11-13Bug 421339 - Accept java 1.5Krzysztof Daniel2-5/+2
Make 1.5 setting default in Eclipse (P2 is compiled as 1.5 with tycho anyway). Drop jsr14. Change-Id: I848d7865211126ad32a226914a046f9553a48f04 Signed-off-by: Krzysztof Daniel <kdaniel@redhat.com>
2013-06-26Bug 411170 -- Updated the parent poms for Luna (Eclipse 4.4)Ian Bull1-1/+1
2013-06-18Bug 410639 - Found 1 single quote in text handled by Java MessageFormatI20130625-0800Pascal Rapicault1-1/+1
class
2013-03-27Bug 403971 - Update Equinox p2 parent versionsI20130402-0800Pascal Rapicault2-3/+4
2013-02-25Bug 397850 - [CBI] use the correct group IDs for all artifactsv20130225-185631Ian Bull1-1/+1
Upated all the pom.xml files (in the bundles) to include the proper groupID. The groupID is the first three segments of the artifactID.
2013-02-13Remove unnecessary commentv20130213-192342Pascal Rapicault (Ericsson)1-1/+0
2013-02-11Bug 399988 - [shared][director] Provides clean error message whenv20130211-181556Pascal Rapicault (Ericsson)3-0/+39
install is readonly
2013-02-11Bug 399987 - [shared] Installing using the director causes exception butPascal Rapicault (Ericsson)1-5/+22
succeeds
2012-11-21Bug 390385 - Stop the use of jsr14v20121121-194827Pascal Rapicault (Ericsson)1-2/+0
2012-04-28Qualified VersionRange in the imports statements.v20120428-0517I20120429-2000I20120429-1800I20120429-1245I20120429-1000I20120428-1230I20120428-0800I20120428-0140Ian Bull1-0/+1
2012-04-28Support for bundled macosx - http://bugs.eclipse.org/57349v20120428-0117Pascal Rapicault2-2/+6
2011-12-12Bug 366383 - Ambiguous reference to VersionRange classv20111212-1216DJ Houghton1-0/+1
2011-11-26Bug 338970 - [doc] Update director doc for -downloadOnly optionv20111126-0054Pascal Rapicault2-2/+2
2011-09-08DirectorApplication: trust every certificatev20110908-0757Holger Oehm1-3/+12
changed default behavior to accept not only unsigned jar files but also signed jar files that have no known root certificate Bug: 340345
2011-08-01304594 Fix obvious POM configuration issuesTobias Oberlies1-2/+3
- Correct relativePath to parent POM. - Use recommended version format in POMs: A version with automatically replaced qualifier maps to a SNAPSHOT version in the POMs.
2011-08-01Removed redundant .gitignore filesTobias Oberlies1-1/+0
The "lib"/"ant_tasks" folders are already ignored completely through a .gitignore file in the parent directory.
2011-07-26Bug 340971 - addRepository touchpoint action doesn't add the repositorybug340971dj2-1/+54
URL
2011-07-20Added bin_ant to .gitignoreJohn Arthorne1-1/+2
2011-07-20Added .gitignore filesJohn Arthorne1-0/+1
2011-07-20Changed .cvsignore to .gitignore filesJohn Arthorne2-3/+2
2011-07-20Added .gitignore to ignore generated JAR files for Ant tasks.dj1-0/+1
2011-05-05Bug 336583 - [director] Specify the behavior of -revert <tag>Pascal Rapicault1-1/+3
2011-05-02copyright updateIan Bull2-1/+11
2011-04-13Bug 342187 - ignore some optionsAndrew Niefer1-0/+8
2011-04-13Bug 342156 - p2 director ignored bundlepool when using -roamingAndrew Niefer1-2/+8
2011-04-12Bug 342492 - [director] Unable to set IU profile property on latest IU ↵DJ Houghton1-2/+7
version in repo with multiple versions
2011-03-23Bug 323887 - Prevent main feature from being un-installedDJ Houghton3-3/+125
2011-02-25bug 335867: [director] Provide a 'download' only flag that will only ↵Ian Bull3-1/+13
download the artifacts, not configure them https://bugs.eclipse.org/bugs/show_bug.cgi?id=335867

Back to the top