You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ft...@apache.org on 2012/12/07 07:25:51 UTC

svn commit: r1418196 [1/2] - in /incubator/flex/whiteboard/fthomas/developerToolSuite/trunk: org.apache.flex.utilities.developerToolSuite.air/src/main/resources/assets/icons/ org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/...

Author: fthomas
Date: Fri Dec  7 06:25:40 2012
New Revision: 1418196

URL: http://svn.apache.org/viewvc?rev=1418196&view=rev
Log:
- added svn / git detection
- refactored and cleaned code

Added:
    incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/Asset.as
    incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/formItem/GitHomeFormItem.mxml
    incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/formItem/SvnHomeFormItem.mxml
      - copied, changed from r1417958, incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/formItem/JavaHomeFormItem.mxml
    incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/formItem/VCSFormItem.mxml
      - copied, changed from r1417962, incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/formItem/ToolHomeFormItem.mxml
    incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/resources/assets/
    incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/resources/assets/icons/
    incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/ValidateAntPathCommand.as
      - copied, changed from r1417962, incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/ValidateAntHomePathCommand.as
    incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/ValidateGitPathCommand.as
    incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/ValidateJavaPathCommand.as
      - copied, changed from r1417962, incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/ValidateJavaHomePathCommand.as
    incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/ValidateMavenPathCommand.as
      - copied, changed from r1417962, incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/ValidateMavenHomePathCommand.as
    incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/ValidateSvnPathCommand.as
      - copied, changed from r1417962, incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/ValidateJavaHomePathCommand.as
    incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/message/ValidateAntPathMessage.as
      - copied, changed from r1417958, incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/message/ValidateAntHomePathMessage.as
    incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/message/ValidateGitPathMessage.as
    incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/message/ValidateJavaPathMessage.as
      - copied, changed from r1417958, incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/message/ValidateJavaHomePathMessage.as
    incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/message/ValidateMavenPathMessage.as
      - copied, changed from r1417958, incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/message/ValidateMavenHomePathMessage.as
    incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/message/ValidateSvnPathMessage.as
      - copied, changed from r1417958, incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/message/ValidateJavaHomePathMessage.as
Removed:
    incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.air/src/main/resources/assets/icons/ApacheFlexLogo_fullcolor_wb.png
    incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.air/src/main/resources/assets/icons/Flexicon.png
    incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.air/src/main/resources/assets/icons/apache_flex_badge_icon.png
    incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.air/src/main/resources/assets/icons/bg_logo.png
    incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/ValidateAntHomePathCommand.as
    incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/ValidateJavaHomePathCommand.as
    incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/ValidateMavenHomePathCommand.as
    incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/message/ValidateAntHomePathMessage.as
    incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/message/ValidateJavaHomePathMessage.as
    incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/message/ValidateMavenHomePathMessage.as
    incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.standard-theme/src/main/flex/org/apache/flex/utilities/developerToolSuite/graphic/component/
Modified:
    incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/GeneralSettings.mxml
    incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/formItem/AntHomeFormItem.mxml
    incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/formItem/JavaHomeFormItem.mxml
    incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/formItem/MavenHomeFormItem.mxml
    incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/formItem/ToolHomeFormItem.mxml
    incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/domain/ISettingsModel.as
    incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/domain/SettingModel.as
    incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/config/ExecutorContext.mxml
    incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/test/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/nativeProcess/CommandLineProcessTest.as
    incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.host-swf/pom.xml
    incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.host-swf/src/main/flex/org/apache/flex/utilities/developerToolSuite/MainApplication.mxml
    incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.locale/pom.xml
    incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.locale/src/main/resources/locale/en_US/SettingsWindow.properties
    incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.locale/src/main/resources/locale/fr_FR/SettingsWindow.properties
    incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.standard-theme/pom.xml

Added: incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/Asset.as
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/Asset.as?rev=1418196&view=auto
==============================================================================
--- incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/Asset.as (added)
+++ incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/Asset.as Fri Dec  7 06:25:40 2012
@@ -0,0 +1,12 @@
+package org.apache.flex.utilities.developerToolSuite.presentation.graphic {
+    public class Asset {
+
+        [Embed(source='../../../../../../../../resources/assets/icons/icon_checked_16x16.png')]
+        [Bindable]
+        public static var CHECKED:Class;
+
+        [Embed(source='../../../../../../../../resources/assets/icons/icon_unchecked_16x16.png')]
+        [Bindable]
+        public static var UNCHECKED:Class;
+    }
+}

Modified: incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/GeneralSettings.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/GeneralSettings.mxml?rev=1418196&r1=1418195&r2=1418196&view=diff
==============================================================================
--- incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/GeneralSettings.mxml (original)
+++ incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/GeneralSettings.mxml Fri Dec  7 06:25:40 2012
@@ -22,7 +22,7 @@ limitations under the License.
          xmlns:component="org.apache.flex.utilities.developerToolSuite.presentation.graphic.component.*"
          xmlns:formitem="org.apache.flex.utilities.developerToolSuite.presentation.graphic.settings.formItem.*"
          width="100%" height="100%"
-         paddingTop="30" paddingLeft="30" paddingRight="30">
+         paddingTop="30" paddingLeft="30" paddingRight="30" verticalGap="12">
 
 
     <fx:Declarations>
@@ -31,14 +31,14 @@ limitations under the License.
 
     <mx:GridRow width="100%" horizontalAlign="center">
         <mx:GridItem>
-            <component:Frame label="{resourceManager.getString('SettingsWindow', 'LANGUAGE')}" skinClass="{FrameSkin}">
+            <component:Frame label="{resourceManager.getString('SettingsWindow', 'LANGUAGE')}" skinClass="{FrameSkin}" width="100%">
                 <component:layout>
                     <s:HorizontalLayout horizontalAlign="center"
                                         verticalAlign="middle" paddingLeft="30" paddingRight="30" paddingTop="30" paddingBottom="30"
                                         gap="16"/>
                 </component:layout>
                 <s:DropDownList id="languageComboBox"
-                                change="localeComboBox_changeHandler(event)" width="180"/>
+                                change="localeComboBox_changeHandler(event)" width="100%"/>
             </component:Frame>
         </mx:GridItem>
         <mx:GridItem rowSpan="3">
