You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by cf...@apache.org on 2012/06/18 20:10:25 UTC

svn commit: r1351437 [8/12] - in /incubator/flex/trunk/frameworks/projects: automation_agent/ automation_agent/bundles/ automation_agent/bundles/da_DK/ automation_agent/bundles/de_DE/ automation_agent/bundles/en_US/ automation_agent/bundles/es_ES/ auto...

Propchange: incubator/flex/trunk/frameworks/projects/tool/src/mx/automation/tool/ToolAdapter.as
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/frameworks/projects/tool/src/mx/automation/tool/ToolAdapter.as
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/trunk/frameworks/projects/tool/src/mx/automation/tool/ToolAgent.as
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/frameworks/projects/tool/src/mx/automation/tool/ToolAgent.as?rev=1351437&view=auto
==============================================================================
--- incubator/flex/trunk/frameworks/projects/tool/src/mx/automation/tool/ToolAgent.as (added)
+++ incubator/flex/trunk/frameworks/projects/tool/src/mx/automation/tool/ToolAgent.as Mon Jun 18 18:10:20 2012
@@ -0,0 +1,66 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 mx.automation.tool
+{
+
+import flash.display.DisplayObject;
+import flash.display.Sprite;
+import mx.events.FlexEvent;
+import mx.automation.tool.ToolAdapter;
+
+[Mixin]
+public class ToolAgent
+{
+
+    include "../../core/Version.as";
+	
+	private static var _root:DisplayObject;
+	
+	private static var toolAdapter:ToolAdapter;
+	
+	public static function init(root:DisplayObject):void
+    {
+    	if(!toolAdapter)
+	    {
+	    	_root = root;
+	    	new ToolAgent(root);
+    	}
+	}
+	
+	public function ToolAgent(root:DisplayObject):void
+	{
+		super();
+
+		root.addEventListener(FlexEvent.APPLICATION_COMPLETE, applicationCompleteHandler);
+	}
+	
+	private function applicationCompleteHandler(event:FlexEvent):void
+	{
+		_root.removeEventListener(FlexEvent.APPLICATION_COMPLETE, applicationCompleteHandler);
+
+		// it was observed that when there are other applications loaded into the same domain
+		// we get this event more than once. But for one application domain we need to cr
+		if(!toolAdapter)
+			toolAdapter = new ToolAdapter();
+	}
+
+}
+
+}

Propchange: incubator/flex/trunk/frameworks/projects/tool/src/mx/automation/tool/ToolAgent.as
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/frameworks/projects/tool/src/mx/automation/tool/ToolAgent.as
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/trunk/frameworks/projects/tool/src/mx/automation/tool/ToolAutomationClass.as
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/frameworks/projects/tool/src/mx/automation/tool/ToolAutomationClass.as?rev=1351437&view=auto
==============================================================================
--- incubator/flex/trunk/frameworks/projects/tool/src/mx/automation/tool/ToolAutomationClass.as (added)
+++ incubator/flex/trunk/frameworks/projects/tool/src/mx/automation/tool/ToolAutomationClass.as Mon Jun 18 18:10:20 2012
@@ -0,0 +1,101 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 mx.automation.tool
+{
+import mx.automation.AutomationClass;
+import mx.automation.IAutomationPropertyDescriptor;
+import mx.utils.ObjectUtil;
+
+/**
+ * Provides serializable class information for external automation tools.
+ * Some classes are represented as the same AutomationClass (HSlider and VSlider, forinstance).
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+
+public class ToolAutomationClass extends AutomationClass 
+		implements IToolAutomationClass
+{
+	//--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+    public function ToolAutomationClass(name:String, superClassName:String = null)
+    {
+		super(name, superClassName);
+    }
+
+	//--------------------------------------------------------------------------
+	//
+	//  Variables
+	//
+	//--------------------------------------------------------------------------
+
+    /**
+	 *  @private
+	 *  QTP is case insensitive. QTP has been found to change property names
+	 *  at certain instance to complete lower case names. Hence we use a map
+	 *  built on lower case property name to find the descriptor.
+	 */
+	private var propertyCaseMap:Object = {};
+    
+
+	//--------------------------------------------------------------------------
+	//
+	//  Properties
+	//
+	//--------------------------------------------------------------------------
+ 
+	//--------------------------------------------------------------------------
+	//
+	//  Methods
+	//
+	//--------------------------------------------------------------------------
+
+    /**
+	 *  Add a descriptor of a property to the class.
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+    override public function addPropertyDescriptor(p:IAutomationPropertyDescriptor):void
+    {
+		super.addPropertyDescriptor(p);	            	
+	    propertyCaseMap[p.name.toLowerCase()] = p;
+    }
+
+    /**
+     * @private
+     * Getter for the map of lower case property name and descriptor.
+     */
+    public function get propertyLowerCaseMap():Object
+    {
+    	return propertyCaseMap;
+    }
+}
+
+}

