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 2014/04/23 23:37:59 UTC

git commit: [flex-asjs] [refs/heads/develop] - need paths on windows?

Repository: flex-asjs
Updated Branches:
  refs/heads/develop aab8baff5 -> a3c0362bb


need paths on windows?


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

Branch: refs/heads/develop
Commit: a3c0362bb7cb68e18dd96e6a7d79db3662b6fb95
Parents: aab8baf
Author: Alex Harui <ah...@apache.org>
Authored: Wed Apr 23 14:37:52 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Wed Apr 23 14:37:52 2014 -0700

----------------------------------------------------------------------
 frameworks/js/build.xml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a3c0362b/frameworks/js/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/build.xml b/frameworks/js/build.xml
index 49e1259..e42f842 100644
--- a/frameworks/js/build.xml
+++ b/frameworks/js/build.xml
@@ -60,6 +60,8 @@
     <property file="${FLEXJS_HOME}/build.properties"/>
     <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}" />
     <property name="FLEX_HOME" value="${env.FLEX_HOME}" />
+	<property name="gjslint" value="gjslint" />
+	<property name="jshint" value="jshint" />
  
     <target name="main" depends="check-compile-env,clean,prepare,compile" 
         description="Clean build of all SWCs"/>
@@ -80,7 +82,7 @@
     
     <target name="compile" depends="flexjsjx" description="Validates JS code" unless="no.lint">
         <echo>running gjslint</echo>
-        <exec executable="gjslint" dir="${basedir}" failonerror="true">
+        <exec executable="${gjslint}" dir="${basedir}" failonerror="true">
             <arg value="--strict" />
             <arg value="--disable" />
             <arg value="006,100,214,300" />
@@ -94,7 +96,7 @@
             <arg value="FlexJS/src" />
         </exec>
         <echo>running jshint</echo>
-        <exec executable="jshint" dir="${basedir}" failonerror="true">
+        <exec executable="${jshint}" dir="${basedir}" failonerror="true">
             <arg value="--config" />
             <arg value="jshint.properties" />
             <arg value="FlexJS/src" />