Assuming "build package" means run the Ant or Maven build, there is no
need to copy generated-sources any more as all the js files are packed
into the SWC.  Should make updating faster because there will be fewer
files to copy.  But then I think you may have to shut down and restart FB
as I've seen it cache SWCs.

-Alex

On 10/13/16, 7:16 AM, "yishayw" <yishayj...@hotmail.com> wrote:

>I'm not sure if this is related but my build workflow has been disrupted.
>
>Previously I used to do the following:
>
>1) build package
>2) use following commands to sync build with sdk
>
>/ copy C:\dev\flexjs\flex-asjs\frameworks\js\FlexJS\libs\*.swc
>C:\dev\flexjs_builds\nightly_07\frameworks\js\FlexJS\libs
>
> copy C:\dev\flexjs\flex-asjs\frameworks\libs\*.swc
>C:\dev\flexjs_builds\nightly_07\frameworks\libs
>
> xcopy /E /Y 
>C:\dev\flexjs\flex-asjs\frameworks\js\FlexJS\generated-sources
>C:\dev\flexjs_builds\nightly_07\frameworks\js\FlexJS\generated-sources
>/
>
>3) Use FalshBuilder's external tools to build my project. This means
>running
>
> /C:\dev\flexjs_builds\nightly_07/js/bin/mxmlc.bat/
>
>with the following params:
>
>-remove-circulars
>
>/-js-output-optimization=skipAsCoercions
>-debug=true -fb "${project_loc}"
>/
>
>Recently, after updating I've found that
>/C:\dev\flexjs\flex-asjs\frameworks\js\FlexJS\generated-sources/ no longer
>exists.
>
>The workaround has been to replace the last command in step 2 with the
>following manual steps:
>
>- go to 
>/C:\dev\flexjs\flex-asjs\frameworks\projects\<project-name>\target/,
>- open up <prject-name>.swc,
>- extract the contents of
>/out/js/ 
>to
>/C:\dev\flexjs_builds\nightly_07\frameworks\js\FlexJS\generated-sources/
>
>This isn't really efficient so I'm assuming there's a better way to do it.
>
>Can you share your build workflow, or recommend one?
>
>Thanks.
>
>
>
>
>
>--
>View this message in context:
>http://apache-flex-development.2333347.n4.nabble.com/FalconJX-FlexJS-COMPJ
>SC-and-Build-order-tp55463p55743.html
>Sent from the Apache Flex Development mailing list archive at Nabble.com.

Reply via email to