Propchange: incubator/flex/trunk/frameworks/projects/tool/src/mx/automation/tool/ToolAutomationClass.as
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/frameworks/projects/tool/src/mx/automation/tool/ToolAutomationClass.as
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/trunk/frameworks/projects/tool/src/mx/automation/tool/ToolEnvironment.as
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/frameworks/projects/tool/src/mx/automation/tool/ToolEnvironment.as?rev=1351437&view=auto
==============================================================================
--- incubator/flex/trunk/frameworks/projects/tool/src/mx/automation/tool/ToolEnvironment.as (added)
+++ incubator/flex/trunk/frameworks/projects/tool/src/mx/automation/tool/ToolEnvironment.as Mon Jun 18 18:10:20 2012
@@ -0,0 +1,375 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 mx.automation.tool
+{
+
+import mx.automation.AutomationClass;
+import mx.automation.IAutomationClass;
+import mx.automation.IAutomationClass2;
+import mx.automation.IAutomationEnvironment;
+import mx.automation.IAutomationEventDescriptor;
+import mx.automation.IAutomationMethodDescriptor;
+import mx.automation.IAutomationObject;
+import mx.resources.IResourceManager;
+import mx.resources.ResourceManager;
+
+[ResourceBundle("automation_agent")]
+
+/**
+ *  @private
+ */
+public class ToolEnvironment implements IAutomationEnvironment
+{
+	//--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+    /**
+     *  @private
+	 */
+	public function ToolEnvironment(source:XML)
+    {
+		super();
+
+        for (var i:Object in source.ClassInfo)
+        {
+            // populate the class/automationClass map
+            var classInfoXML:XML = source.ClassInfo[i];
+            var automationClassName:String = classInfoXML.@Name.toString();
+            var superClassName:String = 
+                classInfoXML.@Extends && classInfoXML.@Extends.length != 0 ?
+				classInfoXML.@Extends.toString() :
+				null;
+            var automationClass:ToolAutomationClass =
+				new ToolAutomationClass(automationClassName, superClassName);
+            automationClassName2automationClass[automationClassName] =
+				automationClass;
+            
+            for (var j:Object in classInfoXML.Implementation)
+            {
+                var implementationXML:XML = classInfoXML.Implementation[j];
+                var realClassName:String =
+					implementationXML.@Class.toString().replace("::", ".");
+				var versionObj:Object = implementationXML.@Version;
+				var versionNum:String = versionObj.toString();
+				if(versionNum!= "")
+				{
+					realClassName = realClassName+"_"+versionNum;
+					automationClass.implementationVersion = int(versionNum);
+				}
+				else
+				{
+					automationClass.implementationVersion = 0;
+				}				
+                className2automationClass[realClassName] = automationClass;
+                automationClass.addImplementationClassName(realClassName);
+                var compatibleClassNames:String = (implementationXML.@PreviousVersionClassNames).toString();
+				if(compatibleClassNames!= ""){
+					var classNames:Array /*of String*/ = compatibleClassNames.split(",");
+					automationClass.previousVersionClassNames = classNames;
+				}
+            }
+
+            // for each method
+            for (var k:Object in classInfoXML.TypeInfo.Operation)
+            {
+                var operationXML:XML = classInfoXML.TypeInfo.Operation[k];
+			
+                var automationMethodName:String = operationXML.@Name.toString();
+                var eventClassName:String =
+					operationXML.Implementation.@Class.toString();
+                eventClassName = eventClassName.replace("::", ".");
+                var eventType:String =
+					operationXML.Implementation.@Type.toString();
+
+                if (eventType)
+                {
+                    var args:Array = [];
+                    for (var m:Object in operationXML.Argument)
+                    {
+                        var argXML:XML = operationXML.Argument[m];
+                        var argName:String = argXML.@Name.toString();
+                        var argType:String =
+							argXML.Type.@VariantType.toString().toLowerCase();
+                        var argCodec:String = argXML.Type.@Codec.toString();
+                        var defaultValue:String = 
+                            argXML.@DefaultValue.length() > 0 ?
+							argXML.@DefaultValue.toString() :
+							null;
+                        var pd:ToolPropertyDescriptor = 
+                            new ToolPropertyDescriptor(
+								argName, true, true, argType,
+                                (argCodec == null || argCodec.length == 0 ?
+								"object" :
+								argCodec), defaultValue);
+                        args.push(pd);
+                    }
+                    
+                    var returnType:String =
+						operationXML.ReturnValueType.Type.@VariantType.toString();
+
+                    var codecName:String =
+						operationXML.ReturnValueType.Type.@Codec.toString();
+
+					if(eventClassName)
+					{
+						var ed:IAutomationEventDescriptor = new ToolEventDescriptor(
+								automationMethodName, eventClassName,
+                                eventType, args);
+                        automationClass.addEvent(ed);
+     				}
+                    else
+					{
+						var md:IAutomationMethodDescriptor = new ToolMethodDescriptor(
+								automationMethodName, eventType, returnType,
+                                codecName, args);
+		                automationClass.addMethod(md);
+                	}
+
+                }
+            }
+
+            for (var p:Object in classInfoXML.Properties.Property)
+            {
+                var propertyXML:XML = classInfoXML.Properties.Property[p];
+				var propName:String = propertyXML.@Name.toString();
+				var propType:String =
+					propertyXML.Type.@VariantType.toString().toLowerCase();
+                var propCodec:String = propertyXML.Type.@Codec.toString();
+                var pd1:ToolPropertyDescriptor = 
+					new ToolPropertyDescriptor(
+						propName,
+                        propertyXML.@ForDescription.toString() == "true",
+                        propertyXML.@ForVerification.toString() == "true",
+                        propType,
+                        (propCodec == null || propCodec.length == 0 ?
+						"object" :
+						propCodec));
+                automationClass.addPropertyDescriptor(pd1);
+            }
+        }
+    }
+
+	//--------------------------------------------------------------------------
+	//
+	//  Variables
+	//
+	//--------------------------------------------------------------------------
+
+    /**
+	 *  @private
+	 */
+    private var className2automationClass:Object = {};
+    
+    /**
+	 *  @private
+	 */
+	private var automationClassName2automationClass:Object = {};
+
+	/**
+	 *  @private
+	 *  Used for accessing localized Error messages.
+	 */
+	private var resourceManager:IResourceManager =
+									ResourceManager.getInstance();
+
+	//--------------------------------------------------------------------------
+	//
+	//  Methods
+	//
+	//--------------------------------------------------------------------------
+
+    /**
+     *  @private
+	 */
+    public function getAutomationClassByInstance(
+						obj:IAutomationObject):IAutomationClass
+    {
+        var result:IAutomationClass = findClosestAncestor(obj);
+        if (! result)
+		{
+			var message:String = resourceManager.getString(
+				"automation_agent", "autClassNotFound",
+				[AutomationClass.getClassName(obj), obj]);
+            throw new Error(message);
+		}
+        return result; 
+    }
+
+    /**
+     *  @private
+	 */
+    public function getAutomationClassByName(
+						automationClass:String):IAutomationClass
+    {
+        return ToolAutomationClass(
+			automationClassName2automationClass[automationClass]);
+    }
+
+    /**
+     *  Finds the closest ancestor to this object about which information was 
+     *  passed in the environment XML.
+     *  @private
+     */
+    private function findClosestAncestor(obj:Object):IAutomationClass
+    {   	
+        var className:String = AutomationClass.getClassName(obj).concat('_').concat(AutomationClass.getMajorVersion());
+        var version:int = int(className.substr(className.length-1));
+        className = className.substring(0, className.length - 2);
+        
+        for( var i:int = version; i > 0; i--){
+        	var classNameWithVersion:String = className.concat('_').concat(i);
+        	if (classNameWithVersion in className2automationClass)
+        		return className2automationClass[classNameWithVersion];
+        }
+        
+		if (className in className2automationClass)
+            return className2automationClass[className];
+		
+        var ancestors:Array = findAllAncestors(obj);
+        if (ancestors.length != 0)
+        {        	
+            className2automationClass[className] = getClosestVersionAncestor(ancestors);
+            return className2automationClass[className];
+        }
+        else
+		{
+            return null;
+		}
+    }
+    
+    /**
+     *  @private
+     */
+    private function getClosestVersionAncestor(ancestors:Array):IAutomationClass
+    {
+    	//There can be many ancestors of same class but with different versions
+    	//We need to find the ancestor which is closer in version to current version 
+    	var closeAncestors:Array = [];
+       	closeAncestors.push(ancestors[0]);
+       	var n:int = ancestors.length;
+       	var isAncestor:Boolean = false;
+       	
+       	for( var i:int = 1; i < n; i++ )
+       	{
+       		var firstSuperClass:String = ancestors[0].superClassName;
+       		var secondAncestor:IAutomationClass = ancestors[i];
+       		
+       		while( firstSuperClass )
+       		{
+       			if( firstSuperClass == secondAncestor.name )
+       			{
+       				isAncestor = true;
+       				break;
+       			}
+       			else
+       			{
+       				firstSuperClass = getAutomationClassByName(firstSuperClass).superClassName;
+       			}
+       		}
+       		if( !isAncestor )
+       		{
+       			var temp:Array = [];
+       			temp.push(ancestors[i]);
+       			closeAncestors = temp.concat(closeAncestors);
+       		}
+       		else
+       		{
+       			break;
+       		}
+       	}
+       	
+       	var currentVersion:int = int(AutomationClass.getMajorVersion());
+       	var closestAncestor:IAutomationClass = closeAncestors[0];
+       	
+       	if(closeAncestors[0] is IAutomationClass2)
+       	{
+       		var currentAncestorVersion:int = IAutomationClass2(closeAncestors[0]).implementationVersion;
+       		n = closeAncestors.length;
+       		for (i = 1; i < n; i++)
+       		{
+       			var nextAncestorVersion:int = IAutomationClass2(closeAncestors[i]).implementationVersion;
+       			if( currentAncestorVersion > currentVersion )
+       				currentAncestorVersion = nextAncestorVersion; 
+       			if( nextAncestorVersion <= currentVersion && nextAncestorVersion >= currentAncestorVersion )
+       			{
+       				closestAncestor = closeAncestors[i];
+       				currentAncestorVersion = nextAncestorVersion;
+       			}
+       		}
+       	}
+       	return closestAncestor;
+    }  
+
+    /**
+	 *  @private
+	 */
+    private function findAllAncestors(obj:Object):Array
+    {
+        var result:Array = [];
+        
+		for (var i:String in className2automationClass)
+        {
+        	var temp:String = i;
+        	if(temp.indexOf("_") != -1)
+        		temp = temp.substring(0, i.lastIndexOf("_"));
+		    var realClass:Class = 
+                          AutomationClass.getDefinitionFromObjectDomain(obj,temp);
+            if (realClass && obj is realClass)
+                result.push(className2automationClass[i]);
+        }
+        
+		result.sort(sortAncestors);
+        
+		return result;
+    }
+    
+    /**
+	 *  @private
+	 */
+    private function sortAncestors(a:IAutomationClass, b:IAutomationClass):int
+    {
+        var superClass:IAutomationClass;
+        var x:String = a.superClassName;
+        while (x)
+        {
+            if (x == b.name)
+                return -1;
+            superClass = getAutomationClassByName(x);
+            x = superClass.superClassName;
+        }
+        
+		x = b.superClassName;
+        while (x)
+        {
+            if (x == a.name)
+                return 1;
+            superClass = getAutomationClassByName(x);
+            x = superClass.superClassName;
+        }
+        
+		// Bad things will happen if we return 0... maybe throw an error?
+        return 0;
+    }
+}
+
+}