@@ -63,14 +63,19 @@ limitations under the License.
 
     <mx:GridRow width="100%" horizontalAlign="center">
         <mx:GridItem rowSpan="2">
-            <component:Frame label="{resourceManager.getString('SettingsWindow', 'LANGUAGE')}" skinClass="{FrameSkin}" height="100%">
+            <component:Frame label="{resourceManager.getString('SettingsWindow', 'VCS')}" skinClass="{FrameSkin}" height="100%">
                 <component:layout>
                     <s:HorizontalLayout horizontalAlign="center"
-                                        verticalAlign="middle" paddingLeft="30" paddingRight="30" paddingTop="30" paddingBottom="30"
+                                        verticalAlign="middle" paddingLeft="0" paddingRight="15" paddingTop="0" paddingBottom="0"
                                         gap="16"/>
                 </component:layout>
-                <s:DropDownList id="languageComboBox2"
-                                change="localeComboBox_changeHandler(event)" width="180"/>
+                <s:Form styleName="stackedForm">
+                    <s:layout>
+                        <s:FormLayout gap="-14"/>
+                    </s:layout>
+                    <formitem:SvnHomeFormItem id="svnHomeFormItem" installationPathValidated="{model.svnEnabled}"/>
+                    <formitem:GitHomeFormItem id="gitHomeFormItem" installationPathValidated="{model.gitEnabled}"/>
+                </s:Form>
             </component:Frame>
         </mx:GridItem>
     </mx:GridRow>
@@ -95,7 +100,7 @@ limitations under the License.
             languageComboBox.dataProvider = model.availableLanguages;
             languageComboBox.selectedItem = model.currentLanguage;
 
-            javaHomeFormItem.dispatch = antHomeFormItem.dispatch = mavenHomeFormItem.dispatch = dispatch;
+            svnHomeFormItem.dispatch = gitHomeFormItem.dispatch = javaHomeFormItem.dispatch = antHomeFormItem.dispatch = mavenHomeFormItem.dispatch = dispatch;
         }
 
         private function localeComboBox_changeHandler(event:IndexChangeEvent):void {

Modified: incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/formItem/AntHomeFormItem.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/formItem/AntHomeFormItem.mxml?rev=1418196&r1=1418195&r2=1418196&view=diff
==============================================================================
--- incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/formItem/AntHomeFormItem.mxml (original)
+++ incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/formItem/AntHomeFormItem.mxml Fri Dec  7 06:25:40 2012
@@ -24,9 +24,10 @@ limitations under the License.
                            helpLabelResourcesString="INDICATE_ANT_HOME" helpUrlText="(ANT Home Page)"
                            helpUrl="http://ant.apache.org/"
                            browserDirectoryResourceString="PLEASE_INDICATE_ANT_HOME"
-                           validateToolMessageClass="{ValidateAntHomePathMessage}"
+                           validateToolMessageClass="{ValidateAntPathMessage}"
                            errorStringTextResourceString="ANT_HOME_ERROR_STRING">
     <fx:Script><![CDATA[
-        import org.apache.flex.utilities.developerToolSuite.executor.infrastructure.message.ValidateAntHomePathMessage;
+        import org.apache.flex.utilities.developerToolSuite.executor.infrastructure.message.ValidateAntPathMessage;
+        import org.apache.flex.utilities.developerToolSuite.executor.infrastructure.message.ValidateAntPathMessage;
         ]]></fx:Script>
 </formitem:ToolHomeFormItem>

Added: incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/formItem/GitHomeFormItem.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/formItem/GitHomeFormItem.mxml?rev=1418196&view=auto
==============================================================================
--- incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/formItem/GitHomeFormItem.mxml (added)
+++ incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/formItem/GitHomeFormItem.mxml Fri Dec  7 06:25:40 2012
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<formitem:VCSFormItem xmlns:fx="http://ns.adobe.com/mxml/2009"
+                      xmlns:s="library://ns.adobe.com/flex/spark"
+                      xmlns:mx="library://ns.adobe.com/flex/mx"
+                      xmlns:formitem="org.apache.flex.utilities.developerToolSuite.presentation.graphic.settings.formItem.*"
+                      propertyName="GIT"
+                      helpUrlText="(GIT Home Page)"
+                      helpUrl="http://git-scm.com/downloads"
+                      validateVcsMessageClass="{ValidateGitPathMessage}">
+    <fx:Script><![CDATA[
+        import org.apache.flex.utilities.developerToolSuite.executor.infrastructure.message.ValidateGitPathMessage;
+        ]]></fx:Script>
+</formitem:VCSFormItem>

Modified: incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/formItem/JavaHomeFormItem.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/formItem/JavaHomeFormItem.mxml?rev=1418196&r1=1418195&r2=1418196&view=diff
==============================================================================
--- incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/formItem/JavaHomeFormItem.mxml (original)
+++ incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/formItem/JavaHomeFormItem.mxml Fri Dec  7 06:25:40 2012
@@ -24,9 +24,9 @@ limitations under the License.
                            helpLabelResourcesString="INDICATE_JAVA_HOME" helpUrlText="(JDK 1.6 Home Page)"
                            helpUrl="http://www.oracle.com/technetwork/java/javaee/downloads/java-ee-sdk-6u3-jdk-6u29-downloads-523388.html"
                            browserDirectoryResourceString="PLEASE_INDICATE_JAVA_HOME"
-                           validateToolMessageClass="{ValidateJavaHomePathMessage}"
+                           validateToolMessageClass="{ValidateJavaPathMessage}"
                            errorStringTextResourceString="JAVA_HOME_ERROR_STRING">
     <fx:Script><![CDATA[
-        import org.apache.flex.utilities.developerToolSuite.executor.infrastructure.message.ValidateJavaHomePathMessage;
+        import org.apache.flex.utilities.developerToolSuite.executor.infrastructure.message.ValidateJavaPathMessage;
         ]]></fx:Script>
 </formitem:ToolHomeFormItem>

Modified: incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/formItem/MavenHomeFormItem.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/formItem/MavenHomeFormItem.mxml?rev=1418196&r1=1418195&r2=1418196&view=diff
==============================================================================
--- incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/formItem/MavenHomeFormItem.mxml (original)
+++ incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/formItem/MavenHomeFormItem.mxml Fri Dec  7 06:25:40 2012
@@ -24,9 +24,9 @@ limitations under the License.
                            helpLabelResourcesString="INDICATE_MAVEN_HOME" helpUrlText="(Maven 3.x Home Page)"
                            helpUrl="http://maventest.apache.org/download.html"
                            browserDirectoryResourceString="PLEASE_INDICATE_MAVEN_HOME"
-                           validateToolMessageClass="{ValidateMavenHomePathMessage}"
+                           validateToolMessageClass="{ValidateMavenPathMessage}"
                            errorStringTextResourceString="MAVEN_HOME_ERROR_STRING">
     <fx:Script><![CDATA[
-        import org.apache.flex.utilities.developerToolSuite.executor.infrastructure.message.ValidateMavenHomePathMessage;
+        import org.apache.flex.utilities.developerToolSuite.executor.infrastructure.message.ValidateMavenPathMessage;
         ]]></fx:Script>
 </formitem:ToolHomeFormItem>

Copied: incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/formItem/SvnHomeFormItem.mxml (from r1417958, incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/formItem/JavaHomeFormItem.mxml)
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/formItem/SvnHomeFormItem.mxml?p2=incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/formItem/SvnHomeFormItem.mxml&p1=incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/formItem/JavaHomeFormItem.mxml&r1=1417958&r2=1418196&rev=1418196&view=diff
==============================================================================
--- incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/formItem/JavaHomeFormItem.mxml (original)
+++ incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/formItem/SvnHomeFormItem.mxml Fri Dec  7 06:25:40 2012
@@ -15,18 +15,15 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY 
 See the License for the specific language governing permissions and
 limitations under the License.
 -->
-<formitem:ToolHomeFormItem xmlns:fx="http://ns.adobe.com/mxml/2009"
+<formitem:VCSFormItem xmlns:fx="http://ns.adobe.com/mxml/2009"
                            xmlns:s="library://ns.adobe.com/flex/spark"
                            xmlns:mx="library://ns.adobe.com/flex/mx"
                            xmlns:formitem="org.apache.flex.utilities.developerToolSuite.presentation.graphic.settings.formItem.*"
-                           propertyName="JAVA_HOME"
-                           toolTipLabelResourceString="BROWSE_JAVA_HOME"
-                           helpLabelResourcesString="INDICATE_JAVA_HOME" helpUrlText="(JDK 1.6 Home Page)"
-                           helpUrl="http://www.oracle.com/technetwork/java/javaee/downloads/java-ee-sdk-6u3-jdk-6u29-downloads-523388.html"
-                           browserDirectoryResourceString="PLEASE_INDICATE_JAVA_HOME"
-                           validateToolMessageClass="{ValidateJavaHomePathMessage}"
-                           errorStringTextResourceString="JAVA_HOME_ERROR_STRING">
+                           propertyName="SVN"
+                           helpUrlText="(SVN Home Page)"
+                           helpUrl="http://subversion.apache.org/packages.html"
+                           validateVcsMessageClass="{ValidateSvnPathMessage}">
     <fx:Script><![CDATA[
-        import org.apache.flex.utilities.developerToolSuite.executor.infrastructure.message.ValidateJavaHomePathMessage;
+        import org.apache.flex.utilities.developerToolSuite.executor.infrastructure.message.ValidateSvnPathMessage;
         ]]></fx:Script>
-</formitem:ToolHomeFormItem>
+</formitem:VCSFormItem>

Modified: incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/formItem/ToolHomeFormItem.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/formItem/ToolHomeFormItem.mxml?rev=1418196&r1=1418195&r2=1418196&view=diff
==============================================================================
--- incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/formItem/ToolHomeFormItem.mxml (original)
+++ incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/formItem/ToolHomeFormItem.mxml Fri Dec  7 06:25:40 2012
@@ -54,9 +54,9 @@ limitations under the License.
     </s:helpContent>
     <fx:Script><![CDATA[
         import mx.events.FlexEvent;
-        import mx.rpc.Responder;
 
         import org.apache.flex.utilities.developerToolSuite.executor.infrastructure.message.SaveSettingMessage;
+
         import org.apache.flex.utilities.developerToolSuite.executor.infrastructure.nativeProcess.NativeShellHelper;
 
         import spark.events.TextOperationEvent;
@@ -109,7 +109,6 @@ limitations under the License.
             dispatch(new validateToolMessageClass(toolHomeLocation.text));
         }
 
-        // Result handlers for the SaveSettingCommand
         public function get installationPathValidated():Boolean {
             return _installationPathValidated;
         }
@@ -118,6 +117,9 @@ limitations under the License.
         public function set installationPathValidated(value:Boolean):void {
             _installationPathValidated = value;
             validator.validate();
+
+            if (_installationPathValidated)
+                dispatch(new SaveSettingMessage(propertyName, toolHomeLocation.text));
         }
         ]]></fx:Script>
 </s:FormItem>

