Author: fthomas
Date: Wed Dec 5 17:03:53 2012
New Revision: 1417526
URL: http://svn.apache.org/viewvc?rev=1417526&view=rev
Log:
- refactored Settings for java, ant and maven
- added more logs
Added:
incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/behavior/validator/
incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/behavior/validator/ToolPathValidator.as
- copied, changed from r1417305,
incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/behavior/ToolPathValidator.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/
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
- copied, changed from r1417305,
incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/JavaHomeSettingFormItem.mxml
Removed:
incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/behavior/ToolPathValidator.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/AntHomeSettingFormItem.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/JavaHomeSettingFormItem.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/MavenHomeSettingFormItem.mxml
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.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/AbstractDBCommand.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/ChangeLanguageCommand.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/SaveSettingCommand.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/SaveSettingsCommand.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/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.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
Copied:
incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/behavior/validator/ToolPathValidator.as
(from r1417305,
incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/behavior/ToolPathValidator.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/behavior/validator/ToolPathValidator.as?p2=incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/behavior/validator/ToolPathValidator.as&p1=incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/behavior/ToolPathValidator.as&r1=1417305&r2=1417526&rev=1417526&view=diff
==============================================================================
---
incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/behavior/ToolPathValidator.as
(original)
+++
incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/behavior/validator/ToolPathValidator.as
Wed Dec 5 17:03:53 2012
@@ -14,11 +14,15 @@
See the License for the specific language governing permissions and
limitations under the License.
*/
-package org.apache.flex.utilities.developerToolSuite.presentation.behavior {
+package
org.apache.flex.utilities.developerToolSuite.presentation.behavior.validator {
import mx.validators.ValidationResult;
import mx.validators.Validator;
public class ToolPathValidator extends Validator{
+
+ [Bindable]
+ public var errorStringResourceString:String;
+
public function ToolPathValidator() {
super();
}
@@ -36,7 +40,7 @@ package org.apache.flex.utilities.develo
if (Boolean(value) == false) {
ValidatorResults.push(new ValidationResult(true, null, "Tool
Home Path Error",
-
resourceManager.getString('SettingsWindow', 'TOOL_PATH_ERROR_STRING')));
+
resourceManager.getString('SettingsWindow', errorStringResourceString)));
return ValidatorResults;
}
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=1417526&r1=1417525&r2=1417526&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
Wed Dec 5 17:03:53 2012
@@ -20,7 +20,7 @@ limitations under the License.
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:parsley="http://www.spicefactory.org/parsley"
xmlns:component="org.apache.flex.utilities.developerToolSuite.presentation.graphic.component.*"
-
xmlns:settings="org.apache.flex.utilities.developerToolSuite.presentation.graphic.settings.*"
+
xmlns:formitem="org.apache.flex.utilities.developerToolSuite.presentation.graphic.settings.formItem.*"
width="100%" height="100%"
paddingTop="30" paddingLeft="30" paddingRight="30">
@@ -50,9 +50,9 @@ limitations under the License.
<s:layout>
<s:FormLayout gap="-14"/>
</s:layout>
- <settings:JavaHomeSettingFormItem/>
- <settings:AntHomeSettingFormItem/>
- <settings:MavenHomeSettingFormItem/>
+ <formitem:JavaHomeFormItem id="javaHomeFormItem"/>
+ <formitem:AntHomeFormItem id="antHomeFormItem"/>
+ <formitem:MavenHomeFormItem id="mavenHomeFormItem"/>
</s:Form>
</component:Frame>
</mx:GridItem>
@@ -78,6 +78,15 @@ limitations under the License.
public function init():void {
languageComboBox.dataProvider = model.availableLanguages;
languageComboBox.selectedItem = model.currentLanguage;
+
+ javaHomeFormItem.dispatch = dispatch;
+ javaHomeFormItem.propertyValue = model.javaHomePath;
+
+ antHomeFormItem.dispatch = dispatch;
+ antHomeFormItem.propertyValue = model.antHomePath;
+
+ mavenHomeFormItem.dispatch = dispatch;
+ mavenHomeFormItem.propertyValue = model.mavenHomePath;
}
private function
localeComboBox_changeHandler(event:IndexChangeEvent):void {
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/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=1417526&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/AntHomeFormItem.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/AntHomeFormItem.mxml
Wed Dec 5 17:03:53 2012
@@ -0,0 +1,32 @@
+<?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:ToolHomeFormItem 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="ANT_HOME"
+ toolTipLabelResourceString="BROWSE_ANT_HOME"
+ helpLabelResourcesString="INDICATE_ANT_HOME"
helpUrlText="(ANT Home Page)"
+ helpUrl="http://ant.apache.org/"
+
browserDirectoryResourceString="PLEASE_INDICATE_ANT_HOME"
+
validateToolMessageClass="{ValidateAntHomePathMessage}"
+
errorStringTextResourceString="ANT_HOME_ERROR_STRING">
+ <fx:Script><![CDATA[
+ import
org.apache.flex.utilities.developerToolSuite.executor.infrastructure.message.ValidateAntHomePathMessage;
+ ]]></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/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=1417526&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/JavaHomeFormItem.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/JavaHomeFormItem.mxml
Wed Dec 5 17:03:53 2012
@@ -0,0 +1,32 @@
+<?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:ToolHomeFormItem 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">
+ <fx:Script><![CDATA[
+ import
org.apache.flex.utilities.developerToolSuite.executor.infrastructure.message.ValidateJavaHomePathMessage;
+ ]]></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/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=1417526&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/MavenHomeFormItem.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/MavenHomeFormItem.mxml
Wed Dec 5 17:03:53 2012
@@ -0,0 +1,32 @@
+<?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:ToolHomeFormItem 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="MAVEN_HOME"
+ toolTipLabelResourceString="BROWSE_MAVEN_HOME"
+ helpLabelResourcesString="INDICATE_MAVEN_HOME"
helpUrlText="(Maven 3.x Home Page)"
+ helpUrl="http://maventest.apache.org/download.html"
+
browserDirectoryResourceString="PLEASE_INDICATE_MAVEN_HOME"
+
validateToolMessageClass="{ValidateMavenHomePathMessage}"
+
errorStringTextResourceString="MAVEN_HOME_ERROR_STRING">
+ <fx:Script><![CDATA[
+ import
org.apache.flex.utilities.developerToolSuite.executor.infrastructure.message.ValidateMavenHomePathMessage;
+ ]]></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/ToolHomeFormItem.mxml
(from r1417305,
incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/JavaHomeSettingFormItem.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?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/ToolHomeFormItem.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/JavaHomeSettingFormItem.mxml&r1=1417305&r2=1417526&rev=1417526&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/JavaHomeSettingFormItem.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
Wed Dec 5 17:03:53 2012
@@ -19,8 +19,9 @@ 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:behavior="org.apache.flex.utilities.developerToolSuite.presentation.behavior.*"
- label="JAVA_HOME"
+
xmlns:validator="org.apache.flex.utilities.developerToolSuite.presentation.behavior.validator.*"
+ creationComplete="creationCompleteHandler(event)"
+ label="{propertyName}"
required="true"
styleName="stackedFormItem">
@@ -29,50 +30,65 @@ limitations under the License.
<parsley:Configure/>
- <behavior:ToolPathValidator id="validator" required="true"
source="{this}" property="javaHomePathValidated"
- trigger="{toolHomeLocation}"
- listener="{toolHomeLocation}"/>
+ <validator:ToolPathValidator id="validator" required="true"
+ source="{this}"
property="toolHomePathValidated"
+
errorStringResourceString="{errorStringTextResourceString}"
+ trigger="{toolHomeLocation}"
+ listener="{toolHomeLocation}"/>
</fx:Declarations>
<s:HGroup gap="0">
- <s:TextInput id="toolHomeLocation" width="240"
change="toolHomeLocation_changeHandler(event)"/>
+ <s:TextInput id="toolHomeLocation"
+ width="240"
+ change="toolHomeLocation_changeHandler(event)"/>
<mx:Button id="browseButton" label="..." width="28"
- toolTip="{resourceManager.getString('SettingsWindow',
'BROWSE_JAVA_HOME')}"
+ toolTip="{resourceManager.getString('SettingsWindow',
browserDirectoryResourceString)}"
click="browseButton_clickHandler(event)"/>
</s:HGroup>
<s:helpContent>
<s:VGroup>
- <s:Label text="{resourceManager.getString('SettingsWindow',
'INDICATE_JAVA_HOME')}"/>
- <mx:LinkButton label="(JDK 1.6 Home Page)"
- click="navigateToURL(new
URLRequest('http://www.oracle.com/technetwork/java/javaee/downloads/java-ee-sdk-6u3-jdk-6u29-downloads-523388.html'));"/>
+ <s:Label text="{resourceManager.getString('SettingsWindow',
helpLabelResourcesString)}"/>
+ <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.message.ValidateJavaHomePathMessage;
- import
org.apache.flex.utilities.developerToolSuite.presentation.behavior.settingsPanel.IGeneralSettingsPM;
import spark.events.TextOperationEvent;
private var _file:File;
-
- private var _javaHomePathValidated:Boolean;
-
+ private var _toolHomePathValidated:Boolean;
private var _responder:mx.rpc.Responder;
- [MessageDispatcher]
- public var dispatch:Function;
+ [Bindable]
+ public var propertyName:String;
+ [Bindable]
+ public var propertyValue:String;
+ [Bindable]
+ public var toolTipLabelResourceString:String;
+ [Bindable]
+ public var helpLabelResourcesString:String;
+ [Bindable]
+ public var helpUrlText:String
+ [Bindable]
+ public var helpUrl:String;
+ [Bindable]
+ public var browserDirectoryResourceString:String;
+ [Bindable]
+ public var validateToolMessageClass:Class;
+ [Bindable]
+ public var errorStringTextResourceString:String;
- [Inject]
- public var model:IGeneralSettingsPM;
+ public var dispatch:Function;
- [Init]
- public function init():void {
- _responder = new mx.rpc.Responder(javaHomePathResult,
javaHomePathValidatedError)
- toolHomeLocation.text = model.javaHomePath;
- dispatch(new ValidateJavaHomePathMessage(toolHomeLocation.text,
_responder));
+ private function creationCompleteHandler(event:FlexEvent):void {
+ _responder = new mx.rpc.Responder(toolHomePathResult,
toolHomePathValidatedError);
+ toolHomeLocation.text = propertyValue;
+ dispatch(new validateToolMessageClass(toolHomeLocation.text,
_responder));
}
private function browseButton_clickHandler(event:MouseEvent):void {
@@ -83,36 +99,36 @@ limitations under the License.
}
_file.addEventListener(Event.SELECT, file_select);
-
_file.browseForDirectory(resourceManager.getString('SettingsWindow',
'PLEASE_INDICATE_JAVA_HOME'));
+
_file.browseForDirectory(resourceManager.getString('SettingsWindow',
browserDirectoryResourceString));
}
private function file_select(evt:Event):void {
toolHomeLocation.text = _file.nativePath;
- dispatch(new ValidateJavaHomePathMessage(toolHomeLocation.text,
_responder));
+ dispatch(new validateToolMessageClass(toolHomeLocation.text,
_responder));
}
private function
toolHomeLocation_changeHandler(event:TextOperationEvent):void {
- dispatch(new ValidateJavaHomePathMessage(toolHomeLocation.text,
_responder));
+ dispatch(new validateToolMessageClass(toolHomeLocation.text,
_responder));
}
- private function javaHomePathResult(result:Boolean):void {
- javaHomePathValidated = true;
+ private function toolHomePathResult(result:Boolean):void {
+ toolHomePathValidated = true;
- if (javaHomePathValidated) {
- dispatch(new SaveSettingMessage("JAVA_HOME",
toolHomeLocation.text));
+ if (toolHomePathValidated) {
+ dispatch(new SaveSettingMessage(propertyName,
toolHomeLocation.text));
}
}
- private function javaHomePathValidatedError(result:Boolean):void {
- javaHomePathValidated = false;
+ private function toolHomePathValidatedError(result:Boolean):void {
+ toolHomePathValidated = false;
}
- public function get javaHomePathValidated():Boolean {
- return _javaHomePathValidated;
+ public function get toolHomePathValidated():Boolean {
+ return _toolHomePathValidated;
}
- public function set javaHomePathValidated(value:Boolean):void {
- _javaHomePathValidated = value;
+ public function set toolHomePathValidated(value:Boolean):void {
+ _toolHomePathValidated = value;
validator.validate();
}
]]></fx:Script>
Modified:
incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/AbstractDBCommand.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/AbstractDBCommand.as?rev=1417526&r1=1417525&r2=1417526&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/AbstractDBCommand.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/AbstractDBCommand.as
Wed Dec 5 17:03:53 2012
@@ -45,7 +45,6 @@ package org.apache.flex.utilities.develo
protected var stmt:SQLStatement = new SQLStatement();
protected function executeAsync():void {
- log.debug("Executing Command")
if (!db.DBReady)
db.connect();
@@ -64,13 +63,14 @@ package org.apache.flex.utilities.develo
}
protected function result(result:SQLResult):void {
- log.debug("Ending Command with result: " +
ObjectUtil.toString(result.data));
- callback(result.complete);
+ var resultMessage:String = (result.data != null) ?
ObjectUtil.toString(result.data) : result.rowsAffected + " affected row(s)";
+ log.debug("Successfully executed command: " + resultMessage);
+ callback(resultMessage);
}
protected function error(error:SQLError):void {
- log.error("Ending Command with error: " +
ObjectUtil.toString(error));
- callback(error.details);
+ log.error("Error executing command: " +
ObjectUtil.toString(error));
+ callback(error);
}
}
}
Modified:
incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/ChangeLanguageCommand.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/ChangeLanguageCommand.as?rev=1417526&r1=1417525&r2=1417526&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/ChangeLanguageCommand.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/ChangeLanguageCommand.as
Wed Dec 5 17:03:53 2012
@@ -16,6 +16,7 @@
*/
package
org.apache.flex.utilities.developerToolSuite.executor.infrastructure.command {
import mx.resources.ResourceManager;
+ import mx.utils.ObjectUtil;
import org.apache.flex.utilities.developerToolSuite.LocaleUtil;
import
org.apache.flex.utilities.developerToolSuite.executor.domain.SettingModel;
@@ -29,6 +30,7 @@ package org.apache.flex.utilities.develo
public var settings:SettingModel;
public function execute(msg:ChangeLanguageMessage):void {
+ log.debug("Executing Command with message: " +
ObjectUtil.toString(msg));
this._msg = msg;
executeAsync();
}
Modified:
incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/SaveSettingCommand.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/SaveSettingCommand.as?rev=1417526&r1=1417525&r2=1417526&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/SaveSettingCommand.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/SaveSettingCommand.as
Wed Dec 5 17:03:53 2012
@@ -16,6 +16,7 @@
*/
package
org.apache.flex.utilities.developerToolSuite.executor.infrastructure.command {
import mx.resources.ResourceManager;
+ import mx.utils.ObjectUtil;
import org.apache.flex.utilities.developerToolSuite.LocaleUtil;
import
org.apache.flex.utilities.developerToolSuite.executor.domain.SettingModel;
@@ -30,6 +31,7 @@ package org.apache.flex.utilities.develo
public var settings:SettingModel;
public function execute(msg:SaveSettingMessage):void {
+ log.debug("Executing Command with message: " +
ObjectUtil.toString(msg));
this._msg = msg;
executeAsync();
}
Modified:
incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/SaveSettingsCommand.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/SaveSettingsCommand.as?rev=1417526&r1=1417525&r2=1417526&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/SaveSettingsCommand.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/SaveSettingsCommand.as
Wed Dec 5 17:03:53 2012
@@ -15,6 +15,8 @@
limitations under the License.
*/
package
org.apache.flex.utilities.developerToolSuite.executor.infrastructure.command {
+ import mx.utils.ObjectUtil;
+
import
org.apache.flex.utilities.developerToolSuite.executor.infrastructure.message.SaveSettingsMessage;
import org.spicefactory.lib.reflect.ClassInfo;
import org.spicefactory.lib.reflect.Property;
@@ -24,6 +26,7 @@ package org.apache.flex.utilities.develo
private var _msg:SaveSettingsMessage;
public function execute(msg:SaveSettingsMessage):void {
+ log.debug("Executing Command with message: " +
ObjectUtil.toString(msg));
this._msg = msg;
executeAsync();
}
Modified:
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/ValidateAntHomePathCommand.as?rev=1417526&r1=1417525&r2=1417526&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/ValidateAntHomePathCommand.as
Wed Dec 5 17:03:53 2012
@@ -17,21 +17,31 @@
package
org.apache.flex.utilities.developerToolSuite.executor.infrastructure.command {
import flash.filesystem.File;
+ import mx.logging.ILogger;
+ import mx.utils.ObjectUtil;
+
import
org.apache.flex.utilities.developerToolSuite.executor.infrastructure.message.ValidateAntHomePathMessage;
+ import
org.apache.flex.utilities.developerToolSuite.executor.infrastructure.util.LogUtil;
public class ValidateAntHomePathCommand {
+ private static var LOG:ILogger =
LogUtil.getLogger(ValidateAntHomePathCommand);
+
public function
ValidateAntHomePathCommand(msg:ValidateAntHomePathMessage) {
+ LOG.debug("Executing Command with message: " +
ObjectUtil.toString(msg));
try {
var file:File = new File(msg.path.replace("\\", "/"));
if (!file.resolvePath("lib/ant.jar").exists) {
+ LOG.error("Error resolving ANT_HOME");
msg.responder.fault(false);
return
}
} catch (err:Error) {
+ LOG.error(ObjectUtil.toString(err));
msg.responder.fault(false);
return
}
+ LOG.debug("Successfully executed command")
msg.responder.result(true);
}
}
Modified:
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/ValidateJavaHomePathCommand.as?rev=1417526&r1=1417525&r2=1417526&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/ValidateJavaHomePathCommand.as
Wed Dec 5 17:03:53 2012
@@ -17,21 +17,31 @@
package
org.apache.flex.utilities.developerToolSuite.executor.infrastructure.command {
import flash.filesystem.File;
+ import mx.logging.ILogger;
+ import mx.utils.ObjectUtil;
+
import
org.apache.flex.utilities.developerToolSuite.executor.infrastructure.message.ValidateJavaHomePathMessage;
+ import
org.apache.flex.utilities.developerToolSuite.executor.infrastructure.util.LogUtil;
public class ValidateJavaHomePathCommand {
+ private static var LOG:ILogger =
LogUtil.getLogger(ValidateAntHomePathCommand);
+
public function
ValidateJavaHomePathCommand(msg:ValidateJavaHomePathMessage) {
+ LOG.debug("Executing Command with message: " +
ObjectUtil.toString(msg));
try {
var file:File = new File(msg.path.replace("\\", "/"));
if (!file.resolvePath("lib/tools.jar").exists) {
+ LOG.error("Error resolving ANT_HOME");
msg.responder.fault(false);
return
}
} catch (err:Error) {
+ LOG.error(ObjectUtil.toString(err));
msg.responder.fault(false);
return
}
+ LOG.info("Successfully executed command")
msg.responder.result(true);
}
}
Modified:
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/ValidateMavenHomePathCommand.as?rev=1417526&r1=1417525&r2=1417526&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/ValidateMavenHomePathCommand.as
Wed Dec 5 17:03:53 2012
@@ -17,21 +17,31 @@
package
org.apache.flex.utilities.developerToolSuite.executor.infrastructure.command {
import flash.filesystem.File;
+ import mx.logging.ILogger;
+ import mx.utils.ObjectUtil;
+
import
org.apache.flex.utilities.developerToolSuite.executor.infrastructure.message.ValidateMavenHomePathMessage;
+ import
org.apache.flex.utilities.developerToolSuite.executor.infrastructure.util.LogUtil;
public class ValidateMavenHomePathCommand {
+ private static var LOG:ILogger =
LogUtil.getLogger(ValidateMavenHomePathCommand);
+
public function
ValidateMavenHomePathCommand(msg:ValidateMavenHomePathMessage) {
+ LOG.debug("Executing Command with message: " +
ObjectUtil.toString(msg));
try {
var file:File = new File(msg.path.replace("\\", "/"));
if (!file.resolvePath("bin/mvn.bat").exists) {
+ LOG.error("Error resolving MAVEN_HOME");
msg.responder.fault(false);
return
}
} catch (err:Error) {
+ LOG.error(ObjectUtil.toString(err));
msg.responder.fault(false);
return
}
+ LOG.info("Successfully executed command")
msg.responder.result(true);
}
}
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=1417526&r1=1417525&r2=1417526&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
Wed Dec 5 17:03:53 2012
@@ -1,14 +1,16 @@
GENERAL=General
LANGUAGE=Language
CLOSE=Close
-TOOLS_PATH_LOCATION=Tools path location
TOOL_PATH_ERROR_STRING=You must enter a valid home path for this tool
BROWSE_JAVA_HOME=Browse to the JDK 1.6 installation Directory
INDICATE_JAVA_HOME=Indicate the JDK 1.6 home directory.
PLEASE_INDICATE_JAVA_HOME=Please, indicate the JDK 1.6 home directory...
+JAVA_HOME_ERROR_STRING=You must enter a valid home path for the JDK 1.6
BROWSE_ANT_HOME=Browse to ANT installation Directory
INDICATE_ANT_HOME=Indicate the ANT home directory.
PLEASE_INDICATE_ANT_HOME=Please, indicate the ANT home directory...
+ANT_HOME_ERROR_STRING=You must enter a valid home path for ANT
BROWSE_MAVEN_HOME=Browse to the Maven 3.x installation Directory
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
Modified:
incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.locale/src/main/resources/locale/fr_FR/SettingsWindow.properties
URL:
http://svn.apache.org/viewvc/incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.locale/src/main/resources/locale/fr_FR/SettingsWindow.properties?rev=1417526&r1=1417525&r2=1417526&view=diff
==============================================================================
---
incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.locale/src/main/resources/locale/fr_FR/SettingsWindow.properties
(original)
+++
incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.locale/src/main/resources/locale/fr_FR/SettingsWindow.properties
Wed Dec 5 17:03:53 2012
@@ -2,13 +2,15 @@ GENERAL=Général
LANGUAGE=Langue
CLOSE=Fermer
TOOLS_PATH_LOCATION=Emplacement des outils
-TOOL_PATH_ERROR_STRING=Vous devez entrer un dossier racine valide pour cet
outil
BROWSE_JAVA_HOME=Naviguez jusqu'au dossier d'installation du JDK 1.6
INDICATE_JAVA_HOME=Indiquez le dossier racine du JDK 1.6.
PLEASE_INDICATE_JAVA_HOME=Merci d'indiquer le dossier racine du JDK 1.6...
+JAVA_HOME_ERROR_STRING=Vous devez entrer un dossier racine valide pour le JDK
1.6
BROWSE_ANT_HOME=Naviguez jusqu'au dossier d'installation de ANT
INDICATE_ANT_HOME=Indiquez le dossier racine de ANT.
+ANT_HOME_ERROR_STRING=Vous devez entrer un dossier racine valide pour ANT
PLEASE_INDICATE_ANT_HOME=Merci d'indiquer le dossier racine de ANT...
BROWSE_MAVEN_HOME=Naviguez jusqu'au dossier d'installation de Maven 3.x
INDICATE_MAVEN_HOME=Indiquez le dossier racine de Maven 3.x.
PLEASE_INDICATE_MAVEN_HOME=Merci d'indiquer le dossier racine de Maven 3.x ...
+MAVEN_HOME_ERROR_STRING=Vous devez entrer un dossier racine valide pour Maven
3.x