Propchange: incubator/flex/trunk/frameworks/projects/tool/src/mx/automation/tool/ToolEnvironment.as
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/frameworks/projects/tool/src/mx/automation/tool/ToolEnvironment.as
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/trunk/frameworks/projects/tool/src/mx/automation/tool/ToolEventDescriptor.as
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/frameworks/projects/tool/src/mx/automation/tool/ToolEventDescriptor.as?rev=1351437&view=auto
==============================================================================
--- incubator/flex/trunk/frameworks/projects/tool/src/mx/automation/tool/ToolEventDescriptor.as (added)
+++ incubator/flex/trunk/frameworks/projects/tool/src/mx/automation/tool/ToolEventDescriptor.as Mon Jun 18 18:10:20 2012
@@ -0,0 +1,128 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 mx.automation.tool
+{
+
+import flash.events.Event;
+import flash.events.FocusEvent;
+import flash.events.KeyboardEvent;
+import flash.system.ApplicationDomain;
+import flash.utils.describeType;
+
+import mx.automation.Automation;
+import mx.automation.AutomationEventDescriptor;
+import mx.automation.IAutomationObject;
+import mx.automation.events.AutomationReplayEvent;
+import mx.core.mx_internal;
+import mx.automation.tool.IToolCodecHelper;
+
+use namespace mx_internal;
+
+/**
+ * Method descriptor class.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+public class ToolEventDescriptor extends AutomationEventDescriptor
+{
+	//--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+    /**
+     *  Constructor
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function ToolEventDescriptor(name:String,
+                                               eventClassName:String,
+                                               eventType:String,
+                                               args:Array)
+    {
+        super(name, eventClassName, eventType, args);
+    }
+
+	//--------------------------------------------------------------------------
+	//
+	//  Variables
+	//
+	//--------------------------------------------------------------------------
+    
+    /**
+     *  @private
+     */
+	private var _eventArgASTypesInitialized:Boolean = false;
+
+	//--------------------------------------------------------------------------
+	//
+	//  Properties
+	//
+	//--------------------------------------------------------------------------
+
+	//--------------------------------------------------------------------------
+	//
+	//  Methods
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 * @private
+	 */
+    override public function record(target:IAutomationObject, event:Event):Array
+    {
+        var args:Array = getArgDescriptors(target);
+
+		var helper:IToolCodecHelper = ToolAdapter.getCodecHelper();
+        return helper.encodeProperties(event, args, target);
+    }
+
+    /**
+     * @private
+     */
+    override public function replay(target:IAutomationObject, args:Array):Object
+    {
+		if(!target)
+			return null;
+		
+        var event:Event = createEvent(target);
+        var argDescriptors:Array = getArgDescriptors(target);
+		var helper:IToolCodecHelper = ToolAdapter.getCodecHelper();
+        helper.decodeProperties(event, args, argDescriptors,
+							IAutomationObject(target));
+							
+        var riEvent:AutomationReplayEvent = new AutomationReplayEvent();
+		riEvent.automationObject = target;
+		riEvent.replayableEvent = event;
+        Automation.automationManager.replayAutomatableEvent(riEvent);
+
+        return null;
+    }
+
+}
+
+}

Propchange: incubator/flex/trunk/frameworks/projects/tool/src/mx/automation/tool/ToolEventDescriptor.as
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/frameworks/projects/tool/src/mx/automation/tool/ToolEventDescriptor.as
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/trunk/frameworks/projects/tool/src/mx/automation/tool/ToolMarshallingEvent.as
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/frameworks/projects/tool/src/mx/automation/tool/ToolMarshallingEvent.as?rev=1351437&view=auto
==============================================================================
--- incubator/flex/trunk/frameworks/projects/tool/src/mx/automation/tool/ToolMarshallingEvent.as (added)
+++ incubator/flex/trunk/frameworks/projects/tool/src/mx/automation/tool/ToolMarshallingEvent.as Mon Jun 18 18:10:20 2012
@@ -0,0 +1,223 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 mx.automation.tool
+{
+	import mx.automation.IAutomationObject;
+	import mx.events.SWFBridgeEvent;
+	import flash.events.Event;
+	 
+	/**
+	 *  The MarshalledAutomationEvents class represents event objects that are dispatched 
+	 *  by the AutomationManager.This represents the marshalling related events.
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 4
+	 */
+	public class ToolMarshallingEvent extends SWFBridgeEvent
+	{
+ 	   include "../../core/Version.as";
+		
+
+    //--------------------------------------------------------------------------
+    //
+    //  Class constants
+    //
+    //--------------------------------------------------------------------------
+  /* 
+    public static const BEGIN_RECORDING:String = "BeginRecording";
+     public static const END_RECORDING:String = "EndRecording";
+     
+    public static const ENV_DETAILS:String = "SetEnvironment";
+    public static const RECORDING_STATUS_REQUEST:String ="GetRecordingStatus";
+    public static const RECORDING_STATUS_REPLY:String ="RecordingStatusReply";
+  */
+    
+    public static const RECORD:String = "Record";
+    
+    public static const FIND_OBJECTIDS:String = "FindObjectIDs";
+    public static const FIND_OBJECTIDS_REPLY:String = "FindObjectIDsReply";
+    
+    public static const RUN:String = "Run";
+    public static const RUN_REPLY:String = "RunReply";
+    
+    public static const GET_ACTIVESCREEN:String = "GetActiveScreen";
+    public static const GET_ACTIVESCREEN_REPLY:String = "GetActiveScreenReply";    
+    
+    public static const GET_RECTANGLE:String = "GetRectangle";
+    public static const GET_RECTANGLE_REPLY:String = "GetRectangleReply";  
+    
+    public static const GET_PARENT:String = "GetParent";
+    public static const GET_PARENT_REPLY:String = "GetParentReply"; 
+    
+    public static const GET_ELEMENT_FROM_POINT:String = "GetElementFromPoint";
+    public static const GET_ELEMENT_FROM_POINT_REPLY:String = "GetElementFromPointReply";
+    
+    public static const GET_ELEMENT_TYPE:String = "GetElementType";
+    public static const GET_ELEMENT_TYPE_REPLY:String = "GetElementTypeReply";
+    
+    
+    public static const GET_DISPLAY_NAME:String = "GetDisplayName";
+    public static const GET_DISPLAY_NAME_REPLY:String = "GetDisplayNameReply";
+    
+    
+    public static const GET_PROPERTIES:String = "GetProperties";
+    public static const GET_PROPERTIES_REPLY:String = "GetPropertiesReply"; 
+    
+    
+    public static const GET_TABULAR_DATA:String = "GetTabularData";
+    public static const GET_TABULAR_DATA_REPLY:String = "GetTabularDataReply";
+    
+    
+    public static const GET_TABULAR_ATTRIBUTES:String = "GetTabularAttributes";
+    public static const GET_TABULAR_ATTRIBUTES_REPLY:String = "GetTabularAttributesReply";
+    
+    
+    
+    public static const BUILD_DESCRIPTION:String = "BuilddDescription";
+    public static const BUILD_DESCRIPTION_REPLY:String = "BuilddDescriptionReply";
+    
+    
+    public static const GET_CHILDREN:String = "GetChildren";
+    public static const GET_CHILDREN_REPLY:String = "GetChildrenReply";
+    
+    
+    public static const LEARN_CHILD_OBJECTS:String = "LearnChildObjects";
+    public static const LEARN_CHILD_OBJECTS_REPLY:String = "LearnChildObjectsReply";
+    
+    
+    public static const GET_LAST_ERROR:String = "GetLastError";
+    public static const GET_LAST_ERROR_REPLY:String = "GetLastErrorReply";
+    
+    
+    public static const SET_LAST_ERROR:String = "SetLastError";
+    // no reply for the setLastError
+    
+    
+    public static function marshal(event:Event):ToolMarshallingEvent
+    {
+        var eventObj:Object = event;
+        return new ToolMarshallingEvent(eventObj.type,
+                                        eventObj.bubbles,
+                                        eventObj.cancelable,/*
+                                        eventObj.automationObject,
+                                        eventObj.replayableEvent,
+                                        eventObj.args,
+                                        eventObj.name,
+                                        eventObj.cacheable, */
+                                        eventObj.applicationName,
+                                        eventObj.interAppDataToSubApp ,
+                                        eventObj.interAppDataToMainApp);
+                                        
+     }
+    
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+   	public function ToolMarshallingEvent(type:String, 
+   	                                      bubbles:Boolean = true,
+                                          cancelable:Boolean = true,/*
+                                          automationObject:IAutomationObject = null, 
+                                          replayableEvent:Event = null,
+                                          args:Array = null,
+                                          name:String = null,
+                                          cacheable:Boolean = false,*/
+                                          applicationName:String = null , 
+                                          interAppDataToSubApp :Array =null,
+                                          interAppDataToMainApp:Array = null)
+	{	
+        super(type, bubbles, cancelable);
+       // this.automationObject = automationObject;
+        //this.replayableEvent = replayableEvent;
+        //this.args = args;
+        //this.name = name;
+        //this.cacheable = cacheable;
+        this.applicationName = applicationName;
+        this.interAppDataToSubApp = interAppDataToSubApp;
+        this.interAppDataToMainApp = interAppDataToMainApp;
+    }
+    
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+
+	
+	/**
+     *  Contains <code>string</code> which represents the application Name  for the application.
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 4
+     */
+	public var applicationName:String;
+	
+	
+	/**
+     *  Contains <code>array</code> which represents the data from the parent to sub applications.
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 4
+     */
+	public var interAppDataToSubApp:Array;
+	
+	/**
+     *  Contains <code>array</code> which represents the data from the sub applications to parent.
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 4
+     */
+	public var interAppDataToMainApp:Array;
+	
+	
+	
+	
+	
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden methods: Event
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     */
+    override public function clone():Event
+    {
+        return new ToolMarshallingEvent(type, bubbles, cancelable,/*
+                                         automationObject,
+                                         replayableEvent,
+                                         args,
+                                         name,
+                                         cacheable,*/
+                                         applicationName, interAppDataToSubApp,interAppDataToMainApp);
+    }    
+ }
+}
\ No newline at end of file