Copied: incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/formItem/VCSFormItem.mxml (from r1417962, incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/formItem/ToolHomeFormItem.mxml)
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/formItem/VCSFormItem.mxml?p2=incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/formItem/VCSFormItem.mxml&p1=incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/formItem/ToolHomeFormItem.mxml&r1=1417962&r2=1418196&rev=1418196&view=diff
==============================================================================
--- incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/formItem/ToolHomeFormItem.mxml (original)
+++ incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/formItem/VCSFormItem.mxml Fri Dec  7 06:25:40 2012
@@ -19,57 +19,33 @@ limitations under the License.
             xmlns:s="library://ns.adobe.com/flex/spark"
             xmlns:mx="library://ns.adobe.com/flex/mx"
             xmlns:parsley="http://www.spicefactory.org/parsley"
-            xmlns:validator="org.apache.flex.utilities.developerToolSuite.presentation.behavior.validator.*"
             creationComplete="creationCompleteHandler(event)"
-            label="{propertyName}"
-            required="true"
-            styleName="stackedFormItem">
+            label="{propertyName}">
 
 
     <fx:Declarations>
         <parsley:Configure/>
-
-
-        <validator:ToolPathValidator id="validator" required="true"
-                                     source="{this}" property="installationPathValidated"
-                                     errorStringResourceString="{errorStringTextResourceString}"
-                                     trigger="{toolHomeLocation}"
-                                     listener="{toolHomeLocation}"/>
     </fx:Declarations>
 
