Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2014-01-15Bug 423196 - Filetransfer update for Luna M5: httpcomponents 4.2.5/4.2.6I20140115-1300Thomas Watson2-0/+2
2013-12-31bug 421935 & bug 422054 - an attempt to fix windows tests.I20140114-0800I20140107-0800I20131231-0800Krzysztof Daniel2-4/+14
Comment out tests on windows until I get win machine. Change-Id: I9f90d4fdb230e3481d327fa48a3d0c3c7e392a51 Signed-off-by: Krzysztof Daniel <krzysztof.daniel@gmail.com>
2013-12-30bug 421935 & bug 422054 - an attempt to fix windows tests.kdaniel4-0/+8
Added setting readonly using acl on win. Change-Id: I35dc0a2cad2490e3df4ba86d864bbf96d00ce824 Signed-off-by: kdaniel <krzysztof.daniel@gmail.com>
2013-12-29[nobug] create gitignore in place where were cvsignore files.kdaniel4-16/+2
2013-12-29"bug 421935 & bug 422054 - an attempt to fix windows tests.kdaniel9-54/+57
Change-Id: Idf26bb7de89f08eb0224667f24b9b649629f6475 Signed-off-by: Krzysztof Daniel <krzysztof.daniel@gmail.com>
2013-12-29Revert "bug 421935 & bug 422054 - comment out failing windows tests until I ↵kdaniel6-78/+32
will get windows machine." This reverts commit d5fd1c250f0945d5801d29dff1948bdc11515546.
2013-12-28bug 421935 & bug 422054 - comment out failing windows tests until I willkdaniel6-32/+78
get windows machine. Those bugs are caused by path differences and by unexpected to me readonly behavior.
2013-12-17Bug 422054: Create profile from existing bundles.infoI20131224-0800Krzysztof Daniel17-23/+998
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-17bug 421935: Extend simpleconfigurator to read .info files from manyKrzysztof Daniel41-50/+1033
locations. Locations should be passed to the simpleconfigurator via the p2.fragments java property and separated using ",". Each location may contain multiple fragments. A fragment consist of a directory shaped as: + extension-parent-dir + extension.info + artifacts.xml + content.xml + plugins/* + features/* Or a link file (f.e. extension.link) which contains a single java property ("link") pointing to another location in the system. The *.info file may contain relative or absolute paths to plugins. Relative paths will be resolved against the extension root. The simpleconfigurator, if configured with extensions, will attempt to load them all at startup, duplicates will be removed. It is the responsibility of the fragment provider to ensure that all fragments will lead to a valid Eclipse installation, AS NO VALIDATION OR INTEGRITY CHECK IS PERFORMED. Bundles that can't be loaded due to unsatisfied constraints will result in errors handled by OSGi (written to the .log in the configuration area). Change-Id: Ib2689c072f3149b29ed77797d7df7b209d9abde7 Signed-off-by: Krzysztof Daniel <kdaniel@redhat.com>
2013-12-11bug 423827 - Disable "Treat above errors like fatal compile errors"I20131217-0800I20131212-1600I20131211-2000Krzysztof Daniel25-25/+604
Change-Id: If2b8652ff7deed04dea308880d444f1b4e7c6ffe Signed-off-by: Krzysztof Daniel <kdaniel@redhat.com>
2013-12-10bug 423628 - False positives warnings in the official build.I20131211-0800I20131210-2000I20131210-0800Krzysztof Daniel34-98/+197
False positives are caused by projects settings being different than build settings. Typical example is that project is configured to warn about local variable hiding a field, and suppression is added, but the regular releng build is not configured to warn, and it finds unnecessary suppression. I have did following things: * fixed warnings that I was able to fix (renamed variables, added generics, comments, etc, etc). * reduced the number of warnings in tests * commented warnings that must not be suppresed in the workspace unless we want "Unnecessary @SuppressWarnings" at build time. Change-Id: Iab2c962e5c331eab170b5f6e08d9bb29d05f0cc4
2013-12-09bug 418662: Get rid of compile warnings in official build -I20131209-2000Krzysztof Daniel1-0/+4
org.eclipse.equinox.p2.ui.sdk.scheduler Warnings ignored as viewers operate using Object and generics don't add any value here. Change-Id: I07cb090373c5d4765b49195a297fa98fccdff2c8 Signed-off-by: Krzysztof Daniel <kdaniel@redhat.com>
2013-12-09bug 418662 - Get rid of compile warnings in official build -Krzysztof Daniel10-35/+72
org.eclipse.equinox.p2.ui.discovery Change-Id: Iec3ef1ec194481d950d313a0f3ce24ce6a7fa93f Signed-off-by: Krzysztof Daniel <kdaniel@redhat.com>
2013-12-09bug 418662: Get rid of compile warnings in official build -Krzysztof Daniel1-0/+1
org.eclipse.equinox.p2.repository.tools Change-Id: I9cedbed4c0aac82961e41c88d9dfc355c972f934 Signed-off-by: Krzysztof Daniel <kdaniel@redhat.com>
2013-12-09bug 418662: Get rid of compile warnings in official build Krzysztof Daniel1-1/+1
org.eclipse.equinox.p2.installer Change-Id: I7cd69e8d493b3b67eabdff3acf81b100d6ea79d5 Signed-off-by: Krzysztof Daniel <kdaniel@redhat.com>
2013-12-09bug 418662 - Get rid of compile warnings in official build -Krzysztof Daniel6-3/+11
org.eclipse.equinox.p2.discovery.compatibility Change-Id: Ieaf254570551fef783d1cc6bbf79daf51847d5fa
2013-12-09bug 418662 - Get rid of compile warnings in official build -Krzysztof Daniel2-0/+10
org.eclipse.ecf.provider.filetransfer Change-Id: Ib768c55c6eb09d6dd95664137e8b7b853f2f594b Signed-off-by: Krzysztof Daniel <kdaniel@redhat.com>
2013-12-09bug 418662: Get rid of compile warnings in official build -Krzysztof Daniel8-12/+46
org.eclipse.equinox.p2.publisher.eclipse Change-Id: I02f9f6367913e01988f5e65452d2c52c7898a5a7 Signed-off-by: Krzysztof Daniel <kdaniel@redhat.com>
2013-12-09bug 418662: Get rid of compile warnings in official build -Krzysztof Daniel1-37/+37
org.eclipse.equinox.simpleconfigurator.manipulator Change-Id: Idfce90273e5e357f1adbac3aa78d2d7cd1e53197 Signed-off-by: Krzysztof Daniel <kdaniel@redhat.com>
2013-12-09bug 418662: Get rid of compile warnings in official build -Krzysztof Daniel7-62/+66
org.eclipse.equinox.simpleconfigurator Change-Id: I476cbc282ba67403b71743d0703a0a6e0dbc1769 Signed-off-by: Krzysztof Daniel <kdaniel@redhat.com>
2013-12-09bug 418662: Get rid of compile warnings in official build:Krzysztof Daniel2-2/+29
org.eclipse.equinox.p2.repository Change-Id: I63eda541f7e81b9687e50414ae793d2f99086a88 Signed-off-by: Krzysztof Daniel <kdaniel@redhat.com>
2013-12-09bug 418662 - Get rid of compile warnings in officialKrzysztof Daniel9-87/+97
build:org.eclipse.equinox.frameworkadmin.equinox Change-Id: Ic38817e9e77b7caa67372b650bd78cf4d2591c26 Signed-off-by: Krzysztof Daniel <kdaniel@redhat.com>
2013-12-09bug 418662 - Get rid of compile warnings in official buildKrzysztof Daniel6-92/+94
framework admin Change-Id: I770e1b05b78d2917c989ec1f2cc62b2612c21cd4 Signed-off-by: Krzysztof Daniel <kdaniel@redhat.com>
2013-12-09Bug 409073 - Cannot install items from .p2f file (no repository found)Hamdan Msheik2-148/+162
Signed-off-by: Pascal Rapicault <pascal@rapicault.net> Signed-off-by: Hamdan Msheik <hamdan.msheik@ericsson.com>
2013-12-09Bug - 401942 Fixed migration page scroll bar issue.Hamdan Msheik4-23/+95
Signed-off-by: Pascal Rapicault <pascal@rapicault.net> Signed-off-by: Hamdan Msheik <hamdan.msheik@ericsson.com>
2013-11-28bug 422043 - 7 ConfigurationTests failed in official buildI20131209-0800I20131208-2000I20131203-0800Krzysztof Daniel3-27/+5
Partial revert of commits 10bcad9, b776de6, 1413f8a, 0dae0e9. What is left: * usage of canonical paths in the configuration tests. This is a real fix for this bug, as Configuration could write Windows specific paths, which were not handled properly in tests (java paths were using Unix-like convention - "/" and lower-case drive letters, while tests were adopting Windows convention - "\" when the tmp path was configured via command line. * I've also left changes responsible for improved deleting of work directories - current clean up method couldn't delete readonly children, so every child is now being made readable, writeable and executable before being deleted. Change-Id: I3686fbfc19950f454f945d01c53b149c9a2d93ab Signed-off-by: Krzysztof Daniel <kdaniel@redhat.com>
2013-11-27bug 422043 - 7 ConfigurationTests failed in official buildKrzysztof Daniel2-11/+12
Use canonical paths also when iterating over the sites. Change-Id: I99dc527bc9e8f8f9368d735c87c2eea5ee577c5f Signed-off-by: Krzysztof Daniel <kdaniel@redhat.com>
2013-11-26bug 422043: 7 ConfigurationTests failed in official build Krzysztof Daniel1-14/+15
Use canocical path when referring to update sites in the tests. Change-Id: If88d410ae5926ee78a958a9631d18e836513356b Signed-off-by: Krzysztof Daniel <kdaniel@redhat.com>
2013-11-25bug 422043 - 7 ConfigurationTests failed in official buildI20131126-0800Krzysztof Daniel1-4/+8
Instrumentation. It's likely that tests fail because configuration uses windows specific line delimiters, but tests use unix like ones. Change-Id: I4994cb5bcf950b257e89b18672f51e089a5a3277 Signed-off-by: Krzysztof Daniel <kdaniel@redhat.com>
2013-11-21bug 422043 - 7 ConfigurationTests failed in official buildKrzysztof Daniel3-5/+32
Instrumentation to sysout important paths. Also: Improved tests cleaning. Change-Id: Ia9fa1dd1ae6d70e183825bc8dd662f7cc26745ee Signed-off-by: Krzysztof Daniel <kdaniel@redhat.com>
2013-11-19Bug 422032 - Generify comparator in SimpleConfiguratorManipulatorUtils.I20131119-0800Alexander Kurtakov1-12/+7
Make use of 1.5 features for simplicity and readability. Change-Id: I0c97b59a985bd953385008703c72b2bc2ae2ff1e Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2013-11-19Bug 422025 - Generify DeltaApplierAlexander Kurtakov1-11/+11
P2 has moved to Java 1.5 now and DeltaApplier not being properly generified clutters the build logs and platform reports. It's better to get rid of these warnings in order to make important problems more visible. Change-Id: Iceb37a42dcfe9e52ddde2a81cb836ceaa6ae80be Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2013-11-19Bug 422026 - Get rid of ColletionUtils.empty[Set|List|Map]Alexander Kurtakov44-154/+84
Now that p2 has Java 1.5 as a minimum there is no reason to not use the JVM methods. Change-Id: I89444e8d1e174c316e2b17fb4f53bc7b1d097c0a Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2013-11-18bug 421704 - equinox.p2.tests and equinox.p2.tests.ui failed on LinuxKrzysztof Daniel1-11/+0
Don't skip some tests when run on java 1.6. 1.7 is a required BREE. Change-Id: I966275f840f76b4979bdcb38e4c567e4f5c8e6dd Signed-off-by: Krzysztof Daniel <kdaniel@redhat.com>
2013-11-15Bug 421824 - Use *Scope.INSTANCEAlexander Kurtakov4-7/+7
*Scope constructors are deprecated and using the INSTANCE static field is recommended. Change-Id: I56de8e03818ef4abe45c9b7097cbf5ae1d92ce14 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2013-11-15Bug 421814 - Fix deprecated usages in tests.Alexander Kurtakov6-20/+6
Use Hamcrest matchers directly instead of via deprecated junit class. Change-Id: Iec5e4b6c482a85f5ed6b05020c1af85ec83d39ec Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2013-11-15Bug 421798 - Fix various warnings.Alexander Kurtakov39-67/+56
* Remove unneeded casts. * Remove unneeded throws. * Remove unneeded semicolons. Change-Id: I7454ea216cfc194a0d394550feecc29042d23363 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2013-11-14Bug 421768 - Remove useless @SuppressWarnings.Alexander Kurtakov6-6/+6
Now that 1.5 is official it's better to get rid of some old warnings. Change-Id: I57a9fbb1872e92e81884ee4fac5ac1febfdf807a Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2013-11-14Bug 421770 - Remove duplicated Bundle-ActivationPolicy.Alexander Kurtakov1-1/+0
Change-Id: I9645309dd9c1db3555e7d9122e9482e5bdd2cf85 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2013-11-14Bug 421771 - Don't use deprecated junit Assert.Alexander Kurtakov9-12/+10
Changing from junit.framework to org.junit is enough. Change-Id: I541d00c1dd6652003d4df51a66fb98d1e3342625 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2013-11-13Bug 421339 - Accept java 1.5Krzysztof Daniel75-1120/+1014
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-11-12Revert "bug 420260: org.eclipse.equinox.p2.tests take 1.5h longer on theKrzysztof Daniel7-70/+1
Mac " This reverts commit 8c9187a7cdfca9ae0c93566c5f383a6c7e6137bf, as it was released only for instrumentation. Signed-off-by: Krzysztof Daniel <kdaniel@redhat.com> Change-Id: I5ca7c147d8434b3a72b84d38953817ff541b9066
2013-11-12bug 420260 - org.eclipse.equinox.p2.tests take 1.5h longer on the MacKrzysztof Daniel5-13/+13
use domain that can be resolved by Eclipse Foundation infrastructure (avoid depending on proxy while executing tests). Change-Id: I113d43930b9fd0dd5a6079677d54e8e2e6708ba6 Signed-off-by: Krzysztof Daniel <kdaniel@redhat.com>
2013-11-12Bug 419418: testSimpleRepositoryPerformanceOnLoadReadonlyLocalRepositoryI20131112-0800Krzysztof Daniel1-10/+7
fails when invoked with maven surefire Tests rely on changing privileges, which cannot be changed without platform. Platform can't be installed into surefire, because it depends on bundles in the reactor, and would cause circular dependencies. So, the proper way is to use File API to manage file attributes. Change-Id: I93ab9eaaf9891b265e0ef4fbabe3f22a66616738 Signed-off-by: Krzysztof Daniel <kdaniel@redhat.com>
2013-11-12Bug 417179 - Configure reconciler testsKrzysztof Daniel5-3/+231
This approach relies on a build order of reactor modules - the reconciler product needs to be built before reconciler tests are executed. The product is passed via the surefire configuration. Change-Id: If44e10e4f30ca47b92a5427bc8feec3453a8e25f Signed-off-by: Krzysztof Daniel <kdaniel@redhat.com>
2013-11-12Bug 417073: Configuration for tycho-surefire-pluginKrzysztof Daniel6-13/+55
Test bundles are now built as test bundles, not as regular plugins, and therefore can be executed by tycho surefire. Small changes in the requirements are required, because there is no full Eclipse available at test time, so all dependencies need to be listed. Also-By: Mickael Istria <mistria@redhat.com> Signed-off-by: Mickael Istria <mistria@redhat.com> Signed-off-by: Krzysztof Daniel <kdaniel@redhat.com> Change-Id: Icdc78a92d93c2d8e0c62c8cc6d49bbfb7de147af
2013-11-07Bug 419419: test233240_artifactsDeleted fails when invoked with maven surefireKrzysztof Daniel1-6/+10
Tycho surefire uses maven convention for bundles that constitute test environment, so every plugin has "-" instead of "_". This doesn't work for P2 test, because P2 generator generates bundles with "_". So, the test case has to explicitly use that character in bundle name. Change-Id: I1c01b979de2f5527d6f813272ecf27406a9813f2 Signed-off-by: Krzysztof Daniel <kdaniel@redhat.com>
2013-11-04bug 420260: org.eclipse.equinox.p2.tests take 1.5h longer on the Mac I20131105-0800Krzysztof Daniel7-1/+70
This is a temporary instrumentation to gather thread dumps when a test takes longer than 60 seconds. Change-Id: I242857ccdd600d954e539e656a3fb0e0613f747d Signed-off-by: Krzysztof Daniel <kdaniel@redhat.com>
2013-10-29Bug 420588 - Unanticipated comparator errors in I20131028-2000I20131030-2000I20131030-1400I20131030-0800I20131029-2000Pascal Rapicault1-0/+1
2013-10-29Bug 416565 - p2 shared install test failuresKrzysztof Daniel24-4/+90
This commit rebuilds internal test repository containing verifier application, and makes further rebuilds easier by providing complete sources of a repository projects that can be build immediately after checkout. Change-Id: Iea19e78024ec65dfe24c4e7e21932b016531f3b9 Signed-off-by: Krzysztof Daniel <kdaniel@redhat.com>

Back to the top