xml - FLEX_HOME environment variable Error -


running issue here. i'm trying build ant build.xml file, i'm running following error:

you must set flex_home environment variable sdk's home directory

based on i've run across, i'm supposed set flex_home variable in .bash_profile, .profile, or .bashrc file (which i've set in 3 still no luck). have set following:

export flex_home=/applications/adobe\ flash\ builder\ 4.7/sdks/4.6.0

i've tried this:

export flex_home="/applications/adobe flash builder 4.7/sdks/4.6.0"

no luck though. had other compile errors in build.xml file, making few hard coded references in build.xml seemed have fixed of issues exception of 1 above). can give little guidance on might doing wrong??

modified build.xml http://jsfiddle.net/jdubba/mc3yesqq/

original build.xml http://jsfiddle.net/jdubba/bp5fx8a6/

this closest reference find on issue: how set flex_home environment variable in flash builder

after days of research, changed build.xml original build , under "ant" window right clicked on ant build , selected:

run > external tools configurations...

clicked on "class path" tab , under "ant home" folder selection, added following .jar files:

ant-contrib-1.0b3.jar

flextasks.jar

then ran ant task , able compile no build errors.


Comments