-    <s:HGroup gap="0">
-        <s:TextInput id="toolHomeLocation" text="{propertyValue}"
-                     width="240"
-                     change="toolHomeLocation_changeHandler(event)"/>
-        <mx:Button id="browseButton" label="..." width="28"
-                   toolTip="{resourceManager.getString('SettingsWindow', browserDirectoryResourceString)}"
-                   click="browseButton_clickHandler(event)"/>
-    </s:HGroup>
+    <s:Image id="iconImage" source="{installationPathValidated ? Asset.CHECKED : Asset.UNCHECKED}"/>
     <s:helpContent>
         <s:VGroup>
-            <s:Label text="{resourceManager.getString('SettingsWindow', helpLabelResourcesString)}"/>
+            <s:Label text="{resourceManager.getString('SettingsWindow', 'SHOULD_BE_IN_PATH')}"/>
             <mx:LinkButton label="{helpUrlText}"
                            click="navigateToURL(new URLRequest(helpUrl));"/>
         </s:VGroup>
     </s:helpContent>
     <fx:Script><![CDATA[
         import mx.events.FlexEvent;
-        import mx.rpc.Responder;
-
-        import org.apache.flex.utilities.developerToolSuite.executor.infrastructure.message.SaveSettingMessage;
-        import org.apache.flex.utilities.developerToolSuite.executor.infrastructure.nativeProcess.NativeShellHelper;
 
-        import spark.events.TextOperationEvent;
+        import org.apache.flex.utilities.developerToolSuite.presentation.graphic.Asset;
 
         private var _file:File;
-        private var _installationPathValidated:Boolean;
 
         [Bindable]
-        public var propertyName:String;
-        [Bindable]
-        public var propertyValue:String;
+        public var installationPathValidated:Boolean;
         [Bindable]
-        public var toolTipLabelResourceString:String;
+        public var propertyName:String;
         [Bindable]
         public var helpLabelResourcesString:String;
         [Bindable]
@@ -77,47 +53,12 @@ limitations under the License.
         [Bindable]
         public var helpUrl:String;
         [Bindable]
-        public var browserDirectoryResourceString:String;
-        [Bindable]
-        public var validateToolMessageClass:Class;
-        [Bindable]
-        public var errorStringTextResourceString:String;
+        public var validateVcsMessageClass:Class;
 
         public var dispatch:Function;
 
         private function creationCompleteHandler(event:FlexEvent):void {
-            dispatch(new validateToolMessageClass(propertyValue));
-        }
-
-        private function browseButton_clickHandler(event:MouseEvent):void {
-            try {
-                _file = new File(NativeShellHelper.formatPath(toolHomeLocation.text));
-            } catch (err:Error) {
-                _file = new File();
-            }
-
-            _file.addEventListener(Event.SELECT, file_select);
-            _file.browseForDirectory(resourceManager.getString('SettingsWindow', browserDirectoryResourceString));
-        }
-
-        private function file_select(evt:Event):void {
-            toolHomeLocation.text = _file.nativePath;
-            dispatch(new validateToolMessageClass(toolHomeLocation.text));
-        }
-
-        private function toolHomeLocation_changeHandler(event:TextOperationEvent):void {
-            dispatch(new validateToolMessageClass(toolHomeLocation.text));
-        }
-
-        // Result handlers for the SaveSettingCommand
-        public function get installationPathValidated():Boolean {
-            return _installationPathValidated;
-        }
-
-        [Bindable]
-        public function set installationPathValidated(value:Boolean):void {
-            _installationPathValidated = value;
-            validator.validate();
+            dispatch(new validateVcsMessageClass());
         }
         ]]></fx:Script>
 </s:FormItem>

Modified: incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/domain/ISettingsModel.as
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/domain/ISettingsModel.as?rev=1418196&r1=1418195&r2=1418196&view=diff
==============================================================================
--- incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/domain/ISettingsModel.as (original)
+++ incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/domain/ISettingsModel.as Fri Dec  7 06:25:40 2012
@@ -29,5 +29,9 @@ package org.apache.flex.utilities.develo
         function get antEnabled():Boolean;
 
         function get mavenEnabled():Boolean;
+
+        function get svnEnabled():Boolean;
+
+        function get gitEnabled():Boolean;
     }
 }

Modified: incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/domain/SettingModel.as
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/domain/SettingModel.as?rev=1418196&r1=1418195&r2=1418196&view=diff
==============================================================================
--- incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/domain/SettingModel.as (original)
+++ incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/domain/SettingModel.as Fri Dec  7 06:25:40 2012
@@ -43,6 +43,9 @@ package org.apache.flex.utilities.develo
         private var _antEnabled:Boolean;
         private var _mavenEnabled:Boolean;
 
+        private var _svnEnabled:Boolean;
+        private var _gitEnabled:Boolean;
+
         private var _appBounds:String;
         private var _appDisplayState:String;
 
@@ -118,6 +121,24 @@ package org.apache.flex.utilities.develo
             _mavenEnabled = value;
         }
 
+        public function get svnEnabled():Boolean {
+            return _svnEnabled;
+        }
+
+        [Bindable]
+        public function set svnEnabled(value:Boolean):void {
+            _svnEnabled = value;
+        }
+
+        public function get gitEnabled():Boolean {
+            return _gitEnabled;
+        }
+
+        [Bindable]
+        public function set gitEnabled(value:Boolean):void {
+            _gitEnabled = value;
+        }
+
         public function get appBounds():String {
             return _appBounds;
         }

Copied: incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/ValidateAntPathCommand.as (from r1417962, incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/ValidateAntHomePathCommand.as)
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/ValidateAntPathCommand.as?p2=incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/ValidateAntPathCommand.as&p1=incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/ValidateAntHomePathCommand.as&r1=1417962&r2=1418196&rev=1418196&view=diff
==============================================================================
--- incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/ValidateAntHomePathCommand.as (original)
+++ incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/ValidateAntPathCommand.as Fri Dec  7 06:25:40 2012
@@ -23,23 +23,24 @@ package org.apache.flex.utilities.develo
 
     import org.apache.flex.utilities.developerToolSuite.executor.domain.SettingModel;
 
-    import org.apache.flex.utilities.developerToolSuite.executor.infrastructure.message.ValidateAntHomePathMessage;
+    import org.apache.flex.utilities.developerToolSuite.executor.infrastructure.message.ValidateAntPathMessage;
     import org.apache.flex.utilities.developerToolSuite.executor.infrastructure.util.LogUtil;
 
