added:
authorClaus Gittinger <cg@exept.de>
Thu, 22 Oct 2009 23:45:23 +0200
changeset 2679 b3c0d537d6af
parent 2678 cca2788228ad
child 2680 3f2dbbd7743f
added: #doOpenConsole #doOpenConsoleTerminal changed: #page8_deploySpec
Tools__ProjectBuilderAssistantApplication.st
--- a/Tools__ProjectBuilderAssistantApplication.st	Thu Oct 22 23:45:10 2009 +0200
+++ b/Tools__ProjectBuilderAssistantApplication.st	Thu Oct 22 23:45:23 2009 +0200
@@ -879,7 +879,7 @@
                  (HorizontalPanelViewSpec
                     name: 'HorizontalPanel1'
                     layout: (LayoutFrame 0 0 -30 1 0 1 0 1)
-                    horizontalLayout: center
+                    horizontalLayout: centerMax
                     verticalLayout: center
                     horizontalSpace: 3
                     verticalSpace: 3
@@ -894,6 +894,14 @@
                           model: doOpenExplorer
                           extent: (Point 172 22)
                         )
+                       (ActionButtonSpec
+                          label: 'Open Console'
+                          name: 'Button2'
+                          translateLabel: true
+                          resizeForLabel: true
+                          model: doOpenConsoleTerminal
+                          extent: (Point 172 22)
+                        )
                        )
                      
                     )
@@ -1077,6 +1085,15 @@
     ].
 !
 
+doOpenConsoleTerminal
+"/    OperatingSystem
+"/        executeCommand:'cmd.exe'        
+"/        inDirectory:(projectBuilder packageBuildDirectory)
+    OperatingSystem
+        executeCommand:'c:\windows\System32\cmd.exe'        
+        inDirectory:(projectBuilder packageBuildDirectory)
+!
+
 doOpenExplorer
     OperatingSystem
         openApplicationForDocument:(projectBuilder packageBuildDirectory) operation:#explore.