This is an automated email from the git hooks/post-receive script. New change to branch develop in repository lima. See http://git.chorem.org/lima.git from 07988ba Merge branch 'feature/1287-compute-summary-on-lettering' into develop new 1977c6c refs #686 Redémarrage complet de lima pour que l'internationalisation soit complète The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit 1977c6cee1725f1ad4aed91b9bc0bc67ca0ec9b8 Author: dcosse <cosse@codelutin.com> Date: Fri Sep 11 16:12:48 2015 +0200 refs #686 Redémarrage complet de lima pour que l'internationalisation soit complète Summary of changes: .../src/main/java/org/chorem/lima/ui/MainViewHandler.java | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository lima. See http://git.chorem.org/lima.git commit 1977c6cee1725f1ad4aed91b9bc0bc67ca0ec9b8 Author: dcosse <cosse@codelutin.com> Date: Fri Sep 11 16:12:48 2015 +0200 refs #686 Redémarrage complet de lima pour que l'internationalisation soit complète --- .../src/main/java/org/chorem/lima/ui/MainViewHandler.java | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/lima-swing/src/main/java/org/chorem/lima/ui/MainViewHandler.java b/lima-swing/src/main/java/org/chorem/lima/ui/MainViewHandler.java index 2d1d1e4..01e22b2 100644 --- a/lima-swing/src/main/java/org/chorem/lima/ui/MainViewHandler.java +++ b/lima-swing/src/main/java/org/chorem/lima/ui/MainViewHandler.java @@ -61,6 +61,7 @@ import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.File; +import java.io.IOException; import java.net.URI; import java.net.URL; import java.util.Locale; @@ -313,6 +314,8 @@ public class MainViewHandler { */ protected void reloadUI(LimaSwingApplicationContext rootContext) { + String version = LimaSwingApplicationContext.getContext().getConfig().getVersion(); + // must remove all properties listener on config LimaSwingApplicationContext.CONFIG_DEF.getContextValue(rootContext).removeJaxxPropertyChangeListener(); @@ -327,11 +330,13 @@ public class MainViewHandler { ui.setVisible(false); } - ui = initUI(rootContext); - - // show ui - ui.setVisible(true); - showHomeView(rootContext); + System.out.println("Lima-" + version + " restart !"); + try { + Runtime.getRuntime().exec("java -jar lima.jar"); + } catch (IOException e) { + e.printStackTrace(); + } + System.exit(0); } /** -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
participants (1)
-
chorem.org scm