Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryoungm2012-09-02 16:35:57 -0400
committerIgor Fedorenko2012-09-03 06:39:04 -0400
commit4bfb8fc6a9e0c01b1c504293c35f4aec3fea6d01 (patch)
treec8079d593d735895483e713d5bc5eaae5602e976 /org.eclipse.m2e.scm
parent84669a40d65c3cb133251ad5fca85d4f839c6e13 (diff)
downloadm2e-core-4bfb8fc6a9e0c01b1c504293c35f4aec3fea6d01.tar.gz
m2e-core-4bfb8fc6a9e0c01b1c504293c35f4aec3fea6d01.tar.xz
m2e-core-4bfb8fc6a9e0c01b1c504293c35f4aec3fea6d01.zip
388508 Support forcing rename as part of MavenImportWizard. Update MavenProjectCheckoutJob to always force a rename on update.releases/1.2/1.2.0.20120903-1050milestones/1.2/1.2.0.20120903-1050
Diffstat (limited to 'org.eclipse.m2e.scm')
-rw-r--r--org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/internal/wizards/MavenProjectCheckoutJob.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/internal/wizards/MavenProjectCheckoutJob.java b/org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/internal/wizards/MavenProjectCheckoutJob.java
index 3a6f6824..85bd4a69 100644
--- a/org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/internal/wizards/MavenProjectCheckoutJob.java
+++ b/org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/internal/wizards/MavenProjectCheckoutJob.java
@@ -221,6 +221,7 @@ public abstract class MavenProjectCheckoutJob extends WorkspaceJob {
public void run() {
MavenImportWizard wizard = new MavenImportWizard(configuration, collectedLocations,
mappingConfiguration);
+ wizard.setBasedirRemameRequired(true);
WizardDialog dialog = new WizardDialog(PlatformUI.getWorkbench().getDisplay().getActiveShell(), wizard);
int res = dialog.open();
if(res == Window.CANCEL) {
@@ -251,6 +252,7 @@ public abstract class MavenProjectCheckoutJob extends WorkspaceJob {
PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() {
public void run() {
MavenImportWizard wizard = new MavenImportWizard(configuration, collectedLocations);
+ wizard.setBasedirRemameRequired(true);
WizardDialog dialog = new WizardDialog(PlatformUI.getWorkbench().getDisplay().getActiveShell(), wizard);
int res = dialog.open();
if(res == Window.CANCEL) {

Back to the top