Propchange: incubator/flex/trunk/frameworks/projects/tool/src/mx/automation/tool/ToolMarshallingEvent.as
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/frameworks/projects/tool/src/mx/automation/tool/ToolMarshallingEvent.as
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/trunk/frameworks/projects/tool/src/mx/automation/tool/ToolMethodDescriptor.as
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/frameworks/projects/tool/src/mx/automation/tool/ToolMethodDescriptor.as?rev=1351437&view=auto
==============================================================================
--- incubator/flex/trunk/frameworks/projects/tool/src/mx/automation/tool/ToolMethodDescriptor.as (added)
+++ incubator/flex/trunk/frameworks/projects/tool/src/mx/automation/tool/ToolMethodDescriptor.as Mon Jun 18 18:10:20 2012
@@ -0,0 +1,151 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 mx.automation.tool
+{
+
+import flash.events.Event;
+import flash.system.ApplicationDomain;
+import flash.utils.describeType;
+import mx.automation.Automation;
+import mx.automation.AutomationClass;
+import mx.automation.IAutomationManager;
+import mx.automation.IAutomationMethodDescriptor;
+import mx.automation.IAutomationObject;
+import mx.core.mx_internal;
+import mx.automation.tool.IToolCodecHelper;
+import mx.automation.AutomationMethodDescriptor;
+
+use namespace mx_internal;
+
+/**
+ * Basic method descriptor class. Generates descriptor from event parameters, if necessary
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+public class ToolMethodDescriptor extends AutomationMethodDescriptor
+	   implements IToolMethodDescriptor
+{
+	//--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+    /**
+     * 
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function ToolMethodDescriptor(name:String,
+                                                      asMethodName:String,
+                                                      returnType:String,
+                                                      codecName:String,
+                                                      args:Array)
+    {
+        super(name, asMethodName, returnType, args);
+        _codecName = codecName;
+    }
+
+	//--------------------------------------------------------------------------
+	//
+	//  Variables
+	//
+	//--------------------------------------------------------------------------
+
+	//--------------------------------------------------------------------------
+	//
+	//  Properties
+	//
+	//--------------------------------------------------------------------------
+
+	//----------------------------------
+	//  codecName
+	//----------------------------------
+
+    /**
+     *  @private
+     */
+    private var _codecName:String;
+
+    /**
+     *  @private
+     */
+    public function get codecName():String
+    {
+        return _codecName;
+    }
+
+	//--------------------------------------------------------------------------
+	//
+	//  Methods
+	//
+	//--------------------------------------------------------------------------
+
+    /**
+     *
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    override public function record(target:IAutomationObject, event:Event):Array
+    {
+        // Unsupported to record a method.
+        throw new Error();
+        return null;
+    }
+
+    /**
+     *
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    override public function replay(target:IAutomationObject, args:Array):Object
+    {
+    	var delegate:IAutomationObject = target;
+        var argDescriptors:Array = getArgDescriptors(delegate);
+        var asArgs:Object = {};
+
+		var helper:IToolCodecHelper = ToolAdapter.getCodecHelper();
+        helper.decodeProperties(asArgs, args, argDescriptors, delegate);
+
+		// Convert args into an ordered array.
+		var asArgsOrdered:Array = [];
+		for (var argNo:int = 0; argNo < argDescriptors.length; ++argNo)
+			asArgsOrdered.push(asArgs[argDescriptors[argNo].name]);
+			
+		var retVal:Object = super.replay(target, asArgsOrdered);
+
+        return helper.encodeValue(retVal, returnType, _codecName, delegate);
+    }
+
+}
+
+}

Propchange: incubator/flex/trunk/frameworks/projects/tool/src/mx/automation/tool/ToolMethodDescriptor.as
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/frameworks/projects/tool/src/mx/automation/tool/ToolMethodDescriptor.as
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/trunk/frameworks/projects/tool/src/mx/automation/tool/ToolPropertyDescriptor.as
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/frameworks/projects/tool/src/mx/automation/tool/ToolPropertyDescriptor.as?rev=1351437&view=auto
==============================================================================
--- incubator/flex/trunk/frameworks/projects/tool/src/mx/automation/tool/ToolPropertyDescriptor.as (added)
+++ incubator/flex/trunk/frameworks/projects/tool/src/mx/automation/tool/ToolPropertyDescriptor.as Mon Jun 18 18:10:20 2012
@@ -0,0 +1,100 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 mx.automation.tool
+{
+
+import mx.automation.AutomationPropertyDescriptor;
+
+/**
+ * Describes a property of a test object.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+public class ToolPropertyDescriptor extends AutomationPropertyDescriptor implements IToolPropertyDescriptor
+{
+	/**
+	 * @private
+	 */
+    private var _type:String;
+
+	/**
+	 * @private
+	 */
+    private var _codecName:String;
+
+    /**
+     *  Constructor
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function ToolPropertyDescriptor(name:String,
+                                                 forDescription:Boolean,
+                                                 forVerification:Boolean,
+                                                 type:String,
+                                                 codecName:String,
+                                                 defaultValue:String = null)
+    {
+        super(name, forDescription, forVerification, defaultValue);
+        _type = type;
+        _codecName = codecName;
+    }
+
+	/**
+	 * @private
+	 */
+    public function get Tooltype():String
+    {
+        return _type;
+    }
+
+	/**
+	 * @private
+	 */
+    public function get codecName():String
+    {
+        return _codecName;
+    }
+
+	/**
+	 * @private
+	 */
+/*    public function set MyAsType(v:String):void
+    {
+    	_asType = v;
+    }
+*/
+	/**
+	 * @private
+	 */
+/*    public function get MyAsType():String
+    {
+    	return _asType ;
+    }
+*/
+
+}
+
+}

Propchange: incubator/flex/trunk/frameworks/projects/tool/src/mx/automation/tool/ToolPropertyDescriptor.as
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/frameworks/projects/tool/src/mx/automation/tool/ToolPropertyDescriptor.as
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/trunk/frameworks/projects/tool/src/mx/core/Version.as
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/frameworks/projects/tool/src/mx/core/Version.as?rev=1351437&view=auto
==============================================================================
--- incubator/flex/trunk/frameworks/projects/tool/src/mx/core/Version.as (added)
+++ incubator/flex/trunk/frameworks/projects/tool/src/mx/core/Version.as Mon Jun 18 18:10:20 2012
@@ -0,0 +1,26 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+import mx.core.mx_internal;
+
+/**
+ *  @private
+ *  Version string for this class.
+ */
+mx_internal static const VERSION:String = "4.6.0.0";

