flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: [DISCUSS] Discuss Apache Flex FalconJX 0.0.1 RC1
Date Mon, 14 Apr 2014 04:23:25 GMT
I think compiler/commandline isn't intended to work from that folder.  It
gets copied into the "SDK".

It's a good question as to how "self-sufficient" this kit needs to be when
it is really intended as an upstream distribution for FlexJS.  IMO, this
kit is successful when its build script runs successfully and you can
point to the results as described in the Flexjs package and compile and
run the examples.

IMO, if that works we should release both kits and worry about
self-sufficiency later.

-Alex

On 4/13/14 5:46 PM, "Justin Mclean" <justin@classsoftware.com> wrote:

>HI,
>
>OK made it a bit further but think we have some issues.
>
>In in compiler/commandline both mxmlc and compc give errors if you try
>and run them which looks like a windows new line issue.
>
>Even when I fix that I get this:
>Using Flex SDK: /Users/justinmclean/Documents/ApacheFlex4.12released/
>Error: Unable to access jarfile ./../lib/falcon-compc.jar
>
>The same new line issue exists for /compiler.jx/bin compc and mxmlc, when
>I fix those for compc I get:
>
>Using Falcon codebase: ./../../compiler
>Using Flex SDK: /Users/justinmclean/Documents/ApacheFlex4.12released/
>Exception in thread "main" java.lang.UnsupportedOperationException
>	at 
>org.apache.flex.compiler.internal.driver.as.ASBackend.getSourceFileHandler
>Instance(ASBackend.java:70)
>	at org.apache.flex.compiler.clients.MXMLJSC.<init>(MXMLJSC.java:211)
>	at org.apache.flex.compiler.clients.COMPJSC.<init>(COMPJSC.java:128)
>	at org.apache.flex.compiler.clients.COMPJSC.main(COMPJSC.java:116)
>
>
>And for mxmlc I get something a bit more promising:
>Using Falcon codebase: ./../../compiler
>Using Flex SDK: /Users/justinmclean/Documents/ApacheFlex4.12released/
>a target file must be specified.
>
>But If I give it a bare minimal MXML file I get:
>./mxmlc dummy.mxml
>Using Falcon codebase: ./../../compiler
>Using Flex SDK: /Users/justinmclean/Documents/ApacheFlex4.12released/
>CSS codegen problem. Reason: 'Unable to find compilation unit for
>Embed(source="Assets.swf",symbol="mx.skins.cursor.BusyCursor")'
>
>dummy is defined by multiple files:
>/Users/justinmclean/Documents/ApacheFlexFalcon/apache-flex-falconjx-0.0.1-
>src/compiler.jx/bin/dummy.mxml,
>/Users/justinmclean/Documents/ApacheFlexFalcon/apache-flex-falconjx-0.0.1-
>src/compiler.jx/bin/dummy.as
>
>I do have a dummy.as as well but I'm not asking it to compile that and
>renaming the file I still get the CSS codegen problem.
>
>Thanks,
>Justin
>
>
>
>


Mime
View raw message