Cleaning the repo seemed to have helped somewhat, but I still could not
compile, and I’m assuming because I need to build falcon:
Buildfile:
/Users/harbs/Documents/ApacheFlex/flex-asjs/frameworks/projects/XML/build.xml
clean:
check-falcon-home:
[echo] FALCON_HOME is
/Users/harbs/Documents/ApacheFlex/flex-falcon/compiler
check-falconjx-home:
[echo] FALCONJX_HOME is
/Users/harbs/Documents/ApacheFlex/flex-falcon/compiler.jx
[available] DEPRECATED - <available> used to override an existing property.
[available] Build file should not reuse the same property name for different
values.
more-props:
compile-asjs:
[echo] Cross-compiling XML-0.6.0.swc
[echo] FALCONJX_HOME:
/Users/harbs/Documents/ApacheFlex/flex-asjs/../flex-falcon/compiler.jx
[java]
/Users/harbs/Documents/ApacheFlex/flex-asjs/frameworks/projects/XML/src/main/resources/compile-asjs-config.xml:49
[java] unable to open
'/Users/harbs/Documents/ApacheFlex/flex-asjs/frameworks/externs/Core.swc'.
[java]
/Users/harbs/Documents/ApacheFlex/flex-asjs/frameworks/projects/XML/src/main/resources/compile-asjs-config.xml
(line: 49)
[java] </library-path>
[java]
[java]
[java] command line
[java] unable to open
'/Users/harbs/Documents/ApacheFlex/flex-falcon/externs/js/out/bin/js.swc'.
[java]
[java]
[java] command line
[java] unable to open
'/Users/harbs/Documents/ApacheFlex/flex-falcon/externs/GCL/out/bin/GCL.swc'.
[java]
[java]
[java] Java Result: 5
compile-extern-swc:
[echo] Compiling target/externs/XML-0.6.0.swc
[echo] FLEX_HOME: /Users/harbs/Documents/ApacheFlex/flex-asjs
[echo] FALCON_HOME:
/Users/harbs/Documents/ApacheFlex/flex-asjs/../flex-falcon/compiler/generated/dist/sdk
[compc] Loading configuration:
/Users/harbs/Documents/ApacheFlex/flex-asjs/frameworks/projects/XML/src/main/resources/compile-asjs-config.xml
[compc]
[compc]
/Users/harbs/Documents/ApacheFlex/flex-asjs/frameworks/projects/XML/src/main/resources/compile-asjs-config.xml:49
[compc] Error: unable to open
'/Users/harbs/Documents/ApacheFlex/flex-asjs/frameworks/externs/Core.swc'.
[compc]
/Users/harbs/Documents/ApacheFlex/flex-asjs/frameworks/projects/XML/src/main/resources/compile-asjs-config.xml
(line: 49)
[compc] </library-path>
[compc]
[compc]
[compc] command line
[compc] Error: unable to open
'/Users/harbs/Documents/ApacheFlex/flex-falcon/externs/js/out/bin/js.swc'.
[compc]
[compc]
[compc] command line
[compc] Error: unable to open
'/Users/harbs/Documents/ApacheFlex/flex-falcon/externs/GCL/out/bin/GCL.swc'.
[compc]
[compc]
I tried to do that, and I get the following error (I removed my env.properties
file):
Harbss-MacBook-Pro:flex-falcon harbs$ ant
Buildfile: /Users/harbs/Documents/ApacheFlex/flex-falcon/build.xml
sdk:
download:
prepare:
[echo] Making lib directory
/Users/harbs/Documents/ApacheFlex/flex-falcon/compiler/lib
all:
check-dependency:
download-dependency:
check-dependency:
download-dependency:
[copy] Warning:
/Users/harbs/Documents/ApacheFlex/flex-falcon/compiler/in/temp/commons-cli-1.2
does not exist.
check-dependency:
download-dependency:
[copy] Warning:
/Users/harbs/Documents/ApacheFlex/flex-falcon/compiler/in/temp/commons-io-2.4
does not exist.
check-dependency:
download-dependency:
check-dependency:
download-dependency:
[copy] Warning:
/Users/harbs/Documents/ApacheFlex/flex-falcon/compiler/in/temp does not exist.
check-dependency:
download-dependency:
[copy] Warning:
/Users/harbs/Documents/ApacheFlex/flex-falcon/compiler/in/temp/jflex-1.6.0 does
not exist.
check-dependency:
download-dependency:
check-dependency:
download-dependency:
main:
setup:
set.raw.as.tokenizer.uptodate:
raw.as.tokenizer:
set.raw.asdoc.tokenizer.uptodate:
raw.asdoc.tokenizer:
set.raw.mxml.tokenizer.uptodate:
raw.mxml.tokenizer:
jflex:
annotate.class:
set.as.parser.uptodate:
as.parser:
set.metadata.parser.uptodate:
metadata.parser:
set.css.lexer.and.parser.uptodate:
css.lexer.and.parser:
set.css.tree.uptodate:
css.tree:
antlr:
node.adapter:
unknown.tree.pattern.input.output:
set.unknown.tree.handler.patterns.uptodate:
unknown.tree.handler.patterns:
set.cmc.emitter.uptodate:
cmc.emitter:
set.css.emitter.uptodate:
css.emitter:
jburg:
eclipse:
src.depend:
compile:
problem.localizer:
set.messages.en.uptodate:
localization:
version-info:
set.compiler.jar.uptodate:
compiler.jar:
set.falcon.asc.jar.uptodate:
falcon.asc.jar:
set.falcon.mxmlc.jar.uptodate:
falcon.mxmlc.jar:
set.falcon.compc.jar.uptodate:
falcon.compc.jar:
set.falcon.optimizer.jar.uptodate:
falcon.optimizer.jar:
set.falcon.swfdump.jar.uptodate:
falcon.swfdump.jar:
set.falcon.flextasks.jar.uptodate:
falcon.flextasks.jar:
jar:
dist-dev:
sdk:
javadoc:
tests:
download:
prepare:
junit-jar-check:
junit-jar:
main:
compile.unit.tests:
[delete] Deleting directory
/Users/harbs/Documents/ApacheFlex/flex-falcon/compiler.tests/classes
[mkdir] Created dir:
/Users/harbs/Documents/ApacheFlex/flex-falcon/compiler.tests/classes
[javac] Compiling 67 source files to
/Users/harbs/Documents/ApacheFlex/flex-falcon/compiler.tests/classes
unit.tests:
[junit] unittest.properties not found
[junit] environment property - FLEX_HOME =
/Users/harbs/Documents/ApacheFlex/flex-falcon/compiler/generated/dist/sdk
[junit] environment property - PLAYERGLOBAL_HOME =
/Users/harbs/Documents/ApacheFlex/flex-falcon/compiler/generated/dist/sdk/frameworks/libs/player
[junit] environment property - PLAYERGLOBAL_VERSION = 11.1
[junit] environment property - TLF_HOME = null
[junit] environment property - AIR_HOME = null
[junit] environment property - FLASHPLAYER_DEBUGGER = null
[junit] Running
org.apache.flex.compiler.internal.css.CSSArrayPropertyValueTests
[junit]
/Users/harbs/Documents/ApacheFlex/flex-falcon/compiler.tests/temp/CSSArrayPropertyValueTests1302202013659801041.mxml(0):
This tag could not be resolved to an ActionScript class. It will be ignored.
[junit]
/Users/harbs/Documents/ApacheFlex/flex-falcon/compiler.tests/temp/CSSArrayPropertyValueTests6113005395456480931.mxml(0):
This tag could not be resolved to an ActionScript class. It will be ignored.
[junit] Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed:
0.694 sec
BUILD FAILED
/Users/harbs/Documents/ApacheFlex/flex-falcon/build.xml:82: The following error
occurred while executing this line:
/Users/harbs/Documents/ApacheFlex/flex-falcon/compiler.tests/build.xml:103:
Tests failed
On Feb 15, 2016, at 8:47 AM, Harbs <[email protected]> wrote:
> OK. I’ll try to clean my repos and try again.
>
> On Feb 15, 2016, at 8:30 AM, Alex Harui <[email protected]> wrote:
>
>>
>>
>> On 2/14/16, 7:51 AM, "Harbs" <[email protected]> wrote:
>>
>>> The main build.xml is not working either. I can’t seem to get anything to
>>> build.
>>>
>>> I just checked out the latest source from all repos.
>>>
>>> When I try to build falcon, I get an error in junit. It cannot seem to
>>> find TLF_HOME, AIR_HOME or FLASHPLAYER_DEBUGGER.
>>
>> Please post console output somewhere. In theory the default build should
>> not need TLF_HOME.
>>
>>>
>>> When trying to build flex-asjs, I get the error that it can’t get
>>> https://search.maven.org/remotecontent?filepath=/org/apache/flex/flex-tool
>>> -api/1.0.0/flex-tool-api-1.0.0.jar
>>
>> This implies your flex-sdk is not in sync. Change
>> d103170c3246e34dabea342ec6d70d32c53017a7 removed the slash before the
>> "org".
>>
>>
>>>
>>> When trying to just build XML, I get this error: Could not load
>>> definitions from resource flexTasks.tasks. It could not be found.
>>
>> I just synced the e4x branch, unset my FLEX_HOME, ASJS_HOME, FALCONJX_HOME
>> and FALCON_HOME environment variables and ran ant at the root of flex-asjs
>> and everything built. It correctly defaulted to the appropriate folders
>> in ../flex-falcon. If you have tried to set those variables, try not
>> setting them at all and let it choose for you.
>>
>> I also just committed modifications of frameworks/projects/XML/build.xml
>> and got it to correctly pick up the right folders and attempt to build the
>> XML files.
>>
>> In looking at the output in your earlier posts, it occurred to me that
>> maybe you have tried to convert your repo working copy to an
>> IDE-compatible folder. The build.xml files don't currently support that.
>> I have updated the FB project files in the develop branch so they seem to
>> work together without having to mix the AIR SDK into the repo files. The
>> files expect that you are using some sort of FlexJS sdk that you've
>> installed via the installer, but they only use the compiler in the SDK,
>> they don't use any of the SWCs, they only use the files in the repo.
>>
>> HTH,
>> -Alex
>>
>