Propchange: incubator/flex/trunk/frameworks/projects/tool/src/mx/core/Version.as
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/frameworks/projects/tool/src/mx/core/Version.as
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/trunk/frameworks/projects/tool_air/build.xml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/frameworks/projects/tool_air/build.xml?rev=1351437&view=auto
==============================================================================
--- incubator/flex/trunk/frameworks/projects/tool_air/build.xml (added)
+++ incubator/flex/trunk/frameworks/projects/tool_air/build.xml Mon Jun 18 18:10:20 2012
@@ -0,0 +1,233 @@
+<?xml version="1.0"?>
+<!--
+
+  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.
+
+-->
+<project name="tool_air" default="main" basedir=".">
+
+    <property name="FLEX_HOME" location="${basedir}/../../.."/>
+    <property file="${FLEX_HOME}/build.properties"/>
+    <property name="local.playerglobal.version" value="11"/>
+
+	<target name="main" depends="clean,compile" description="Clean build of tool_air.swc"/>
+	
+	<property name="compc.jvm.args" value="-Dassert -ea -DAS3 -DAVMPLUS -Xms32m -Xmx384m -Dsun.io.useCanonCaches=false"/>
+	
+	<!-- since no bundles the main and bundle targets are same. To keep uniformity the target is added -->
+	<target name="main_with_ja_JP" depends="clean,compile,bundles" description="Clean build of tool_air.swc and en_US and ja_JP"/>
+	
+    <target name="other.locales" depends="bundles" description="Build other locale SWCs"/>
+
+	<target name="clean" depends="bundles-clean">
+		<delete file="bundles.properties"/>
+		<delete file="${FLEX_HOME}/frameworks/libs/tool_air.swc"/>
+		<delete file="${FLEX_HOME}/frameworks/libs/tool_air.swc.incr"/>
+	</target>
+
+	<target name="compile">
+		<echo message="Compiling tool_air.swc"/>
+		<!-- Load the <compc> task. We can't do this at the <project> level -->
+		<!-- because targets that run before flexTasks.jar gets built would fail. -->
+		<taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
+		<!--
+			Link in the classes (and their dependencies) for the MXML tags
+			listed in this project's manifest.xml.
+			Also link the additional classes (and their dependencies)
+			listed in FrameworkClasses.as,
+			because these aren't referenced by the manifest classes.
+			Keep the standard metadata when compiling.
+			Link in accessibility support.
+			Include the appropriate CSS files and assets in the SWC.
+			Don't include any resources in the SWC.
+			Write a bundle list of referenced resource bundles
+			into the file bundles.properties in this directory.
+		-->
+	
+		<compc fork="true"
+			   output="${FLEX_HOME}/frameworks/libs/tool_air.swc"
+			   resource-bundle-list="${basedir}/bundles.properties">
+			<jvmarg line="${compc.jvm.args}"/>
+			<target-player>${local.playerglobal.version}</target-player>
+			<include-classes>ToolAIRClasses</include-classes>
+			<source-path path-element="${basedir}/src"/>
+			<source-path path-element="${FLEX_HOME}/frameworks/projects/automation/src"/>
+			<source-path path-element="${FLEX_HOME}/frameworks/projects/automation_air/src"/>
+			<source-path path-element="${FLEX_HOME}/frameworks/projects/automation_spark/src"/>
+			
+			<library-path/>
+            <external-library-path dir="${FLEX_HOME}/frameworks/libs">
+                <include name="air/airglobal.swc"/>
+				<include name="framework.swc"/>
+				<include name="mx/mx.swc"/>
+				<include name="advancedgrids.swc"/>
+				<include name="charts.swc"/>
+				<include name="spark.swc"/>
+				<include name="textLayout.swc"/>
+				<include name="automation/automation_dmv.swc"/>
+				<include name="datavisualization.swc"/>
+			</external-library-path>
+			<external-library-path dir="${FLEX_HOME}/frameworks/libs">
+				<include name="automation_agent.swc"/>
+			</external-library-path>
+			<locale/>
+			<accessible>true</accessible>
+		</compc>
+	</target>
+	
+	<target name="tool_air_bundles">
+		
+		<echo message="Compiling dmv_automation/locale/${locale}/tool_air_rb.swc"/>
+		
+        <!-- Load the <compc> task. We can't do this at the <project> level -->
+        <!-- because targets that run before flexTasks.jar gets built would fail. -->
+        <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/lib/flexTasks.jar"/>
+		<compc fork="true"
+			output="${FLEX_HOME}/frameworks/locale/${locale}/tool_air_rb.swc"
+			locale="${locale}">
+          
+            <target-player>11</target-player>
+			<jvmarg line="${compc.jvm.args}"/>
+ 			
+			<include-resource-bundles bundle="tool_air"/>
+			
+			<include-namespaces/>
+			<include-classes/>
+			
+			<source-path path-element="${basedir}/bundles/${locale}"/>
+			<source-path path-element="${FLEX_HOME}/frameworks/projects/framework/src"/>
+			
+			<include-libraries/>
+			<library-path/>
+            <external-library-path dir="${FLEX_HOME}/frameworks/libs">
+                <include name="player/${local.playerglobal.version}/playerglobal.swc"/>
+			</external-library-path>
+		</compc>
+	</target>
+	
+	<target name="tool_air_bundles-clean">
+        <delete file="${FLEX_HOME}/frameworks/locale/${locale}/tool_air_rb.swc"/>
+        <delete file="${FLEX_HOME}/frameworks/locale/${locale}/tool_air_rb.swc.incr"/>
+    </target>
+	
+	<target name="bundles">
+        <antcall target="tool_air_bundles">
+            <param name="locale" value="da_DK"/>
+        </antcall>
+        <antcall target="tool_air_bundles">
+            <param name="locale" value="de_DE"/>
+        </antcall>
+        <antcall target="tool_air_bundles">
+            <param name="locale" value="en_US"/>
+        </antcall>
+        <antcall target="tool_air_bundles">
+            <param name="locale" value="es_ES"/>
+        </antcall>
+        <antcall target="tool_air_bundles">
+            <param name="locale" value="fi_FI"/>
+        </antcall>
+        <antcall target="tool_air_bundles">
+            <param name="locale" value="fr_FR"/>
+        </antcall>
+        <antcall target="tool_air_bundles">
+            <param name="locale" value="it_IT"/>
+        </antcall>
+        <antcall target="tool_air_bundles">
+            <param name="locale" value="ja_JP"/>
+        </antcall>
+        <antcall target="tool_air_bundles">
+            <param name="locale" value="ko_KR"/>
+        </antcall>
+        <antcall target="tool_air_bundles">
+            <param name="locale" value="nb_NO"/>
+        </antcall>
+        <antcall target="tool_air_bundles">
+            <param name="locale" value="nl_NL"/>
+        </antcall>
+        <antcall target="tool_air_bundles">
+            <param name="locale" value="pt_BR"/>
+        </antcall>
+        <antcall target="tool_air_bundles">
+            <param name="locale" value="ru_RU"/>
+        </antcall>
+        <antcall target="tool_air_bundles">
+            <param name="locale" value="sv_SE"/>
+        </antcall>
+        <antcall target="tool_air_bundles">
+            <param name="locale" value="zh_CN"/>
+        </antcall>
+        <antcall target="tool_air_bundles">
+            <param name="locale" value="zh_TW"/>
+        </antcall>
+	</target>
+
+	<target name="bundles_en_US">
+		<ant dir="bundles/en_US"/>
+	</target>
+	
+    <target name="bundles-clean">
+        <echo message="IN bundles clean"/>
+        <antcall target="tool_air_bundles-clean">
+            <param name="locale" value="da_DK"/>
+        </antcall>
+        <antcall target="tool_air_bundles-clean">
+            <param name="locale" value="de_DE"/>
+        </antcall>
+        <antcall target="tool_air_bundles-clean">
+            <param name="locale" value="en_US"/>
+        </antcall>
+        <antcall target="tool_air_bundles-clean">
+            <param name="locale" value="es_ES"/>
+        </antcall>
+        <antcall target="tool_air_bundles-clean">
+            <param name="locale" value="fi_FI"/>
+        </antcall>
+        <antcall target="tool_air_bundles-clean">
+            <param name="locale" value="fr_FR"/>
+        </antcall>
+        <antcall target="tool_air_bundles-clean">
+            <param name="locale" value="it_IT"/>
+        </antcall>
+        <antcall target="tool_air_bundles-clean">
+            <param name="locale" value="ja_JP"/>
+        </antcall>
+        <antcall target="tool_air_bundles-clean">
+            <param name="locale" value="ko_KR"/>
+        </antcall>
+        <antcall target="tool_air_bundles-clean">
+            <param name="locale" value="nb_NO"/>
+        </antcall>
+        <antcall target="tool_air_bundles-clean">
+            <param name="locale" value="nl_NL"/>
+        </antcall>
+        <antcall target="tool_air_bundles-clean">
+            <param name="locale" value="pt_BR"/>
+        </antcall>
+        <antcall target="tool_air_bundles-clean">
+            <param name="locale" value="ru_RU"/>
+        </antcall>
+        <antcall target="tool_air_bundles-clean">
+            <param name="locale" value="sv_SE"/>
+        </antcall>
+        <antcall target="tool_air_bundles-clean">
+            <param name="locale" value="zh_CN"/>
+        </antcall>
+        <antcall target="tool_air_bundles-clean">
+            <param name="locale" value="zh_TW"/>
+        </antcall>
+    </target>
+
+</project>

