You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Alex Harui <ah...@adobe.com> on 2014/04/19 08:13:56 UTC

[DISCUSS] Discuss Apache FlexJS 0.0.1 RC3

Only changes are to point the installer to FalconJX RC4 (once the site
builder comes back on-line) and stop defaulting to the nightly build for
Falcon for Ant users, and a minor change to the README.

Votes from RC2 will carryover.

-Alex


Re: [DISCUSS] Discuss Apache FlexJS 0.0.1 RC3

Posted by Alex Harui <ah...@adobe.com>.

On 4/20/14 1:56 AM, "Justin Mclean" <ju...@classsoftware.com> wrote:

>HI,
>
>> Let's just focus on DataBindingTest for now.
>It works sort of. You need to click the button after selecting the stock.
>I would of assumed that a data binding example would change automatically
>when changing the combo box.
>
>> IMO, if that works, (pick one of the stocks from the list and get a
>>quote) it should be good enough.
>You need to click a button to get the results - does that mean it's
>broken?
Nope, that's the way it currently is set up to work.  Avoids a network
fetch if you accidentally select the wrong item.  Sounds like things are
working for you as I would expect.


Thanks for trying,
-Alex


Re: [DISCUSS] Discuss Apache FlexJS 0.0.1 RC3

Posted by Justin Mclean <ju...@classsoftware.com>.
HI,

> Let's just focus on DataBindingTest for now.  
It works sort of. You need to click the button after selecting the stock. I would of assumed that a data binding example would change automatically when changing the combo box.

> IMO, if that works, (pick one of the stocks from the list and get a quote) it should be good enough.
You need to click a button to get the results - does that mean it's broken?

Thanks,
Justin

Re: [DISCUSS] Discuss Apache FlexJS 0.0.1 RC3

Posted by Alex Harui <ah...@adobe.com>.

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

>Hi,
>
>> Try running "ant examples" from the root and see what you get.  The one
>>I
>> usually work with is DataBindingTest.
>
>Can you provide a list of which tests work and which don't - that way I
>know if something is wrong and if something isn't.
Let's just focus on DataBindingTest for now.  Build it by running "ant
examples" from the root.  I think I'll add to the README and RELEASE_NOTES
to get folks to do the same.  IMO, if that works, (pick one of the stocks
from the list and get a quote) it should be good enough.

I'm shutting down for the night.  Will check in the morning.  Thanks again
for trying it.

-Alex


Re: [DISCUSS] Discuss Apache FlexJS 0.0.1 RC3

Posted by Justin Mclean <ju...@classsoftware.com>.
Hi,

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

Can you provide a list of which tests work and which don't - that way I know if something is wrong and if something isn't.

Justin

Re: [DISCUSS] Discuss Apache FlexJS 0.0.1 RC3

Posted by Alex Harui <ah...@adobe.com>.
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" <ju...@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
>
>
>
>


Re: [DISCUSS] Discuss Apache FlexJS 0.0.1 RC3

Posted by Justin Mclean <ju...@classsoftware.com>.
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-src/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





Re: [DISCUSS] Discuss Apache FlexJS 0.0.1 RC3

Posted by Alex Harui <ah...@adobe.com>.
On 4/19/14 10:30 PM, "Justin Mclean" <ju...@classsoftware.com> wrote:

>Hi,
>
>> Thanks for trying it.  Gjslint is the Google Closure Linter that should
>>be
>> mentioned in the READme.
>
>
>Thanks it is mentioned in the README and isn't too hard to install but
>wont install as described due to permission issues on OSX.

I'm not clear what you had to do to get gjslint to run.  Can you describe
here or add to the README?


>
>The JShint README instructions could do with a little more than the URL
>as there's a few dozen version there.
>http://www.jshint.com/install/
>
>Tried installing the node.js one (via npm install jshint) but still got
>an error running ant.
>
>Turns out you need to do this - which is mentioned on the JShint
>documentation page not the download page.
>npm install jshint -g
>
>And again you'll have permission issues (os OSX) that you will need to
>get around.
Was there permission issues beyond using -g?  I honestly don't recall
hitting these, but it's been several months since.

>
>The amount of pre-requisites there is certainly a barrier for people to
>try this out.
I think, like the Flex SDK, most folks will use the binary packages and
won't be blocked by these issues.

Maybe for a future release we'll take out the linting from the builds for
the source package but keep them for the repo builds.

So did it finally build for you?

Thanks,
-Alex


Re: [DISCUSS] Discuss Apache FlexJS 0.0.1 RC3

Posted by Justin Mclean <ju...@classsoftware.com>.
Hi,

> Thanks for trying it.  Gjslint is the Google Closure Linter that should be
> mentioned in the READme.


Thanks it is mentioned in the README and isn't too hard to install but wont install as described due to permission issues on OSX.

The JShint README instructions could do with a little more than the URL as there's a few dozen version there.
http://www.jshint.com/install/

Tried installing the node.js one (via npm install jshint) but still got an error running ant.

Turns out you need to do this - which is mentioned on the JShint documentation page not the download page.
npm install jshint -g

And again you'll have permission issues (os OSX) that you will need to get around.

The amount of pre-requisites there is certainly a barrier for people to try this out.

Thanks,
Justin



Re: [DISCUSS] Discuss Apache FlexJS 0.0.1 RC3

Posted by Alex Harui <ah...@adobe.com>.
Hi Justin,

Thanks for trying it.  Gjslint is the Google Closure Linter that should be
mentioned in the READme.

Thanks,
-Alex

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

>HI,
>
>Tried to compile RC2 but got this:
>
>compile:
>     [echo] running gjslint
>
>BUILD FAILED
>/Users/justinmclean/Downloads/Flex-FlexJS-RC2/apache-flex-flexjs-0.0.1-src
>/build.xml:415: The following error occurred while executing this line:
>/Users/justinmclean/Downloads/Flex-FlexJS-RC2/apache-flex-flexjs-0.0.1-src
>/frameworks/js/build.xml:83: Execute failed: java.io.IOException: Cannot
>run program "gjslint" (in directory
>"/Users/justinmclean/Downloads/Flex-FlexJS-RC2/apache-flex-flexjs-0.0.1-sr
>c/frameworks/js"): error=2, No such file or directory
>
>Where goes gjslint come from/get installed?
>
>Thanks,
>Justin


Re: [DISCUSS] Discuss Apache FlexJS 0.0.1 RC3

Posted by Justin Mclean <ju...@classsoftware.com>.
HI,

Tried to compile RC2 but got this:

compile:
     [echo] running gjslint

BUILD FAILED
/Users/justinmclean/Downloads/Flex-FlexJS-RC2/apache-flex-flexjs-0.0.1-src/build.xml:415: The following error occurred while executing this line:
/Users/justinmclean/Downloads/Flex-FlexJS-RC2/apache-flex-flexjs-0.0.1-src/frameworks/js/build.xml:83: Execute failed: java.io.IOException: Cannot run program "gjslint" (in directory "/Users/justinmclean/Downloads/Flex-FlexJS-RC2/apache-flex-flexjs-0.0.1-src/frameworks/js"): error=2, No such file or directory

Where goes gjslint come from/get installed?

Thanks,
Justin