Are you running "ant examples" from the root?  Or "ant" from examples, or
"ant" from individual folders?  It could be that individual folders don't
set up the environment variables.

Try running "ant examples" from the root and see what you get.  The one I
usually work with is DataBindingTest.

Thanks,
-Alex

On 4/19/14 11:02 PM, "Justin Mclean" <jus...@classsoftware.com> wrote:

>Hi,
>
>Well finally got it to compile and tried to try out some examples:
>
>1. Tried FlexJSTest_basic.
>ran ant and got this:
>build_example.compilejs:
>     [echo] Compiling FlexJSTest_basic.js
>     [echo] FLEX_HOME:
>/Users/justinmclean/Downloads/Flex-FlexJS-RC2/apache-flex-flexjs-0.0.1-src
>     [echo] FALCONJX_HOME: ${FALCONJX_HOME}
>     [echo] GOOG_HOME: ${GOOG_HOME}
>     [java] Error: Unable to access jarfile
>/Users/justinmclean/Downloads/Flex-FlexJS-RC2/apache-flex-flexjs-0.0.1-src
>/examples/FlexJSTest_basic/${FALCONJX_HOME}/lib/mxmlc.jar
>     [java] Java Result: 1
>
>BUILD FAILED
>/Users/justinmclean/Downloads/Flex-FlexJS-RC2/apache-flex-flexjs-0.0.1-src
>/examples/build_example.xml:148: condition satisfied
>
>Both environment variables are set:
>echo $FALCONJX_HOME
>/Users/justinmclean/Downloads/Flex-Falcon-RC3/apache-flex-falconjx-0.0.1-s
>rc/compiler.jx/
>echo $GOOG_HOME 
>/Users/justinmclean/Downloads/closure-library/
>
>2. Tried FlexJSTest_HTML5 and got this:
>BUILD FAILED
>/Users/justinmclean/Downloads/Flex-FlexJS-RC2/apache-flex-flexjs-0.0.1-src
>/examples/build_example.xml:33:
>/Users/justinmclean/Downloads/Flex-FlexJS-RC2/apache-flex-flexjs-0.0.1-src
>/examples/FlexJSTest_HTML5/${FALCON_HOME}/lib does not exist.
>
>Again FALCON_HOME exists.
>
>3. Tried FormatExample and it compiles to a swf not JS.
>
>4. Tried DrawShapesTest there's no ant build file.
>
>5. Tried DateChooserExample it managed to compile and actually worked,
>ugly but working. Finally!
>
>6. Tried ListTests also compile to JS and it also worked. (BTW noticed
>double scrollbar indicators when arrow up or down at top or bottom of
>list).
>
>How do we know which examples currently work? Perhaps a README in the
>example directory would help?
>
>Thanks,
>Justin
>
>
>
>

Reply via email to