What command-line are you running and what is FALCON_HOME set to? If you are trying to run from the repos, FALCON_HOME should be set to the flex-falcon repo’s compiler/generated/dist/sdk
There shouldn’t be a lib folder in flex-asjs unless you tried to convert it into an IDE compatible folder, which I’ve not tried. -Alex On 11/1/15, 4:13 AM, "Harbs" <harbs.li...@gmail.com> wrote: >In trying to figure out what the build script was doing, I got a bit >lost. I’m going to need some help here. > >The build script is including build_example.xml which has this: > > <path id="lib.path"> > <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/> > </path> > > <target name="compile" description="Compiles ${example}"> > <echo message="Compiling ${example}.swf"/> > <echo message="FLEX_HOME: ${FLEX_HOME}"/> > > <!-- 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" classpathref="lib.path"/> > >I’m getting an error at taskdef, and I’m not sure how to fix it. > >I’m not getting this bit. FALCON_HOME does not seem to have >lib/falcon-flexTasks.jar, but FLEX_HOME does. FALCON_HOME does have >flexTasks.tasks. No matter what I do, I’m getting an error along these >lines: > >/Users/harbs/Documents/Adobe Flash Builder >4.7/DataGridExample/build_example.xml:33: >/Users/harbs/ApacheFlex/flex-asjs/lib does not exist. > >I’m getting the error whether I make the path FLEX_HOME or FALCON_HOME. >Either way, this path DOES exist. > >On Nov 1, 2015, at 2:42 PM, Harbs <harbs.li...@gmail.com> wrote: > >> I’m using FB 4.7 and things are definietly better than they were with >>4.5. >> >> I got the DataGrid example to run, but I’m getting errors trying to run >>the DataBindingExample: >> >> ReferenceError: Error #1069: Property name not found on >>flash.display.LoaderInfo and there is no default value. >> at >>org.apache.flex.core::CSSFontFaceBead/errorHandler()[/Users/harbs/Documen >>ts/ApacheFlex/flex-asjs/frameworks/projects/Core/as/src/org/apache/flex/c >>ore/CSSFontFaceBead.as:122] >> >> It looks like I’m getting an ioError which is not being handled >>correctly: Error #2036: Load Never Completed. URL: >>fonts/flat-ui-icons-regular.swf >> >> I’m also getting an error when I try using Run > External Tools and >>select either of the FlexJS build options. Is that supposed to work? I >>seemed like yes from the wiki instructions. >> >> File not found: org.apache.flex.collections.ArrayList >> >> java.lang.RuntimeException: Unable to find JavaScript filePath for >>class: org.apache.flex.collections.ArrayList >> at >>org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWr >>iter.java:176) >> at >>org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWr >>iter.java:210) >> at >>org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWr >>iter.java:210) >> at >>org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWr >>iter.java:210) >> at >>org.apache.flex.compiler.internal.graph.GoogDepsWriter.buildDB(GoogDepsWr >>iter.java:128) >> at >>org.apache.flex.compiler.internal.graph.GoogDepsWriter.getListOfFiles(Goo >>gDepsWriter.java:80) >> at >>org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher >>.publish(MXMLFlexJSPublisher.java:330) >> at org.apache.flex.compiler.clients.MXMLJSC.compile(MXMLJSC.java:467) >> at >>org.apache.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:346) >> at >>org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:271) >> at >>org.apache.flex.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:23 >>0) >> at org.apache.flex.compiler.clients.MXMLJSC.main(MXMLJSC.java:176) >> >> and: >> Using Falcon codebase: >>/Users/harbs/Documents/ApacheFlex/flex-asjs/js/bin/../.. >> Using Flex SDK: /Users/harbs/Documents/ApacheFlex/flex-asjs/js/bin/../.. >> exception 'java.io.FileNotFoundException: /Users/harbs/Documents/Adobe >>Flash Builder 4.7/DataGridExample/.flexLibProperties' while setting >>variable '' >> at >>org.apache.flex.compiler.internal.config.FlashBuilderConfigurator$FlexLib >>PropertiesReader.read(FlashBuilderConfigurator.java:406) >> at >>org.apache.flex.compiler.internal.config.FlashBuilderConfigurator.compute >>FlashBuilderArgs(FlashBuilderConfigurator.java:102) >> at org.apache.flex.compiler.clients.MXMLJSC.configure(MXMLJSC.java:691) >> at >>org.apache.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:335) >> at >>org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:271) >> at >>org.apache.flex.compiler.clients.COMPJSC.staticMainNoExit(COMPJSC.java:15 >>4) >> at org.apache.flex.compiler.clients.COMPJSC.main(COMPJSC.java:102) >> using FlashBuilder Project Files >> FlashBuilder settings: >> -locale >> en_US >> -source-path+=/Users/harbs/Documents/Adobe Flash Builder >>4.7/DataGridExample/src >> -compiler.accessible=true >> -output=/Users/harbs/Documents/Adobe Flash Builder >>4.7/DataGridExample/bin-release/DataGridExample.swc >> -library-path+=/Users/harbs/Documents/Adobe Flash Builder >>4.7/DataGridExample/libs >> >>+flexlib=/Users/harbs/Documents/ApacheFlex/flex-asjs/js/bin/../../framewo >>rks >> -js-output-type=FLEXJS >> >>-sdk-js-lib=/Users/harbs/Documents/ApacheFlex/flex-asjs/js/bin/../../fram >>eworks/js/FlexJS/src >> -fb >> nothing was specified to be included in the library. >> >> >> ant does not work either, but it looks like the build script has some >>hard coded vars for dependencies. >> >> I’m okay with having to hand modify build scripts if necessary, but if >>there’s some way to make this easier for users, that’s probably a good >>idea. >> >> On Oct 26, 2015, at 9:29 PM, OmPrakash Muppirala <bigosma...@gmail.com> >>wrote: >> >>> I just pushed the .project files. I hope nothing else is broken. >>> >>> Thanks, >>> Om >>> >>> On Mon, Oct 26, 2015 at 12:24 PM, Harbs <harbs.li...@gmail.com> wrote: >>> >>>> Yes.I’m fine using a workaround for now. Although I can’t say I >>>>understand >>>> what you mean… ;-) >>>> >>>> On Oct 26, 2015, at 8:52 PM, Alex Harui <aha...@adobe.com> wrote: >>>> >>>>>> 2) Get that to work from the source folder (so I’m able to fix and >>>>>>add >>>> to >>>>>> the develop branch and debug changes). >>>>> >>>>> We’ll see how much of that works once Om pushes the .project files, >>>>>but >>>>> otherwise this is the part I’m asking if you can workaround until we >>>>> finish the JS to AS port and re-configure the project files so we >>>>>don’t >>>>> have to do it twice. >>>> >>>> >> >