We have a number of new Falcon/FalconJX compiler options documented here:

https://cwiki.apache.org/confluence/display/FLEX/Getting+Started+with+the+Falcon+and+FalconJX+Compilers

This would be a good starting place to add -targets, I think.

- Josh

On Tue, May 2, 2017 at 9:10 AM, Alex Harui <aha...@adobe.com> wrote:

>
>
> On 5/2/17, 1:19 AM, "piotrz" <piotrzarzyck...@gmail.com> wrote:
>
> >Hi Justin,
> >
> >You are right JSFlex helped and now project is running. So it look like JS
> >is for pure AS app or libraries. It should be documented before release.
>
> Did we ever decide where to put documentation, especially for compiler?
>
> Targets is plural, because it can handle a list of targets.  See the
> default in flex-config.xml
>
> <!-- build both SWF and JS. -->
>       <targets>
>   <target>SWF</target>
>   <target>JSFlex</target>
>       </targets>
>
> Use a comma-delimited list on the command-line -targets=SWF,JSFlex
>
> JS is a different config than JSFlex, vs JSNode, and eventually
> JSFlexCordova.  It describes what libraries to bring in and what
> "publisher" does the final packaging.
>
> HTH,
> -Alex
>
>
>
> >
> >However I still have in console failure compilation:
> >
> >-------------------------------------------------------
> > T E S T S
> >-------------------------------------------------------
> >Running org.apache.flex.flexjs.examples.tests.ExampleBuildTest
> >Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.049 sec
> ><<< FAILURE! - in org.apache.flex.flexjs.examples.tests.ExampleBuildTest
> >testFlashBuild(org.apache.flex.flexjs.examples.tests.ExampleBuildTest)
> >Time
> >elapsed: 0.013 sec  <<< FAILURE!
> >java.lang.AssertionError: The SWF file doesn't exist:
> >D:\flex_sdk\Sources\flex-asjs\examples\flexjs\
> MDLExample\target\MDLExample
> >-0.8.0-SNAPSHOT.swf
> >       at
> >org.apache.flex.flexjs.examples.tests.ExampleBuildTest.
> testFlashBuild(Exam
> >pleBuildTest.java:45)
> >
> >Thanks,
> >Piotr
> >
> >
> >
> >-----
> >Apache Flex PMC
> >piotrzarzyck...@gmail.com
> >--
> >View this message in context:
> >https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fapache-fle
> >x-development.2333347.n4.nabble.com%2FLAST-CALL-
> Release-FlexJS-FalconJX-0-
> >8-0-tp61275p61464.html&data=02%7C01%7C%7C2e17a242b7b74641849008d49135
> a512%
> >7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636293106966911159&sdata=
> 2n0T
> >VxksKVhch179NNPle0n4qEUHtol2994Luhwdvvg%3D&reserved=0
> >Sent from the Apache Flex Development mailing list archive at Nabble.com.
>
>

Reply via email to