Propchange: incubator/flex/trunk/frameworks/projects/tool_air/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/frameworks/projects/tool_air/build.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/trunk/frameworks/projects/tool_air/bundles/da_DK/tool_air.properties
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/frameworks/projects/tool_air/bundles/da_DK/tool_air.properties?rev=1351437&view=auto
==============================================================================
--- incubator/flex/trunk/frameworks/projects/tool_air/bundles/da_DK/tool_air.properties (added)
+++ incubator/flex/trunk/frameworks/projects/tool_air/bundles/da_DK/tool_air.properties Mon Jun 18 18:10:20 2012
@@ -0,0 +1,31 @@
+################################################################################
+##
+##  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.
+##
+################################################################################
+# Developer RTE Section
+
+# QTP_air messages
+
+noConnectionToQTP=Programmet er knyttet til automatiseringsbiblioteket til AIR. Men der kunne ikke etableres forbindelse til QTP.
+noConnectionToQTP_Recommendation=Kontroller, at QTP er \u00e5bent, og at AIR-pluginmodulet er aktiveret, inden du starter programmet.
+
+securityError =Sikkerhedsfejl ved fors\u00f8g p\u00e5 at etablere forbindelse til QTP.
+airHelperClassNotFound=Programmet er knyttet til automatiseringsbiblioteket til AIR. Hvis AIR-automatisering skal fungere, skal du bruge biblioteket automation_air. Det anbefales kraftigt, at du tilf\u00f8jer dette bibliotek inden du forts\u00e6tter.
+propertyCannotBeEvaluated =Egenskaben '{0}' kunne ikke evalueres.
+qtpConnectionAttempt=Fors\u00f8ger at etablere forbindelse til QTP. Denne handling kan tage et par sekunder.
+qtpConnectionFailed=Der kunne ikke etableres forbindelse til QTP. QTP er muligvis ikke startet, eller m\u00e5ske k\u00f8rer der flere programmer med automatisering p\u00e5 samme tid. Luk alle forekomster af programmet, genstart QTP, og genstart programmet.
+qtpConnectionSuccess=Der blev etableret forbindelse til QTP. 

Propchange: incubator/flex/trunk/frameworks/projects/tool_air/bundles/da_DK/tool_air.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/frameworks/projects/tool_air/bundles/da_DK/tool_air.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/trunk/frameworks/projects/tool_air/bundles/de_DE/tool_air.properties
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/frameworks/projects/tool_air/bundles/de_DE/tool_air.properties?rev=1351437&view=auto
==============================================================================
--- incubator/flex/trunk/frameworks/projects/tool_air/bundles/de_DE/tool_air.properties (added)
+++ incubator/flex/trunk/frameworks/projects/tool_air/bundles/de_DE/tool_air.properties Mon Jun 18 18:10:20 2012
@@ -0,0 +1,31 @@
+################################################################################
+##
+##  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.
+##
+################################################################################
+# Developer RTE Section
+
+# QTP_air messages
+
+noConnectionToQTP=Die Anwendung ist mit der \u201eAutomation\u201c-Bibliothek f\u00fcr AIR verkn\u00fcpft. Es konnte jedoch keine Verbindung zu QTP hergestellt werden.
+noConnectionToQTP_Recommendation=Vergewissern Sie sich, dass QTP ge\u00f6ffnet und das AIR-Plug-in aktiviert ist, bevor Sie die Anwendung starten.
+
+securityError =Sicherheitsfehler beim Herstellen der Verbindung zu QTP.
+airHelperClassNotFound=Die Anwendung ist mit der \u201eAutomation\u201c-Bibliothek f\u00fcr AIR verkn\u00fcpft. Damit die AIR-Automatisierung funktioniert, sollte jedoch die Bibliothek \u201eautomation_air\u201c verwendet werden. Es wird ausdr\u00fccklich empfohlen, dass Sie diese Bibliothek hinzuf\u00fcgen, bevor Sie fortfahren.
+propertyCannotBeEvaluated =Die Eigenschaft(en) \u201e{0}\u201c konnte(n) nicht ausgewertet werden.
+qtpConnectionAttempt=Verbindung zu QTP wird hergestellt. Dieser Vorgang kann einige Sekunden dauern.
+qtpConnectionFailed=Die Verbindung zu QTP konnte nicht hergestellt werden. Entweder wurde QTP nicht gestartet oder es werden mehrere Anwendungen mit aktivierter Automatisierung ausgef\u00fchrt. Schlie\u00dfen Sie alle Instanzen der Anwendung, starten Sie QTP erneut und starten Sie die Anwendung erneut.
+qtpConnectionSuccess=Die Verbindung zu QTP wurde hergestellt 

Propchange: incubator/flex/trunk/frameworks/projects/tool_air/bundles/de_DE/tool_air.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/frameworks/projects/tool_air/bundles/de_DE/tool_air.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/trunk/frameworks/projects/tool_air/bundles/en_US/tool_air.properties
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/frameworks/projects/tool_air/bundles/en_US/tool_air.properties?rev=1351437&view=auto
==============================================================================
--- incubator/flex/trunk/frameworks/projects/tool_air/bundles/en_US/tool_air.properties (added)
+++ incubator/flex/trunk/frameworks/projects/tool_air/bundles/en_US/tool_air.properties Mon Jun 18 18:10:20 2012
@@ -0,0 +1,31 @@
+################################################################################
+##
+##  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.
+##
+################################################################################
+# Developer RTE Section
+
+# QTP_air messages
+
+noConnectionToQTP=Application is linked with Automation library for AIR. But connection to QTP could not be established.
+noConnectionToQTP_Recommendation=Please ensure that QTP is open and enabled with the AIR plugin, before starting the application.
+
+securityError =Security error while connecting to QTP.
+airHelperClassNotFound=Application is linked with Automation library for AIR. But for AIR automation to be functional, the automation_air library should be used. It is highly recommended to add this library before proceeding.
+propertyCannotBeEvaluated =The property(s) '{0}' could not evaluated.
+qtpConnectionAttempt=Trying to connect to QTP. This operation may take a few seconds.
+qtpConnectionFailed=Could not connect to QTP. Either QTP is not started or there may be more than one automation enabled application running. Please close all instances of the application, restart QTP and then restart the application.
+qtpConnectionSuccess=Successfully connected to QTP. 
\ No newline at end of file

