Re: ApacheFlexBuild Nightly Build Server

2017-12-30 Thread Justin Mclean
Hi,

One other minor thing is that it’s not running rat but that should be easy to 
fix.

Thanks,
Justin

Re: ApacheFlexBuild Nightly Build Server

2017-12-30 Thread Justin Mclean
Hi,

> As a temporary measure it should be easy enough to set up a build on 
> builds.apache.org that makes the release package but doesn’t run the checkin 
> tests.

After a few minor changes to the build scripts to get the release to compile on 
Linux I have it set up and running here. [1] This produces a convenience binary 
but will have a have a couple of minor difference to one made on windows or 
OSX. The major one being the checking tests are not run during the build 
process. Minor things include it’s missing support for flash integration in 
flex, automation of the flash flex kit as both of these are not supported on 
Linux and it’s missing the asdocs/documentation for the mobile themes.

If you’re setting this up yourself somewhere a few thing that may help:
- TLF needs to be copied for it build. Currently this is slow between slave 
machines. There may be a better way to do it.
- You need to run with an unlimited security version of java
- The setup is basically run ant -f jenkins.xml followed by ant release.notests
- A couple of environment variables need to be set like so
AIR_HOME=$WORKSPACE/air/AIR\ Integration\ Kit/
PLAYERGLOBAL_HOME=$WORKSPACE/lib/player/
TLF_HOME=$WORKSPACE/TLF/
ANT_HOME=/usr/share/ant
- The release.notests doesn’t do a clean but the workspace is wiped on the 
start of the build

It seems that BLAZEDS_HOME is no longer required to set?

So far this is just a proof of concept and I not tested the Flex SDK it 
produces but I can’t see why their would be any major issues with it.

Infra / builds.apache.org do also have windows machines and we can restrict the 
build to those, that means the minor issues above disappear, and that we should 
be able to get the checkin and mustella tests running.

Thanks,
Justin

1. https://builds.apache.org/job/Apache%20Flex%20SDK/lastSuccessfulBuild/

4.16.1 release merged into master

2017-12-30 Thread Justin Mclean
Hi,

Looks like the last release wasn’t merged into master I just went ahead and did 
that.

Thanks,
Justin

Re: git commit: [flex-sdk] [refs/heads/develop] - testing if we can make a release build target without running the tests

2017-12-30 Thread Justin Mclean
Hi,

> This is one of the commit which causes build fail. What's the plan to fix
> that ?

That commit wasn’t the issue it was the one after that. I’ve pushed a fix and 
things should be back to normal.

Thanks,
Justin



Re: git commit: [flex-sdk] [refs/heads/develop] - testing if we can make a release build target without running the tests

2017-12-30 Thread Justin Mclean
Hi,

> This is one of the commit which causes build fail. What's the plan to fix 
> that ?

Odd that change is working fine locally and I can’t see how that would break 
the build i.e. adding new target that isn’t used.

I’ll look into it.

Thanks,
Justin

Re: git commit: [flex-sdk] [refs/heads/develop] - testing if we can make a release build target without running the tests

2017-12-30 Thread Piotr Zarzycki
This is one of the commit which causes build fail. What's the plan to fix
that ?

2017-12-30 7:26 GMT+01:00 :

> Repository: flex-sdk
> Updated Branches:
>   refs/heads/develop eeb68fcc4 -> 35214ffd3
>
>
> testing if we can make a release build target without running the tests
>
>
> Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
> Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/35214ffd
> Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/35214ffd
> Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/35214ffd
>
> Branch: refs/heads/develop
> Commit: 35214ffd3d88ea4eaa255befc693be2b25bca51d
> Parents: eeb68fc
> Author: Justin Mclean 
> Authored: Sat Dec 30 17:25:46 2017 +1100
> Committer: Justin Mclean 
> Committed: Sat Dec 30 17:25:46 2017 +1100
>
> --
>  build.xml | 5 -
>  1 file changed, 4 insertions(+), 1 deletion(-)
> --
>
>
> http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/35214ffd/build.xml
> --
> diff --git a/build.xml b/build.xml
> index 66842ec..d3f4781 100644
> --- a/build.xml
> +++ b/build.xml
> @@ -116,6 +116,9 @@
>depends="check-compile-env,check-runtime-env,check-adobe-
> extension-manager-env,source-release,binary-release,rat-check"
>  description="Creates source and binary kits for Apache Flex."/>
> +
> + +description="Creates source and binary kits for Apache Flex."/>
>
>depends="check-compile-env,check-runtime-env,source-
> package-pixelbender,binary-package-pixelbender"
> @@ -1417,7 +1420,7 @@ There are no known issues.
>  
>
>  
> - description="Run these tests before every checkin" />
> + description="Run these tests before every checkin" unless="no.checkintests"
> />
>  
>
>   depends="airmobile-basictests-mustella"
> description="Run these tests before every checkin to mobile SDK code"/>
>
>


-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
*


Re: Build failed in Jenkins: flex-sdk #1729

2017-12-30 Thread Piotr Zarzycki
What has been changed in the build and cause that fail ?

2017-12-30 11:33 GMT+01:00 :

