flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [4/4] git commit: [flex-falcon] [refs/heads/develop] - more fixes for databinding
Date Wed, 26 Jun 2013 05:42:04 GMT
more fixes for databinding


Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/4af7ad21
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/4af7ad21
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/4af7ad21

Branch: refs/heads/develop
Commit: 4af7ad216d344d76fc8dc18d77f426c5e03b9215
Parents: a50776c
Author: Alex Harui <aharui@apache.org>
Authored: Tue Jun 25 22:40:11 2013 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Tue Jun 25 22:40:11 2013 -0700

----------------------------------------------------------------------
 compiler.jx/build.xml                                     |  2 +-
 .../internal/projects/FlexProjectConfigurator.java        | 10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/4af7ad21/compiler.jx/build.xml
----------------------------------------------------------------------
diff --git a/compiler.jx/build.xml b/compiler.jx/build.xml
index af29c60..7d53854 100644
--- a/compiler.jx/build.xml
+++ b/compiler.jx/build.xml
@@ -80,7 +80,7 @@
 	
 	<target name="main" depends="prebuild,copyFiles,compile">
         
-        <property name="jar.classpath" value="commons-io.jar google/closure-compiler/compiler.jar
../../compiler/generated/dist/sdk/lib/compiler.jar ../../lib/compiler.jar" />
+        <property name="jar.classpath" value="commons-io.jar ../../lib/external/guava.jar
google/closure-compiler/compiler.jar ../../compiler/generated/dist/sdk/lib/compiler.jar ../../lib/compiler.jar"
/>
 
 		<echo message="Building ${jsc.jar}" />
 		<jar file="${jsc.jar}" basedir="${classes.dir}"

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/4af7ad21/compiler/src/org/apache/flex/compiler/internal/projects/FlexProjectConfigurator.java
----------------------------------------------------------------------
diff --git a/compiler/src/org/apache/flex/compiler/internal/projects/FlexProjectConfigurator.java
b/compiler/src/org/apache/flex/compiler/internal/projects/FlexProjectConfigurator.java
index 1c247f2..00987d8 100644
--- a/compiler/src/org/apache/flex/compiler/internal/projects/FlexProjectConfigurator.java
+++ b/compiler/src/org/apache/flex/compiler/internal/projects/FlexProjectConfigurator.java
@@ -183,32 +183,32 @@ public class FlexProjectConfigurator
             String configValue = configuration.getBindingEventHandlerEvent();
             int dotIndex;
             dotIndex = configValue.lastIndexOf(".");
-            String packageName = configValue.substring(0, dotIndex - 1);
+            String packageName = configValue.substring(0, dotIndex);
             String className = configValue.substring(dotIndex + 1);
             BindableHelper.NAME_EVENT = new Name(CONSTANT_Qname, new Nsset(new Namespace(CONSTANT_PackageNs,
packageName)), className);
             
             configValue = configuration.getBindingEventHandlerClass();
             dotIndex = configValue.lastIndexOf(".");
-            packageName = configValue.substring(0, dotIndex - 1);
+            packageName = configValue.substring(0, dotIndex);
             className = configValue.substring(dotIndex + 1);
             BindableHelper.NAME_EVENT_DISPATCHER = new Name(CONSTANT_Qname, new Nsset(new
Namespace(CONSTANT_PackageNs, packageName)), className);
     
             configValue = configuration.getBindingEventHandlerInterface();
             dotIndex = configValue.lastIndexOf(".");
-            packageName = configValue.substring(0, dotIndex - 1);
+            packageName = configValue.substring(0, dotIndex);
             className = configValue.substring(dotIndex + 1);
             BindableHelper.NAME_IEVENT_DISPATCHER = new Name(CONSTANT_Qname, new Nsset(new
Namespace(CONSTANT_PackageNs, packageName)), className);
     
             configValue = configuration.getBindingValueChangeEvent();
             dotIndex = configValue.lastIndexOf(".");
-            packageName = configValue.substring(0, dotIndex - 1);
+            packageName = configValue.substring(0, dotIndex);
             className = configValue.substring(dotIndex + 1);
             BindableHelper.NAME_PROPERTY_CHANGE_EVENT = new Name(CONSTANT_Qname, new Nsset(new
Namespace(CONSTANT_PackageNs, packageName)), className);
             BindableHelper.NAMESPACE_MX_EVENTS = new Namespace(CONSTANT_PackageNs, packageName);
             
             configValue = configuration.getBindingValueChangeEventKind();
             dotIndex = configValue.lastIndexOf(".");
-            packageName = configValue.substring(0, dotIndex - 1);
+            packageName = configValue.substring(0, dotIndex);
             className = configValue.substring(dotIndex + 1);
             BindableHelper.NAME_PROPERTY_CHANGE_EVENT_KIND = new Name(CONSTANT_Qname, new
Nsset(new Namespace(CONSTANT_PackageNs, packageName)), className);
         


Mime
View raw message