I ran out of time for now. I’m now getting to the point of expanding the
FalconJX nightly where it fails:
Expanding:
/Users/harbs/Documents/ApacheFlex/FlexJS0.5.0/apache-flex-falconjx-0.5.0-bin.zip
into /Users/harbs/Documents/ApacheFlex/FlexJS0.5.0/falconjx
BUILD FAILED
/Users/harbs/Documents/ApacheFlex/FlexJS0.5.0/ApproveFlexJS.xml:419: Error
while expanding
/Users/harbs/Documents/ApacheFlex/FlexJS0.5.0/apache-flex-falconjx-0.5.0-bin.zip
java.util.zip.ZipException: archive is not a ZIP archive
at
org.apache.tools.zip.ZipFile.positionAtEndOfCentralDirectoryRecord(ZipFile.java:771)
at
org.apache.tools.zip.ZipFile.positionAtCentralDirectory(ZipFile.java:707)
at
org.apache.tools.zip.ZipFile.populateFromCentralDirectory(ZipFile.java:452)
at org.apache.tools.zip.ZipFile.<init>(ZipFile.java:214)
at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:168)
at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:132)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
at org.apache.tools.ant.Main.runBuild(Main.java:851)
at org.apache.tools.ant.Main.startAnt(Main.java:235)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
I will take another look later...
On Oct 14, 2015, at 10:09 AM, Alex Harui <[email protected]> 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/
>
>