> See 
>
> --
> [...truncated 1302 lines...]
>
> automation_agent_bundles-clean:
>
> automation_agent_bundles-clean:
>
> automation_agent_bundles-clean:
>
> automation_agent_bundles-clean:
>
> automation_agent_bundles-clean:
>
> automation_agent_bundles-clean:
>
> clean:
>
> bundles-clean:
>
> clean:
>
> clean:
>
> clean:
>
> clean:
>
> clean:
>
> clean:
>
> clean:
>
> bundles-clean:
>  [echo] IN bundles clean
>
> tool_air_bundles-clean:
>
> tool_air_bundles-clean:
>
> tool_air_bundles-clean:
>
> tool_air_bundles-clean:
>
> tool_air_bundles-clean:
>
> tool_air_bundles-clean:
>
> tool_air_bundles-clean:
>
> tool_air_bundles-clean:
>
> tool_air_bundles-clean:
>
> tool_air_bundles-clean:
>
> tool_air_bundles-clean:
>
> tool_air_bundles-clean:
>
> tool_air_bundles-clean:
>
> tool_air_bundles-clean:
>
> tool_air_bundles-clean:
>
> tool_air_bundles-clean:
>
> tool_air_bundles-clean:
>
> tool_air_bundles-clean:
>
> clean:
>
> airsdk-clean:
>
> flash-integration.clean:
>
> bundles-clean:
>
> clean:
>
> clean:
> [available] DEPRECATED -  used to override an existing property.
> [available]   Build file should not reuse the same property name for
> different values.
>
> check-tlf-home:
>
> bundles-clean:
>
> clean-external:
>  [echo] cleaning  sdk/ws/../flex-tlf>
>  [echo] FLEX_HOME is  cloudapp.net:8080/job/flex-sdk/ws/>
>  [echo] Minimal test is set false
>
> clean:
>
> clean:
>
> bundles-clean:
>
> assets-clean:
>
> clean:
>
> bundles-clean:
>
> clean:
>
> bundles-clean:
>
> assets-clean:
>
> clean:
>
> bundles-clean:
>
> clean:
>
> bundles-clean:
>
> clean:
>
> clean:
>
> clean:
>
> bundles-clean:
>
> clean:
>
> clean:
>
> clean:
>
> clean:
>
> clean:
>
> bundles-clean:
>
> clean:
>
> clean:
>
> bundles-clean:
>
> clean:
>
> bundles-clean:
>
> clean:
>
> bundles-clean:
>
> clean:
>
> bundles-clean:
>
> clean:
>
> bundles-clean:
>
> clean:
>
> clean:
>
> clean:
>
> clean:
>[delete] Deleting directory  cloudapp.net:8080/job/flex-sdk/ws/frameworks/libs>
>
> local-fonts-snapshot:
> [touch] Creating  sdk/ws/frameworks/localFonts.ser>
> [touch] Creating  sdk/ws/frameworks/macFonts.ser>
> [touch] Creating  sdk/ws/frameworks/winFonts.ser>
>
> thirdparty-downloads:
>
> pixelbender-check:
>
> pixelbender-download:
>
> swfobject-check:
>
> swfobject-download:
>
> swfobject-fabridge-download:
>
> osmf-check:
>
> osmf-download:
>
> download-osmf-swc:
>  [copy] Copying 1 file to  cloudapp.net:8080/job/flex-sdk/ws/frameworks/libs>
>
> font-jars-check:
>
> ask-font:
>
> get-font-jars:
>
> font-jars:
>
> clean-adobe-flex-sdk:
>
> optional-downloads:
>
> main:
>  [echo] Use thirdparty-clean or super-clean to remove these.
>
> prepare:
>
> playerglobal-setswfversion:
>
> flex-config:
>  [copy] Copying 1 file to  cloudapp.net:8080/job/flex-sdk/ws/frameworks>
>  [copy] Copying 1 file to  cloudapp.net:8080/job/flex-sdk/ws/frameworks>
>  [copy] Copying 1 file to  cloudapp.net:8080/job/flex-sdk/ws/frameworks>
>
> flash-integration.compile:
>
> flash_integration:
>
> bundles-clean:
>
> clean:
>
> compile:
>  [echo] Compiling frameworks/projects/flash-integration/libs/flash-
> integration.swc
> [compc] Loading configuration file C:\Jenkins\workspace\flex-sdk\
> frameworks\projects\framework\framework-config.xml
> [compc] Loading configuration file C:\Jenkins\workspace\flex-sdk\
> frameworks\projects\flash-integration\compile-config.xml
> [compc] Apache Flex compc (Component Compiler)
> [compc] Version 4.16.1 build 0
> [compc] Copyright 2017 The Apache Software Foundation.
> [compc]
> [compc] C:\Jenkins\workspace\flex-sdk\frameworks\projects\flash-
> integration\compile-config.xml(28): Error: unable to open
> '../../libs/framework.swc'
> [compc]
> [compc] 
> [compc]
> [compc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> BUILD FAILED
> :397:
> The following error occurred while executing this line:
>  sdk/ws/frameworks/build.xml>:138: The following error occurred while
> executing this line:
>  sdk/ws/frameworks/build.xml>:492: The following error occurred while
> executing this line:
>