Propchange: incubator/flex/trunk/frameworks/projects/tool_air/bundles/en_US/tool_air.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/frameworks/projects/tool_air/bundles/en_US/tool_air.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/trunk/frameworks/projects/tool_air/bundles/es_ES/tool_air.properties
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/frameworks/projects/tool_air/bundles/es_ES/tool_air.properties?rev=1351437&view=auto
==============================================================================
--- incubator/flex/trunk/frameworks/projects/tool_air/bundles/es_ES/tool_air.properties (added)
+++ incubator/flex/trunk/frameworks/projects/tool_air/bundles/es_ES/tool_air.properties Mon Jun 18 18:10:20 2012
@@ -0,0 +1,31 @@
+################################################################################
+##
+##  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.
+##
+################################################################################
+# Developer RTE Section
+
+# QTP_air messages
+
+noConnectionToQTP=La aplicaci\u00f3n est\u00e1 vinculada a la biblioteca de automatizaci\u00f3n para AIR. Sin embargo, no se ha podido establecer conexi\u00f3n con QTP.
+noConnectionToQTP_Recommendation=Aseg\u00farese de que QTP est\u00e1 abierto y activado con el m\u00f3dulo adicional de AIR antes de iniciar la aplicaci\u00f3n.
+
+securityError =Error de seguridad al establecer conexi\u00f3n con QTP.
+airHelperClassNotFound=La aplicaci\u00f3n est\u00e1 vinculada a la biblioteca de automatizaci\u00f3n para AIR. Para que la automatizaci\u00f3n de AIR funcione, es necesario usar la biblioteca automation_air. Se recomienda agregar esta biblioteca antes de continuar.
+propertyCannotBeEvaluated =No se han podido evaluar las propiedades siguientes: '{0}'.
+qtpConnectionAttempt=Intentando establecer conexi\u00f3n con QTP. Puede que esta operaci\u00f3n tarde unos segundos.
+qtpConnectionFailed=No se ha podido establecer conexi\u00f3n con QTP. Puede que QTP no se haya iniciado o que haya m\u00e1s de una aplicaci\u00f3n con automatizaci\u00f3n activada en ejecuci\u00f3n. Cierre todas las instancias de la aplicaci\u00f3n, reinicie QTP y vuelva a iniciar la aplicaci\u00f3n.
+qtpConnectionSuccess=Se ha establecido conexi\u00f3n con QTP. 

Propchange: incubator/flex/trunk/frameworks/projects/tool_air/bundles/es_ES/tool_air.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/frameworks/projects/tool_air/bundles/es_ES/tool_air.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/trunk/frameworks/projects/tool_air/bundles/fi_FI/tool_air.properties
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/frameworks/projects/tool_air/bundles/fi_FI/tool_air.properties?rev=1351437&view=auto
==============================================================================
--- incubator/flex/trunk/frameworks/projects/tool_air/bundles/fi_FI/tool_air.properties (added)
+++ incubator/flex/trunk/frameworks/projects/tool_air/bundles/fi_FI/tool_air.properties Mon Jun 18 18:10:20 2012
@@ -0,0 +1,31 @@
+################################################################################
+##
+##  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.
+##
+################################################################################
+# Developer RTE Section
+
+# QTP_air messages
+
+noConnectionToQTP=Sovellus on linkitetty kohteen AIR automaatiokirjastoon. Mutta yhteytt\u00e4 kohteeseen QTP ei voitu muodostaa.
+noConnectionToQTP_Recommendation=Ennen kuin k\u00e4ynnist\u00e4t sovelluksen, varmista, ett\u00e4 QTP on avoinna ja otettu k\u00e4ytt\u00f6\u00f6n AIR-laajennuksen kanssa.
+
+securityError =Suojausvirhe yhteyden muodostamisessa kohteeseen QTP.
+airHelperClassNotFound=Sovellus on linkitetty kohteen AIR automaatiokirjastoon. Mutta jotta AIR-automaatio olisi toimiva, pit\u00e4\u00e4 k\u00e4ytt\u00e4\u00e4 kirjastoa automation_air. T\u00e4m\u00e4 kirjasto on eritt\u00e4in suositeltavaa lis\u00e4t\u00e4 ennen jatkamista.
+propertyCannotBeEvaluated =Ominaisuutta '{0}' ei voitu arvioida.
+qtpConnectionAttempt=Yritet\u00e4\u00e4n muodostaa yhteytt\u00e4 kohteeseen QTP. T\u00e4m\u00e4 saattaa vied\u00e4 muutaman sekunnin.
+qtpConnectionFailed=Yhteytt\u00e4 kohteeseen QTP ei voitu muodostaa. Joko kohdetta QTP ei ole k\u00e4ynnistetty, tai k\u00e4ynniss\u00e4 saattaa olla useampi kuin yksi sovellus, jossa on k\u00e4yt\u00f6ss\u00e4 automaatio. Sulje kaikki sovelluksen esiintym\u00e4t, k\u00e4ynnist\u00e4 QTP uudelleen ja k\u00e4ynnist\u00e4 sitten sovellus uudelleen.
+qtpConnectionSuccess=Yhteys muodostettu kohteeseen QTP. 

Propchange: incubator/flex/trunk/frameworks/projects/tool_air/bundles/fi_FI/tool_air.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/frameworks/projects/tool_air/bundles/fi_FI/tool_air.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/trunk/frameworks/projects/tool_air/bundles/fr_FR/tool_air.properties
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/frameworks/projects/tool_air/bundles/fr_FR/tool_air.properties?rev=1351437&view=auto
==============================================================================
--- incubator/flex/trunk/frameworks/projects/tool_air/bundles/fr_FR/tool_air.properties (added)
+++ incubator/flex/trunk/frameworks/projects/tool_air/bundles/fr_FR/tool_air.properties Mon Jun 18 18:10:20 2012
@@ -0,0 +1,31 @@
+################################################################################
+##
+##  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.
+##
+################################################################################
+# Developer RTE Section
+
+# QTP_air messages
+
+noConnectionToQTP=L'application est li\u00e9e \u00e0 la biblioth\u00e8que Automation pour AIR. La connexion \u00e0 QTP n'a toutefois pas pu \u00eatre \u00e9tablie.
+noConnectionToQTP_Recommendation=Avant de d\u00e9marrer l'application, v\u00e9rifiez que QTP est ouvert et que le plug-in AIR y a \u00e9t\u00e9 activ\u00e9.
+
+securityError =Erreur de s\u00e9curit\u00e9 lors de la connexion \u00e0 QTP.
+airHelperClassNotFound=L'application est li\u00e9e \u00e0 la biblioth\u00e8que Automation pour AIR. Toutefois, pour que l'automatisation AIR soit op\u00e9rationnelle, vous devez utiliser la biblioth\u00e8que automation_air. Il est fortement recommand\u00e9 d'ajouter cette biblioth\u00e8que avant de poursuivre.
+propertyCannotBeEvaluated =La ou les propri\u00e9t\u00e9s '{0}' n'ont pas pu \u00eatre \u00e9valu\u00e9es.
+qtpConnectionAttempt=Tentative de connexion \u00e0 QTP. Cette op\u00e9ration peut prendre quelques secondes.
+qtpConnectionFailed=Connexion \u00e0 QTP impossible. QTP n'a pas \u00e9t\u00e9 d\u00e9marr\u00e9 ou plusieurs applications avec automatisation activ\u00e9e sont en cours d'ex\u00e9cution. Fermez toutes les occurrences de l'application, red\u00e9marrez QTP, puis red\u00e9marrez l'application.
+qtpConnectionSuccess=La connexion \u00e0 QTP a \u00e9t\u00e9 \u00e9tablie. 

Propchange: incubator/flex/trunk/frameworks/projects/tool_air/bundles/fr_FR/tool_air.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/frameworks/projects/tool_air/bundles/fr_FR/tool_air.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/trunk/frameworks/projects/tool_air/bundles/it_IT/tool_air.properties
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/frameworks/projects/tool_air/bundles/it_IT/tool_air.properties?rev=1351437&view=auto
==============================================================================
--- incubator/flex/trunk/frameworks/projects/tool_air/bundles/it_IT/tool_air.properties (added)
+++ incubator/flex/trunk/frameworks/projects/tool_air/bundles/it_IT/tool_air.properties Mon Jun 18 18:10:20 2012
@@ -0,0 +1,31 @@
+################################################################################
+##
+##  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.
+##
+################################################################################
+# Developer RTE Section
+
+# QTP_air messages
+
+noConnectionToQTP=L'applicazione \u00e8 collegata alla libreria di automazione per AIR, ma non \u00e8 stato possibile stabilire la connessione a QTP.
+noConnectionToQTP_Recommendation=Prima di avviare l'applicazione, assicurarsi che QTP sia aperto e abilitato con il plug-in AIR.
+
+securityError =Errore di sicurezza durante la connessione a QTP.
+airHelperClassNotFound=L'applicazione \u00e8 collegata alla libreria di automazione per AIR, ma per utilizzare l'automazione AIR \u00e8 necessario usare la libreria automation_air. Si consiglia di aggiungere questa libreria prima di continuare.
+propertyCannotBeEvaluated =Impossibile valutare la/le propriet\u00e0 {0}.
+qtpConnectionAttempt=Tentativo di connessione a QTP in corso. Questa operazione pu\u00f2 richiedere alcuni secondi.
+qtpConnectionFailed=Impossibile connettersi a QTP. QTP non \u00e8 stato avviato oppure potrebbero essere in esecuzione pi\u00f9 applicazioni abilitate all'automazione. Chiudere tutte le istanze dell'applicazione, riavviare QTP e quindi riavviare l'applicazione.
+qtpConnectionSuccess=Connessione a QTP riuscita. 

