You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2013/06/26 07:42:04 UTC
[4/4] git commit: [flex-falcon] [refs/heads/develop] - more fixes for
databinding
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 <ah...@apache.org>
Authored: Tue Jun 25 22:40:11 2013 -0700
Committer: Alex Harui <ah...@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);