-    public class ValidateAntHomePathCommand extends AbstractShellCommand{
+    public class ValidateAntPathCommand extends AbstractShellCommand{
 
-        private static var LOG:ILogger = LogUtil.getLogger(ValidateAntHomePathCommand);
+        private static var LOG:ILogger = LogUtil.getLogger(ValidateAntPathCommand);
 
-        private var _msg:ValidateAntHomePathMessage;
+        private var _msg:ValidateAntPathMessage;
 
         [Inject]
         public var settings:SettingModel;
 
         private var _done:Boolean;
 
-        public function execute(msg:ValidateAntHomePathMessage):void {
+        public function execute(msg:ValidateAntPathMessage):void {
             LOG.debug("Executing Command with message: " + ObjectUtil.toString(msg));
             _msg = msg;
+            settings.antEnabled = false;
             executeCommand();
         }
 
@@ -89,7 +90,6 @@ package org.apache.flex.utilities.develo
                 settings.antEnabled = true;
                 result(true);
             } else {
-                settings.antEnabled = false;
                 error(false);
             }
         }

Added: incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/ValidateGitPathCommand.as
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/ValidateGitPathCommand.as?rev=1418196&view=auto
==============================================================================
--- incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/ValidateGitPathCommand.as (added)
+++ incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/ValidateGitPathCommand.as Fri Dec  7 06:25:40 2012
@@ -0,0 +1,81 @@
+/**
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ */
+package org.apache.flex.utilities.developerToolSuite.executor.infrastructure.command {
+    import flash.events.ProgressEvent;
+
+    import mx.logging.ILogger;
+    import mx.utils.ObjectUtil;
+
+    import org.apache.flex.utilities.developerToolSuite.executor.domain.SettingModel;
+    import org.apache.flex.utilities.developerToolSuite.executor.infrastructure.message.ValidateGitPathMessage;
+    import org.apache.flex.utilities.developerToolSuite.executor.infrastructure.util.LogUtil;
+
+    public class ValidateGitPathCommand extends AbstractShellCommand {
+
+        private static var LOG:ILogger = LogUtil.getLogger(ValidateAntPathCommand);
+
+        [Inject]
+        public var settings:SettingModel;
+
+        private var _done:Boolean;
+
+        public function execute(msg:ValidateGitPathMessage):void {
+            LOG.debug("Executing Command with message: " + ObjectUtil.toString(msg));
+            settings.gitEnabled = false;
+            executeCommand();
+        }
+
+        override protected function executeCommand():void {
+            LOG.debug("Executing Command");
+
+            if (shell.OS == "win") {
+                command.push("/C");
+            }
+
+            command.push("git");
+            command.push("--version");
+
+            super.executeCommand();
+        }
+
+        protected function readOutputs(output:String):void {
+            if (_done) {
+                return;
+            }
+
+            _done = true;
+            if (output.indexOf("git version") > -1) {
+                settings.gitEnabled = true;
+                result(true);
+            } else {
+                error(false);
+            }
+
+            return;
+        }
+
+        override protected function outputDataHandler(event:ProgressEvent):void {
+            super.outputDataHandler(event);
+            readOutputs(standardOutput);
+        }
+
+        override protected function errorDataHandler(event:ProgressEvent):void {
+            super.errorDataHandler(event);
+            readOutputs(standardError);
+        }
+    }
+}

Copied: incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/ValidateJavaPathCommand.as (from r1417962, incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/ValidateJavaHomePathCommand.as)
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/ValidateJavaPathCommand.as?p2=incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/ValidateJavaPathCommand.as&p1=incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/ValidateJavaHomePathCommand.as&r1=1417962&r2=1418196&rev=1418196&view=diff
==============================================================================
--- incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/ValidateJavaHomePathCommand.as (original)
+++ incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/ValidateJavaPathCommand.as Fri Dec  7 06:25:40 2012
@@ -23,23 +23,24 @@ package org.apache.flex.utilities.develo
 
     import org.apache.flex.utilities.developerToolSuite.executor.domain.SettingModel;
 
-    import org.apache.flex.utilities.developerToolSuite.executor.infrastructure.message.ValidateJavaHomePathMessage;
+    import org.apache.flex.utilities.developerToolSuite.executor.infrastructure.message.ValidateJavaPathMessage;
     import org.apache.flex.utilities.developerToolSuite.executor.infrastructure.util.LogUtil;
 
-    public class ValidateJavaHomePathCommand extends AbstractShellCommand {
+    public class ValidateJavaPathCommand extends AbstractShellCommand {
 
-        private static var LOG:ILogger = LogUtil.getLogger(ValidateAntHomePathCommand);
+        private static var LOG:ILogger = LogUtil.getLogger(ValidateAntPathCommand);
 
-        private var _msg:ValidateJavaHomePathMessage;
+        private var _msg:ValidateJavaPathMessage;
 
         [Inject]
         public var settings:SettingModel;
 
         private var _done:Boolean;
 
-        public function execute(msg:ValidateJavaHomePathMessage):void {
+        public function execute(msg:ValidateJavaPathMessage):void {
             LOG.debug("Executing Command with message: " + ObjectUtil.toString(msg));
             _msg = msg;
+            settings.javaEnabled = false;
             executeCommand();
         }
 
@@ -89,7 +90,6 @@ package org.apache.flex.utilities.develo
                 settings.javaEnabled = true;
                 result(true);
             } else {
-                settings.javaEnabled = false;
                 error(false);
             }
         }

Copied: incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/ValidateMavenPathCommand.as (from r1417962, incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/ValidateMavenHomePathCommand.as)
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/ValidateMavenPathCommand.as?p2=incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/ValidateMavenPathCommand.as&p1=incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/ValidateMavenHomePathCommand.as&r1=1417962&r2=1418196&rev=1418196&view=diff
==============================================================================
--- incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/ValidateMavenHomePathCommand.as (original)
+++ incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/ValidateMavenPathCommand.as Fri Dec  7 06:25:40 2012
@@ -22,23 +22,24 @@ package org.apache.flex.utilities.develo
     import mx.utils.ObjectUtil;
 
     import org.apache.flex.utilities.developerToolSuite.executor.domain.SettingModel;
-    import org.apache.flex.utilities.developerToolSuite.executor.infrastructure.message.ValidateMavenHomePathMessage;
+    import org.apache.flex.utilities.developerToolSuite.executor.infrastructure.message.ValidateMavenPathMessage;
     import org.apache.flex.utilities.developerToolSuite.executor.infrastructure.util.LogUtil;
 
-    public class ValidateMavenHomePathCommand extends AbstractShellCommand {
+    public class ValidateMavenPathCommand extends AbstractShellCommand {
 
-        private static var LOG:ILogger = LogUtil.getLogger(ValidateMavenHomePathCommand);
+        private static var LOG:ILogger = LogUtil.getLogger(ValidateMavenPathCommand);
 
-        private var _msg:ValidateMavenHomePathMessage;
+        private var _msg:ValidateMavenPathMessage;
 
         [Inject]
         public var settings:SettingModel;
 
         private var _done:Boolean;
 
-        public function execute(msg:ValidateMavenHomePathMessage):void {
+        public function execute(msg:ValidateMavenPathMessage):void {
             LOG.debug("Executing Command with message: " + ObjectUtil.toString(msg));
             _msg = msg;
+            settings.mavenEnabled = false;
             executeCommand();
         }
 
@@ -92,7 +93,6 @@ package org.apache.flex.utilities.develo
                 settings.mavenEnabled = true;
                 result(true);
             } else {
-                settings.mavenEnabled = false;
                 error(false);
             }
         }

Copied: incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/ValidateSvnPathCommand.as (from r1417962, incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/ValidateJavaHomePathCommand.as)
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/ValidateSvnPathCommand.as?p2=incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/ValidateSvnPathCommand.as&p1=incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/ValidateJavaHomePathCommand.as&r1=1417962&r2=1418196&rev=1418196&view=diff
==============================================================================
--- incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/ValidateJavaHomePathCommand.as (original)
+++ incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/ValidateSvnPathCommand.as Fri Dec  7 06:25:40 2012
@@ -16,92 +16,66 @@
  */
 package org.apache.flex.utilities.developerToolSuite.executor.infrastructure.command {
     import flash.events.ProgressEvent;
-    import flash.filesystem.File;
 
     import mx.logging.ILogger;
     import mx.utils.ObjectUtil;
 
     import org.apache.flex.utilities.developerToolSuite.executor.domain.SettingModel;
-
-    import org.apache.flex.utilities.developerToolSuite.executor.infrastructure.message.ValidateJavaHomePathMessage;
+    import org.apache.flex.utilities.developerToolSuite.executor.infrastructure.message.ValidateSvnPathMessage;
     import org.apache.flex.utilities.developerToolSuite.executor.infrastructure.util.LogUtil;
 
-    public class ValidateJavaHomePathCommand extends AbstractShellCommand {
-
-        private static var LOG:ILogger = LogUtil.getLogger(ValidateAntHomePathCommand);
+    public class ValidateSvnPathCommand extends AbstractShellCommand {
 
-        private var _msg:ValidateJavaHomePathMessage;
+        private static var LOG:ILogger = LogUtil.getLogger(ValidateAntPathCommand);
 
         [Inject]
         public var settings:SettingModel;
 
         private var _done:Boolean;
 
-        public function execute(msg:ValidateJavaHomePathMessage):void {
+        public function execute(msg:ValidateSvnPathMessage):void {
             LOG.debug("Executing Command with message: " + ObjectUtil.toString(msg));
-            _msg = msg;
+            settings.svnEnabled = false;
             executeCommand();
         }
 
         override protected function executeCommand():void {
-            LOG.debug("Executing Command with message: " + ObjectUtil.toString(_msg));
-
-            var file:File;
-
-            if (!_msg.path) {
-                LOG.error("Path null, nothing to check, quit");
-                error(false);
-                return;
-            }
-
-            try {
-                file = new File(shell.formatPath(_msg.path));
-                if (!file.resolvePath("lib/tools.jar").exists) {
-                    LOG.error("Error resolving JAVA_HOME");
-                    error(false);
-                    return;
-                }
-            } catch (err:Error) {
-                LOG.error(ObjectUtil.toString(err));
-                error(false);
-                return;
-            }
-            ;
-
-            var java:String = shell.formatPath(file.resolvePath("bin/java.exe").nativePath);
+            LOG.debug("Executing Command");
 
-            if (shell.OS == "win")
+            if (shell.OS == "win") {
                 command.push("/C");
+            }
 
-            command.push(java);
-            command.push("-version");
+            command.push("svn");
+            command.push("help");
 
             super.executeCommand();
         }
 
-        private function extractVersion(output:String):void {
-
-            if (_done)
+        protected function readOutputs(output:String):void {
+            if (_done) {
                 return;
+            }
 
             _done = true;
-            if (output.indexOf("1.6.") > -1) {
-                settings.javaEnabled = true;
+            if (output.indexOf("Subversion command-line client") > -1) {
+                settings.svnEnabled = true;
                 result(true);
             } else {
-                settings.javaEnabled = false;
                 error(false);
             }
+
+            return;
         }
 
         override protected function outputDataHandler(event:ProgressEvent):void {
             super.outputDataHandler(event);
-            extractVersion(standardOutput);
+            readOutputs(standardOutput);
         }
 
         override protected function errorDataHandler(event:ProgressEvent):void {
             super.errorDataHandler(event);
-            extractVersion(standardError);
+            readOutputs(standardError);
         }
     }
 }

Modified: incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/config/ExecutorContext.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/config/ExecutorContext.mxml?rev=1418196&r1=1418195&r2=1418196&view=diff
==============================================================================
--- incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/config/ExecutorContext.mxml (original)
+++ incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/config/ExecutorContext.mxml Fri Dec  7 06:25:40 2012
@@ -36,9 +36,11 @@ limitations under the License.
         <parsley:MapCommand type="{ChangeLanguageCommand}"/>
         <parsley:MapCommand type="{SaveSettingsCommand}"/>
         <parsley:MapCommand type="{SaveSettingCommand}"/>
-        <parsley:MapCommand type="{ValidateJavaHomePathCommand}"/>
-        <parsley:MapCommand type="{ValidateAntHomePathCommand}"/>
-        <parsley:MapCommand type="{ValidateMavenHomePathCommand}"/>
+        <parsley:MapCommand type="{ValidateJavaPathCommand}"/>
+        <parsley:MapCommand type="{ValidateAntPathCommand}"/>
+        <parsley:MapCommand type="{ValidateMavenPathCommand}"/>
+        <parsley:MapCommand type="{ValidateSvnPathCommand}"/>
+        <parsley:MapCommand type="{ValidateGitPathCommand}"/>
 
         <domain:SettingModel/>
     </fx:Declarations>
@@ -46,14 +48,15 @@ limitations under the License.
     <fx:Script><![CDATA[
         import org.apache.flex.utilities.developerToolSuite.executor.infrastructure.command.ChangeLanguageCommand;
         import org.apache.flex.utilities.developerToolSuite.executor.infrastructure.command.GetEnvironmentVariablesCommand;
-        import org.apache.flex.utilities.developerToolSuite.executor.infrastructure.command.GetEnvironmentVariablesCommand;
         import org.apache.flex.utilities.developerToolSuite.executor.infrastructure.command.GetSettingsCommand;
         import org.apache.flex.utilities.developerToolSuite.executor.infrastructure.command.InitDBCommand;
         import org.apache.flex.utilities.developerToolSuite.executor.infrastructure.command.SaveSettingCommand;
         import org.apache.flex.utilities.developerToolSuite.executor.infrastructure.command.SaveSettingsCommand;
-        import org.apache.flex.utilities.developerToolSuite.executor.infrastructure.command.ValidateAntHomePathCommand;
-        import org.apache.flex.utilities.developerToolSuite.executor.infrastructure.command.ValidateJavaHomePathCommand;
-        import org.apache.flex.utilities.developerToolSuite.executor.infrastructure.command.ValidateMavenHomePathCommand;
+        import org.apache.flex.utilities.developerToolSuite.executor.infrastructure.command.ValidateAntPathCommand;
+        import org.apache.flex.utilities.developerToolSuite.executor.infrastructure.command.ValidateGitPathCommand;
+        import org.apache.flex.utilities.developerToolSuite.executor.infrastructure.command.ValidateJavaPathCommand;
+        import org.apache.flex.utilities.developerToolSuite.executor.infrastructure.command.ValidateMavenPathCommand;
+        import org.apache.flex.utilities.developerToolSuite.executor.infrastructure.command.ValidateSvnPathCommand;
         import org.apache.flex.utilities.developerToolSuite.executor.infrastructure.message.InitApplicationMessage;
         ]]></fx:Script>
 </fx:Object>

Copied: incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/message/ValidateAntPathMessage.as (from r1417958, incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/message/ValidateAntHomePathMessage.as)
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/message/ValidateAntPathMessage.as?p2=incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/message/ValidateAntPathMessage.as&p1=incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/message/ValidateAntHomePathMessage.as&r1=1417958&r2=1418196&rev=1418196&view=diff
==============================================================================
--- incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/message/ValidateAntHomePathMessage.as (original)
+++ incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/message/ValidateAntPathMessage.as Fri Dec  7 06:25:40 2012
@@ -17,11 +17,11 @@
 package org.apache.flex.utilities.developerToolSuite.executor.infrastructure.message {
     import mx.rpc.Responder;
 
-    public class ValidateAntHomePathMessage {
+    public class ValidateAntPathMessage {
 
         private var _path:String;
 
-        public function ValidateAntHomePathMessage(path:String) {
+        public function ValidateAntPathMessage(path:String) {
             _path = path;
         }
 

Added: incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/message/ValidateGitPathMessage.as
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/message/ValidateGitPathMessage.as?rev=1418196&view=auto
==============================================================================
--- incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/message/ValidateGitPathMessage.as (added)
+++ incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/message/ValidateGitPathMessage.as Fri Dec  7 06:25:40 2012
@@ -0,0 +1,20 @@
+/**
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ */
+package org.apache.flex.utilities.developerToolSuite.executor.infrastructure.message {
+    public class ValidateGitPathMessage {
+    }
+}

Copied: incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/message/ValidateJavaPathMessage.as (from r1417958, incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/message/ValidateJavaHomePathMessage.as)
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/message/ValidateJavaPathMessage.as?p2=incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/message/ValidateJavaPathMessage.as&p1=incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/message/ValidateJavaHomePathMessage.as&r1=1417958&r2=1418196&rev=1418196&view=diff
==============================================================================
--- incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/message/ValidateJavaHomePathMessage.as (original)
+++ incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/message/ValidateJavaPathMessage.as Fri Dec  7 06:25:40 2012
@@ -17,11 +17,11 @@
 package org.apache.flex.utilities.developerToolSuite.executor.infrastructure.message {
     import mx.rpc.Responder;
 
-    public class ValidateJavaHomePathMessage {
+    public class ValidateJavaPathMessage {
 
         private var _path:String;
 
-        public function ValidateJavaHomePathMessage(path:String) {
+        public function ValidateJavaPathMessage(path:String) {
             _path = path;
         }
 

Copied: incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/message/ValidateMavenPathMessage.as (from r1417958, incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/message/ValidateMavenHomePathMessage.as)
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/message/ValidateMavenPathMessage.as?p2=incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/message/ValidateMavenPathMessage.as&p1=incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/message/ValidateMavenHomePathMessage.as&r1=1417958&r2=1418196&rev=1418196&view=diff
==============================================================================
--- incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/message/ValidateMavenHomePathMessage.as (original)
+++ incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/message/ValidateMavenPathMessage.as Fri Dec  7 06:25:40 2012
@@ -17,11 +17,11 @@
 package org.apache.flex.utilities.developerToolSuite.executor.infrastructure.message {
     import mx.rpc.Responder;
 
-    public class ValidateMavenHomePathMessage {
+    public class ValidateMavenPathMessage {
 
         private var _path:String;
 
-        public function ValidateMavenHomePathMessage(path:String) {
+        public function ValidateMavenPathMessage(path:String) {
             _path = path;
         }
 

Copied: incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/message/ValidateSvnPathMessage.as (from r1417958, incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/message/ValidateJavaHomePathMessage.as)
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/message/ValidateSvnPathMessage.as?p2=incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/message/ValidateSvnPathMessage.as&p1=incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/message/ValidateJavaHomePathMessage.as&r1=1417958&r2=1418196&rev=1418196&view=diff
==============================================================================
--- incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/message/ValidateJavaHomePathMessage.as (original)
+++ incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/message/ValidateSvnPathMessage.as Fri Dec  7 06:25:40 2012
@@ -15,18 +15,6 @@
  limitations under the License.
  */
 package org.apache.flex.utilities.developerToolSuite.executor.infrastructure.message {
-    import mx.rpc.Responder;
-
-    public class ValidateJavaHomePathMessage {
-
-        private var _path:String;
-
-        public function ValidateJavaHomePathMessage(path:String) {
-            _path = path;
-        }
-
-        public function get path():String {
-            return _path;
-        }
+    public class ValidateSvnPathMessage {
     }
 }

Modified: incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/test/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/nativeProcess/CommandLineProcessTest.as
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/test/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/nativeProcess/CommandLineProcessTest.as?rev=1418196&r1=1418195&r2=1418196&view=diff
==============================================================================
--- incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/test/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/nativeProcess/CommandLineProcessTest.as (original)
+++ incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/test/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/nativeProcess/CommandLineProcessTest.as Fri Dec  7 06:25:40 2012
@@ -27,13 +27,13 @@ package org.apache.flex.utilities.develo
             args.push("/K");
             args.push("set");
 
-            command.run(shell, args);
+            command.run(args, shell);
         }
 
         private function outputDataLogHandler(event:ProgressEvent, passThroughData:Object):void {
             var command:NativeShellHelper = event.currentTarget as NativeShellHelper;
             var result:String = command.process.standardOutput.readUTFBytes(command.process.standardOutput.bytesAvailable);
-            trace("res: ", command.process.standardOutput.readUTFBytes(command.process.standardOutput.bytesAvailable));
+            trace("res: ", result);
             assertNotNull(result);
         }
 

Modified: incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.host-swf/pom.xml
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.host-swf/pom.xml?rev=1418196&r1=1418195&r2=1418196&view=diff
==============================================================================
--- incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.host-swf/pom.xml (original)
+++ incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.host-swf/pom.xml Fri Dec  7 06:25:40 2012
@@ -86,41 +86,5 @@ limitations under the License.
             </configuration>
         </plugin>
         </plugins>
-    	<pluginManagement>
-    		<plugins>
-    			<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
-    			<plugin>
-    				<groupId>org.eclipse.m2e</groupId>
-    				<artifactId>lifecycle-mapping</artifactId>
-    				<version>1.0.0</version>
-    				<configuration>
-    					<lifecycleMappingMetadata>
-    						<pluginExecutions>
-    							<pluginExecution>
-    								<pluginExecutionFilter>
-    									<groupId>
-    										net.flexmojos.oss
-    									</groupId>
-    									<artifactId>
-    										flexmojos-maven-plugin
-    									</artifactId>
-    									<versionRange>
-    										[6.0-SNAPSHOT,)
-    									</versionRange>
-    									<goals>
-    										<goal>test-compile</goal>
-    										<goal>compile-swf</goal>
-    									</goals>
-    								</pluginExecutionFilter>
-    								<action>
-    									<ignore></ignore>
-    								</action>
-    							</pluginExecution>
-    						</pluginExecutions>
-    					</lifecycleMappingMetadata>
-    				</configuration>
-    			</plugin>
-    		</plugins>
-    	</pluginManagement>
     </build>
 </project>

Modified: incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.host-swf/src/main/flex/org/apache/flex/utilities/developerToolSuite/MainApplication.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.host-swf/src/main/flex/org/apache/flex/utilities/developerToolSuite/MainApplication.mxml?rev=1418196&r1=1418195&r2=1418196&view=diff
==============================================================================
--- incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.host-swf/src/main/flex/org/apache/flex/utilities/developerToolSuite/MainApplication.mxml (original)
+++ incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.host-swf/src/main/flex/org/apache/flex/utilities/developerToolSuite/MainApplication.mxml Fri Dec  7 06:25:40 2012
@@ -20,7 +20,7 @@ limitations under the License.
                        xmlns:mx="library://ns.adobe.com/flex/mx"
                        xmlns:parsley="http://www.spicefactory.org/parsley"
                        title="Apache Flex Developer Tool Suite"
-                       width="800" height="600"
+                       width="800" height="550"
                        closing="closingHandler(event)">
 
     <fx:Declarations>
@@ -97,7 +97,7 @@ limitations under the License.
                     }
                 }
             } else {
-                nativeWindow.bounds = new Rectangle(120, 120, 1150, 720);
+                nativeWindow.bounds = new Rectangle(120, 120, 1200, 825);
             }
 
             LogUtil.getLogger(this).info('Application ready');

Modified: incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.locale/pom.xml
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.locale/pom.xml?rev=1418196&r1=1418195&r2=1418196&view=diff
==============================================================================
--- incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.locale/pom.xml (original)
+++ incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.locale/pom.xml Fri Dec  7 06:25:40 2012
@@ -43,41 +43,5 @@ limitations under the License.
                 </configuration>
             </plugin>
         </plugins>
-    	<pluginManagement>
-    		<plugins>
-    			<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
-    			<plugin>
-    				<groupId>org.eclipse.m2e</groupId>
-    				<artifactId>lifecycle-mapping</artifactId>
-    				<version>1.0.0</version>
-    				<configuration>
-    					<lifecycleMappingMetadata>
-    						<pluginExecutions>
-    							<pluginExecution>
-    								<pluginExecutionFilter>
-    									<groupId>
-    										net.flexmojos.oss
-    									</groupId>
-    									<artifactId>
-    										flexmojos-maven-plugin
-    									</artifactId>
-    									<versionRange>
-    										[6.0-SNAPSHOT,)
-    									</versionRange>
-    									<goals>
-    										<goal>compile-swc</goal>
-    										<goal>test-compile</goal>
-    									</goals>
-    								</pluginExecutionFilter>
-    								<action>
-    									<ignore></ignore>
-    								</action>
-    							</pluginExecution>
-    						</pluginExecutions>
-    					</lifecycleMappingMetadata>
-    				</configuration>
-    			</plugin>
-    		</plugins>
-    	</pluginManagement>
     </build>
 </project>

Modified: incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.locale/src/main/resources/locale/en_US/SettingsWindow.properties
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.locale/src/main/resources/locale/en_US/SettingsWindow.properties?rev=1418196&r1=1418195&r2=1418196&view=diff
==============================================================================
--- incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.locale/src/main/resources/locale/en_US/SettingsWindow.properties (original)
+++ incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.locale/src/main/resources/locale/en_US/SettingsWindow.properties Fri Dec  7 06:25:40 2012
@@ -14,3 +14,5 @@ BROWSE_MAVEN_HOME=Browse to the Maven 3.
 INDICATE_MAVEN_HOME=Indicate the Maven 3.x home directory.
 PLEASE_INDICATE_MAVEN_HOME=Please, indicate the Maven 3.x home directory...
 MAVEN_HOME_ERROR_STRING=You must enter a valid home path for Maven 3.x
+VCS=Version Control System
+SHOULD_BE_IN_PATH=Should be in your path