[Esbox-commits] r1555 - branches/work_Ed/org.maemo.esbox.scratchbox.sb2/src/org/maemo/esbox/internal/scratchbox/sb2/ui/wizard
eswartz at garage.maemo.org
eswartz at garage.maemo.org
Fri May 8 00:36:46 EEST 2009
Author: eswartz
Date: 2009-05-08 00:36:46 +0300 (Fri, 08 May 2009)
New Revision: 1555
Modified:
branches/work_Ed/org.maemo.esbox.scratchbox.sb2/src/org/maemo/esbox/internal/scratchbox/sb2/ui/wizard/NewScratchbox2TargetWizard.java
Log:
Refresh SB2 targets after adding one.
Modified: branches/work_Ed/org.maemo.esbox.scratchbox.sb2/src/org/maemo/esbox/internal/scratchbox/sb2/ui/wizard/NewScratchbox2TargetWizard.java
===================================================================
--- branches/work_Ed/org.maemo.esbox.scratchbox.sb2/src/org/maemo/esbox/internal/scratchbox/sb2/ui/wizard/NewScratchbox2TargetWizard.java 2009-05-07 17:02:32 UTC (rev 1554)
+++ branches/work_Ed/org.maemo.esbox.scratchbox.sb2/src/org/maemo/esbox/internal/scratchbox/sb2/ui/wizard/NewScratchbox2TargetWizard.java 2009-05-07 21:36:46 UTC (rev 1555)
@@ -175,6 +175,10 @@
// the user approved this, whether or not it existed before, so pass "true" to force installation
sdk.createRootstrapTarget(targetName, useHostTools,
true, new SubProgressMonitor(monitor, 1));
+
+ sdk.refresh();
+ SDKFactory.getInstance().fireListeners();
+
createdTarget = sdk.findSDKTarget(targetName);
} catch (MicaException e) {
throw new InvocationTargetException(e);
More information about the Esbox-commits
mailing list