Propchange: incubator/flex/trunk/frameworks/projects/tool_air/bundles/it_IT/tool_air.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/frameworks/projects/tool_air/bundles/it_IT/tool_air.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/trunk/frameworks/projects/tool_air/bundles/ja_JP/tool_air.properties
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/frameworks/projects/tool_air/bundles/ja_JP/tool_air.properties?rev=1351437&view=auto
==============================================================================
--- incubator/flex/trunk/frameworks/projects/tool_air/bundles/ja_JP/tool_air.properties (added)
+++ incubator/flex/trunk/frameworks/projects/tool_air/bundles/ja_JP/tool_air.properties Mon Jun 18 18:10:20 2012
@@ -0,0 +1,31 @@
+################################################################################
+##
+##  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.
+##
+################################################################################
+# Developer RTE Section
+
+# QTP_air messages
+
+noConnectionToQTP=\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306f AIR \u306e\u30aa\u30fc\u30c8\u30e1\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u30ea\u30f3\u30af\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u3001QTP \u3078\u306e\u63a5\u7d9a\u3092\u78ba\u7acb\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002
+noConnectionToQTP_Recommendation=\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u8d77\u52d5\u3059\u308b\u524d\u306b\u3001QTP \u304c\u958b\u304b\u308c\u3066\u3044\u3066 AIR \u30d7\u30e9\u30b0\u30a4\u30f3\u304c\u6709\u52b9\u306b\u306a\u3063\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002
+
+securityError =QTP \u3078\u306e\u63a5\u7d9a\u4e2d\u306b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002
+airHelperClassNotFound=\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306f AIR \u306e\u30aa\u30fc\u30c8\u30e1\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u30ea\u30f3\u30af\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u3001AIR \u30aa\u30fc\u30c8\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u6709\u52b9\u306b\u3059\u308b\u306b\u306f\u3001automation_air \u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u7d9a\u884c\u3059\u308b\u524d\u306b\u3001\u3053\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002
+propertyCannotBeEvaluated =\u30d7\u30ed\u30d1\u30c6\u30a3 "{0}" \u3092\u8a55\u4fa1\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002
+qtpConnectionAttempt=QTP \u306b\u63a5\u7d9a\u3057\u3088\u3046\u3068\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u64cd\u4f5c\u306b\u306f\u6642\u9593\u304c\u304b\u304b\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002
+qtpConnectionFailed=QTP \u306b\u63a5\u7d9a\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002QTP \u304c\u8d77\u52d5\u3057\u3066\u3044\u306a\u3044\u304b\u3001\u8907\u6570\u306e\u30aa\u30fc\u30c8\u30e1\u30fc\u30b7\u30e7\u30f3\u5bfe\u5fdc\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u5b9f\u884c\u3055\u308c\u3066\u3044\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u3059\u3079\u3066\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u9589\u3058\u3066 QTP \u3092\u518d\u8d77\u52d5\u3057\u3066\u304b\u3089\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u518d\u8d77\u52d5\u3057\u3066\u304f\u3060\u3055\u3044\u3002
+qtpConnectionSuccess=QTP \u3078\u6b63\u5e38\u306b\u63a5\u7d9a\u3057\u307e\u3057\u305f\u3002 

Propchange: incubator/flex/trunk/frameworks/projects/tool_air/bundles/ja_JP/tool_air.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/frameworks/projects/tool_air/bundles/ja_JP/tool_air.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/trunk/frameworks/projects/tool_air/bundles/ko_KR/tool_air.properties
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/frameworks/projects/tool_air/bundles/ko_KR/tool_air.properties?rev=1351437&view=auto
==============================================================================
--- incubator/flex/trunk/frameworks/projects/tool_air/bundles/ko_KR/tool_air.properties (added)
+++ incubator/flex/trunk/frameworks/projects/tool_air/bundles/ko_KR/tool_air.properties Mon Jun 18 18:10:20 2012
@@ -0,0 +1,31 @@
+################################################################################
+##
+##  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.
+##
+################################################################################
+# Developer RTE Section
+
+# QTP_air messages
+
+noConnectionToQTP=\uc751\uc6a9 \ud504\ub85c\uadf8\ub7a8\uc774 AIR\uc758 \uc790\ub3d9\ud654 \ub77c\uc774\ube0c\ub7ec\ub9ac\uc5d0 \uc5f0\uacb0\ub418\uc5b4 \uc788\uc2b5\ub2c8\ub2e4. \uadf8\ub7ec\ub098 QTP\uc5d0 \ub300\ud55c \uc5f0\uacb0\uc744 \uc124\uc815\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.
+noConnectionToQTP_Recommendation=\uc751\uc6a9 \ud504\ub85c\uadf8\ub7a8\uc744 \uc2dc\uc791\ud558\uae30 \uc804\uc5d0 AIR \ud50c\ub7ec\uadf8\uc778\uc744 \uc0ac\uc6a9\ud574 QTP\uac00 \uc5f4\ub824 \uc788\uace0 \ud65c\uc131\ud654\ub418\uc5b4 \uc788\ub294\uc9c0 \ud655\uc778\ud558\uc2ed\uc2dc\uc624.
+
+securityError =QTP\uc5d0 \uc5f0\uacb0\ud558\ub294 \ub3d9\uc548 \ubcf4\uc548 \uc624\ub958\uac00 \ubc1c\uc0dd\ud588\uc2b5\ub2c8\ub2e4.
+airHelperClassNotFound=\uc751\uc6a9 \ud504\ub85c\uadf8\ub7a8\uc774 AIR\uc758 \uc790\ub3d9\ud654 \ub77c\uc774\ube0c\ub7ec\ub9ac\uc5d0 \uc5f0\uacb0\ub418\uc5b4 \uc788\uc2b5\ub2c8\ub2e4. \uadf8\ub7ec\ub098 AIR \uc790\ub3d9\ud654\uac00 \uc791\ub3d9\ud558\ub824\uba74 automation_air \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \uc0ac\uc6a9\ud574\uc57c \ud569\ub2c8\ub2e4. \uacc4\uc18d\ud558\uae30 \uc804\uc5d0 \uc774 \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \ucd94\uac00\ud558\ub294 \uac83\uc774 \uc88b\uc2b5\ub2c8\ub2e4.
+propertyCannotBeEvaluated =\uc18d\uc131 '{0}'\uc744(\ub97c) \ud3c9\uac00\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.
+qtpConnectionAttempt=QTP\uc5d0 \uc5f0\uacb0\ud558\ub824\ub294 \uc911\uc785\ub2c8\ub2e4. \uc774 \uc791\uc5c5\uc740 \uba87 \ucd08 \uc815\ub3c4 \uc18c\uc694\ub429\ub2c8\ub2e4.
+qtpConnectionFailed=QTP\uc5d0 \uc5f0\uacb0\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. QTP\uac00 \uc2dc\uc791\ub418\uc9c0 \uc54a\uc558\uac70\ub098 \uc790\ub3d9\ud654\uac00 \ud65c\uc131\ud654\ub41c \uc2e4\ud589 \uc911\uc778 \uc751\uc6a9 \ud504\ub85c\uadf8\ub7a8\uc774 \ub450 \uac1c \uc774\uc0c1 \uc788\uc2b5\ub2c8\ub2e4. \uc751\uc6a9 \ud504\ub85c\uadf8\ub7a8\uc758 \ubaa8\ub4e0 \uc778\uc2a4\ud134\uc2a4\ub97c \ub2eb\uace0 QTP\ub97c \ub2e4\uc2dc \uc2dc\uc791\ud55c \ub2e4\uc74c \uc751\uc6a9 \ud504\ub85c\uadf8\ub7a8\uc744 \ub2e4\uc2dc \uc2dc\uc791\ud558\uc2ed\uc2dc\uc624.
+qtpConnectionSuccess=QTP\uc5d0 \uc5f0\uacb0\ud588\uc2b5\ub2c8\ub2e4. 

Propchange: incubator/flex/trunk/frameworks/projects/tool_air/bundles/ko_KR/tool_air.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/frameworks/projects/tool_air/bundles/ko_KR/tool_air.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain