Hi, I downloaded and built develop branch of Flex SDK (successful), then built falcon and falconjx (successful), adjusted build.properties in the ASJS directory and then tried to publish the sample using ASJS publisher using the following command line as advised in the README:
ant -Dproject.main.file=../examples/VanillaSDK_POC/src/Example.as However I get errors at both falconJx and closureBuilding steps which I do not understand how to fix. Can anyone advise what am I doing wrong? Thanks, Tigran. Full output of ASJS publisher with the error message below: D:\WORK\Projects\ApacheFlex\repo\asjs\branches\develop\publisher>ant -Dproject.main.file=../examples/VanillaSDK_POC/src/Example.as Buildfile: D:\WORK\Projects\ApacheFlex\repo\asjs\branches\develop\publisher\build.xml cleanIntermediate: cleanRelease: clean: [echo] Delete 'intermediate' and 'release' directories createDirs: [echo] Create 'intermediate' and 'release' directory structure [mkdir] Created dir: D:\WORK\Projects\ApacheFlex\repo\asjs\branches\develop\examples\VanillaSDK_P OC\js-intermediate [mkdir] Created dir: D:\WORK\Projects\ApacheFlex\repo\asjs\branches\develop\examples\VanillaSDK_P OC\js-release prepareOutput: [echo] [echo] Creating 'intermediate' and 'release' target directory requirements [echo] [copy] Copying 1745 files to D:\WORK\Projects\ApacheFlex\repo\asjs\branches\develop\examples\VanillaSDK_P OC\js-intermediate\goog [copy] Copied 133 empty directories to 16 empty directories under D:\WORK\Projects\ApacheFlex\repo\asjs\branches\develop\examples\VanillaSDK_P OC\js-intermediate\go og [copy] Copying 15 files to D:\WORK\Projects\ApacheFlex\repo\asjs\branches\develop\examples\VanillaSDK_P OC\js-intermediate\goog_thirdParty [copy] Copied 13 empty directories to 1 empty directory under D:\WORK\Projects\ApacheFlex\repo\asjs\branches\develop\examples\VanillaSDK_P OC\js-intermediate\goog_t hirdParty [copy] Copying 7 files to D:\WORK\Projects\ApacheFlex\repo\asjs\branches\develop\examples\VanillaSDK_P OC\js-intermediate\VanillaSDK ifWindows: ifOtherOS: falconJx: [echo] Compiling the AS project into intermediate JS [exec] Using Flex SDK: D:\WORK\Projects\ApacheFlex\repo\sdk\branches\develop [exec] Exception in thread "main" java.lang.UnsupportedOperationException [exec] at org.apache.flex.compiler.internal.driver.as.ASBackend.getSourceFileHandlerIn stance(ASBackend.java:70) [exec] at org.apache.flex.compiler.clients.MXMLJSC.<init>(MXMLJSC.java:201) [exec] at org.apache.flex.compiler.clients.MXMLJSC.main(MXMLJSC.java:169) [exec] Result: 1 calculateDependencies: [echo] Calculating dependencies and writing them to 'deps.js' closureBuilding: [echo] Creating combined and compiled output JS [exec] D:\WORK\Projects\ApacheFlex\dependencies\GoogleClosure\library\closure\bin\b uild/closurebuilder.py: Scanning paths... [exec] D:\WORK\Projects\ApacheFlex\dependencies\GoogleClosure\library\closure\bin\b uild/closurebuilder.py: 869 sources scanned. [exec] D:\WORK\Projects\ApacheFlex\dependencies\GoogleClosure\library\closure\bin\b uild/closurebuilder.py: Building dependency tree.. [exec] Traceback (most recent call last): [exec] File "D:\WORK\Projects\ApacheFlex\dependencies\GoogleClosure\library\closure\bin\ build/closurebuilder.py", line 256, in <module> [exec] main() [exec] File "D:\WORK\Projects\ApacheFlex\dependencies\GoogleClosure\library\closure\bin\ build/closurebuilder.py", line 223, in main [exec] deps = [base] + tree.GetDependencies(input_namespaces) [exec] File "D:\WORK\Projects\ApacheFlex\dependencies\GoogleClosure\library\closure\bin\ build\depstree.py", line 80, in GetDependencies [exec] namespace, [], self._provides_map, []): [exec] File "D:\WORK\Projects\ApacheFlex\dependencies\GoogleClosure\library\closure\bin\ build\depstree.py", line 118, in _ResolveDependencies [exec] raise NamespaceNotFoundError(required_namespace) [exec] depstree.NamespaceNotFoundError: Namespace "Example" never provided. BUILD FAILED D:\WORK\Projects\ApacheFlex\repo\asjs\branches\develop\publisher\build.xml:1 40: The following error occurred while executing this line: D:\WORK\Projects\ApacheFlex\repo\asjs\branches\develop\publisher\build.xml:6 6: exec returned: 1 Total time: 8 seconds