Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2011-04-24moved NoSuchComponentException to internal packageIgor Fedorenko2-2/+1
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2011-04-24Clarified non-API status of indexer integrationIgor Fedorenko57-117/+122
IndexedArtifact/IndexedArtifactFile do not provide adequate abstraction of repository index entries and appear to be an artificial hybrid of artifact-level and artifact contents-level information. SearchExpression and subclasses appear to "leak" lucene search query syntax to clients. Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2011-04-24clarified IBackgroundProcessingQueue non-API statusIgor Fedorenko7-7/+7
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2011-04-23gitignoreIgor Fedorenko1-0/+1
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2011-04-21Cleanup MavenUpdateRequest API classIgor Fedorenko4-51/+39
Added some javadoc and renamed parameters to better describe what they do. events are fired by maven project import. Maven project import synchronously create project facades, so background refresh is redundant. Removed #force attribute and made related changes to DependencyResolutionContext and ProjectRegistryRefreshJob. Check for facade.isStale in resource change listener instead. Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2011-04-21Bug 338496 - Minor tweaks to update configuration markerMatthew Piggott3-6/+91
2011-04-21Fix duplicated shortcut key on archetype pageMatthew Piggott2-11/+5
2011-04-21Bug 339968 - Import Wizard update configuration after ignoreMatthew Piggott4-4/+33
2011-04-21Removed remntants of nested project supportIgor Fedorenko3-44/+16
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2011-04-21343530 - pom.xml changes are ignored in some casesIgor Fedorenko1-7/+4
Added logic to attempt to force-read project facade if it is null. This covers situation when the user fixes broken pom.xml, saves it and expects m2e to clear relevant error markers. Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2011-04-21343526 - NPE in ProjectRegistryManager after workspace restartIgor Fedorenko2-6/+33
Facade's mavenProject instance can be null when updating dependent projects not directly listed in original update request. Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2011-04-20Bug 342379 - Parent project selection should automatically fill relative ↵Matthew Piggott2-7/+7
path when parent is in workspace
2011-04-20Bug 336411 - Automatically mark target folder as derivedMatthew Piggott3-59/+112
2011-04-20M2e Performance - Caching Lifecycle Metadatasnjeza2-25/+41
Signed-off-by: snjeza <snjezana.peco@redhat.com>
2011-04-20342301 - NPE when m2e tries to download sourcesIgor Fedorenko1-2/+6
IRepositoryRegistry is updated by maven project and settings change events. Other threads may get null repository instances while registry is being updated as a response to one of the callback events. Added null check to protect from NPE should this happen. Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2011-04-20NPE when showing project selection dialog with closed/missing projectsIgor Fedorenko1-2/+6
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2011-04-20342903 only update workspace index when there are changesIgor Fedorenko5-8/+202
Workspace index only contains information about project GAVC properties and does not change during most project refresh cases. To take advantage of this, query workspace index and only change the index when old and new index documents differ. See also http://jira.codehaus.org/browse/MINDEXER-27 Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2011-04-20Revert "Fix preference access"Matthew Piggott1-1/+2
2011-04-19Reconciled dependency update and configuration update actionsIgor Fedorenko10-194/+133
Introduced MavenProjectActionSupport to handle project selection during depenency and configuration update consistently. Introduced IProjectConfigurationManager.updateProjectConfiguration(MavenUpdateRequest, IProgressMonitor) Some cleanup of updateProjectConfiguration implementation. Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2011-04-19Bug 342768 - Adding a managed dependency in the POM editor adds version to ↵Matthew Piggott2-1/+103
that dependency
2011-04-19UpdateDependenciesDialog - fix checked bugMatthew Piggott1-10/+6
2011-04-19Code cleanupMatthew Piggott15-60/+61
2011-04-19UpdateDependenciesDialog - externalize stringsMatthew Piggott3-12/+31
2011-04-18removed stale commentIgor Fedorenko1-1/+0
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2011-04-18M2e Performance - Workspace Statesnjeza2-2/+9
Signed-off-by: snjeza <snjezana.peco@redhat.com>
2011-04-18M2e Performance - Project Refresh Jobsnjeza1-0/+5
Signed-off-by: snjeza <snjezana.peco@redhat.com>
2011-04-18Changed test method to publicMatthew Piggott1-1/+1
2011-04-18Cleanup - unused code, NON-NLSMatthew Piggott5-35/+38
2011-04-18UserInterfacePreferencePage missed in earlier commitMatthew Piggott1-0/+50
2011-04-18Removed most Open menu items from right-click menuMatthew Piggott5-548/+4
2011-04-18LifecycleMappingPage - Sort tree elements by Maven columnMatthew Piggott1-0/+17
2011-04-18EditDependencyDialog - unused codeMatthew Piggott2-9/+3
2011-04-18OverviewPage - removed unused methodMatthew Piggott1-4/+0
2011-04-18SelectionUtil - removed unused private methodMatthew Piggott1-29/+17
2011-04-18Fix preference accessMatthew Piggott1-6/+8
2011-04-18clarified a commentIgor Fedorenko1-1/+1
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2011-04-18Fix import wizard titleMatthew Piggott1-1/+1
2011-04-18Use PlatformUI API to access workbench shared imagesMatthew Piggott2-11/+10
2011-04-18343180 - cache parsed user settings.xmlIgor Fedorenko2-23/+34
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2011-04-18Re-added importMatthew Piggott1-0/+1
2011-04-18Removed unused externalized stringsMatthew Piggott12-254/+3
2011-04-18UpdateDependenciesDialog - expand all elementsMatthew Piggott1-4/+7
2011-04-18ScmUrl - fix scmParentUrl not assignedMatthew Piggott1-3/+2
2011-04-18Rename POM Editor preferences to User Interface preferences.Matthew Piggott12-87/+18
2011-04-18342910 synchronize access to context pomFilesIgor Fedorenko1-3/+3
Currently, when workspace autobuild is on (the default), both Maven Builder and background refresh job will resolve dependencies concurrently, which may result in repository system callbacks coming from two threads, which may lead to concurrent modification exceptions. Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2011-04-18342910 do not force update by defaultIgor Fedorenko1-1/+1
It is commot to develop against locally installed snapshot dependency, when developing a patch for thirdparty code, for example. Forced update will replace locally installed artifacts, which we do not want by default. Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2011-04-16342910 automatically refresh projects that depend on resolved artifactsIgor Fedorenko5-14/+59
Changed ProjectRegistryManager to automatically refresh all workspace projects that depend on new/changed artifacts changed in the local repository. This should guarantee that the same external dependency is consistently resolved by all workspace projects that depend on it. Implementation uses ILocalRepositoryListener to recieve local repository event callbacks and should properly handle new SNAPSHOT versions, missing artifacts that become available and replaced RELEASE artifacts. Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2011-04-15342910 hooked the new UpdateDepenciesDialog to right-click actionsIgor Fedorenko4-67/+49
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2011-04-15342910 use 'never' global update policy by defaultIgor Fedorenko9-5/+52
Introduced new "do not update dependency from remote repositories" preference. When checked (the default) m2e will only contact remote repositories to resolve artifacts that are not present in the local repository and will never attempt to re-resolve artifacts that are already present locally. This is expected to guarantee that all workspace project use the same SNAPSHOT dependency version and improve dependency resolution performance in many common cases as well. Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2011-04-15342903 split MavenProject creation and dependency resolutionIgor Fedorenko5-100/+166
Reworked ProjectRegistryManager.refresh to properly separate MavenProject instance creation from project dependency resolution. This allowed dependency resolution, the most CPU-expansive part of #refresh, to be executed exactly one time for each affected project. On my hardware and using a snapshot of jboss-as as a test project, the new implementation performs ~50% better compared to the original (~15s vs ~22s). Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>

Back to the top