--- a/LPCManager.py Fri Dec 04 15:51:34 2015 +0100
+++ b/LPCManager.py Mon Jan 11 10:45:48 2016 +0100
@@ -74,9 +74,10 @@
('Native', 'NativeLib.NativeLibrary'),
- ('LPC', lambda: PLCLibrary)]
+ ('LPC', lambda: PLCLibrary), + ('Python', 'py_ext.PythonLibrary'), + ('SVGUI', 'svgui.SVGUILibrary')] from LPCconnector import LPC_connector_factory
connectors.connectors["LPC"]=lambda:LPC_connector_factory
@@ -323,6 +324,11 @@
"tooltip" : _("Build project into build folder"),
+ "tooltip" : _("Clean project build folder"), @@ -921,6 +927,21 @@
+ self._CloseView(self._IECCodeView) + if os.path.isdir(os.path.join(self._getBuildPath())) and os.path.isfile(os.path.join(self._getBuildPath(), "hmi.py")) and os.path.isfile(os.path.join(self._getBuildPath(), "runtime_2.py")): + self.logger.write(_("Cleaning the build directory\n")) + #self.logger.write(_(str(os.path.join(self._getBuildPath(), "hmi.py")))) + os.remove(os.path.join(self._getBuildPath(), "hmi.py")) + os.remove(os.path.join(self._getBuildPath(), "runtime_2.py")) + self.logger.write_error(_("Build directory already clean\n")) + self.ShowMethod("_showIECcode", False) + self.EnableMethod("_Clean", False) + self.CompareLocalAndRemotePLC() if self.OnlineMode == "NORMAL":
ProjectController._Transfer(self)