It looks like the script requires a number of other env vars setup:
FALCONJX_HOME
GOOG_HOME
etc.

Can I suggest that the script checks for ALL env vars at the start of the 
script so all missing vars are discovered right away?

On Oct 14, 2015, at 10:09 AM, Alex Harui <aha...@adobe.com> wrote:

> Hi,
> 
> Similar to the FalconJX discuss thread, I spent some time today trying to
> make the FlexJS release testing simpler.  And like for FalconJX, it would
> be great for folks to try it and report issues.
> 
> You still need to set up the pre-requisites manually (Ant, Java, AIR,
> Flash playerglobal, Flash Player Debugger), but ‘ant all’ should now run
> without needing flex-sdk or flex-asjs or any other repo.  Of course, my
> system isn’t quite as ‘clean’ as some of yours so I may have missed
> something.
> 
> For FlexJS, I opted to update the ApproveFlexJS script so that pull a
> binary release of FalconJX and FlexUnit so you don’t need to set up any
> additional environment variables.  Note, though, that I did not put the
> logic to pull those binary releases into the main build scripts because,
> at least for me as a developer, I don’t want to be working against binary
> artifacts, I want to be working against the various repos.
> 
> So, to try out my latest attempt at simplification, you must use the
> ApproveFlexJS script which you can get from [1].  See the steps below:
> 
> 0) Make sure Ant and Java are in the path, and set up AIR_HOME,
> PLAYERGLOBAL_HOME and FLASHPLAYER_DEBUGGER environment variables if you
> haven’t already.  Then:
> 1) create an empty folder.
> 2) Copy ApproveFlexJS.xml from the flex-asjs repo or download it here
> [1] and copy it into the empty folder
> 3) From the empty folder, run ‘ant -e -f ApproveFlexJS.xml
> -Drelease.version=0.5.0’
> 
> It will take you through examining the notice files and then at the end,
> it should download FalconJX and FlexUnit, then build FlexJS and run its
> tests unattended.
> 
> If you want to grab the bits manually, they are here [2].
> 
> Thanks in advance for trying it.
> -Alex
> 
> [1] 
> https://git-wip-us.apache.org/repos/asf/flex-sdk/repo?p=flex-asjs.git;a=blo
> b_plain;f=ApproveFlexJS.xml;hb=refs/heads/develop
> [2] 
> http://apacheflexbuild.cloudapp.net:8080/job/flex-asjs/lastSuccessfulBuild/
> artifact/out/
> 
> 

Reply via email to