You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by lizhi <sl...@qq.com> on 2015/10/30 01:29:54 UTC

flexjs 0.5,build error.

download 0.5 with the sdk installer.

run ant main

Buildfile: D:\sdk\flexjs5\examples\build.xml

check-compile-env:

check-playerglobal-home:
     [echo] PLAYERGLOBAL_HOME is d:\sdk\flexjs5\frameworks\libs\player
     [echo] playerglobal.version is 19.0
     [echo] playerglobal.swc is
d:\sdk\flexjs5\frameworks\libs\player/19.0/playerglobal.swc

check-air-home:
     [echo] AIR_HOME is d:\sdk\flexjs5

check-falcon-home:
     [echo] FALCON_HOME is d:\sdk\flexjs5

check-falconjx-home:
     [echo] FALCONJX_HOME is d:\sdk\flexjs5\js

check-compile-env:
     [echo] OS: Windows 10 / 10.0 / x86
     [echo] VM: Java HotSpot(TM) Client VM / 25.60-b23
     [echo] Java: 1.8.0_60
     [echo] Ant: Apache Ant(TM) version 1.9.4 compiled on April 29 2014 Ant
Java Version: 1.8

clean:

clean:
     [echo] playerglobal.version = 19.0
   [delete] Deleting directory
D:\sdk\flexjs5\examples\flexjs\CordovaCameraExample\bin
   [delete] Deleting directory
D:\sdk\flexjs5\examples\flexjs\CordovaCameraExample\bin-debug

clean:

clean:

clean:

clean:

clean:
     [echo] playerglobal.version = 19.0

clean:

clean:

clean:
     [echo] playerglobal.version = 19.0

clean:

clean:

clean:
[available] DEPRECATED - <available> used to override an existing property.
[available]   Build file should not reuse the same property name for
different values.

clean:
[available] DEPRECATED - <available> used to override an existing property.
[available]   Build file should not reuse the same property name for
different values.

clean:

thirdparty-downloads:

prepare:

compile:

clean:
     [echo] playerglobal.version = 19.0

build_example.compileair:
     [echo] Compiling CordovaCameraExample.swf
     [echo] FLEX_HOME: D:\sdk\flexjs5
    [mxmlc] 正在加载配置: D:\sdk\flexjs5\frameworks\air-config.xml
    [mxmlc] 
    [mxmlc] 在 1.508 秒内向
D:\sdk\flexjs5\examples\flexjs\CordovaCameraExample\bin-debug\CordovaCameraExample.swf
写入了 80862 个字节
     [copy] Copying 1 file to
D:\sdk\flexjs5\examples\flexjs\CordovaCameraExample\bin-debug

build_example.compilejsair:
     [echo] Compiling CordovaCameraExample.js
     [echo] FLEX_HOME: D:\sdk\flexjs5
     [echo] FALCONJX_HOME: d:\sdk\flexjs5\js
     [echo] GOOG_HOME: D:\sdk\flexjs5/js/lib/google/closure-library
     [java] Compiling file:
D:\sdk\flexjs5\examples\flexjs\CordovaCameraExample\bin\js-debug\CordovaCameraExample.js
     [java] Compiling file:
D:\sdk\flexjs5\examples\flexjs\CordovaCameraExample\bin\js-debug\MyInitialView.js
     [java] using SWC: D:\sdk\flexjs5\frameworks\libs\air\airglobal.swc
     [java] using SWC: D:\sdk\flexjs5\frameworks\libs\Binding.swc
     [java] using SWC: D:\sdk\flexjs5\frameworks\libs\Charts.swc
     [java] using SWC: D:\sdk\flexjs5\frameworks\libs\Collections.swc
     [java] using SWC: D:\sdk\flexjs5\frameworks\libs\Core.swc
     [java] using SWC: D:\sdk\flexjs5\frameworks\libs\CreateJS.swc
     [java] using SWC: D:\sdk\flexjs5\frameworks\libs\DragDrop.swc
     [java] using SWC: D:\sdk\flexjs5\frameworks\libs\Effects.swc
     [java] using SWC: D:\sdk\flexjs5\frameworks\libs\Flat.swc
     [java] using SWC: D:\sdk\flexjs5\frameworks\libs\Formatters.swc
     [java] using SWC: D:\sdk\flexjs5\frameworks\libs\GoogleMaps.swc
     [java] using SWC: D:\sdk\flexjs5\frameworks\libs\Graphics.swc
     [java] using SWC: D:\sdk\flexjs5\frameworks\libs\HTML.swc
     [java] using SWC: D:\sdk\flexjs5\frameworks\libs\HTML5.swc
     [java] using SWC: D:\sdk\flexjs5\frameworks\libs\JQuery.swc
     [java] using SWC: D:\sdk\flexjs5\frameworks\libs\Mobile.swc
     [java] using SWC: D:\sdk\flexjs5\frameworks\libs\Network.swc
     [java] using SWC: D:\sdk\flexjs5\frameworks\libs\air\aircore.swc
     [java] using SWC:
D:\sdk\flexjs5\frameworks\libs\air\applicationupdater.swc
     [java] using SWC:
D:\sdk\flexjs5\frameworks\libs\air\applicationupdater_ui.swc
     [java] using SWC: D:\sdk\flexjs5\frameworks\libs\air\crosspromotion.swc
     [java] using SWC: D:\sdk\flexjs5\frameworks\libs\air\gamepad.swc
     [java] using SWC: D:\sdk\flexjs5\frameworks\libs\air\servicemonitor.swc
     [java] Could not find file for class:
org.apache.flex.collections.ArrayList
     [java] 找不到文件: org.apache.flex.collections.ArrayList
     [java] 
     [java] java.lang.RuntimeException: Unable to find JavaScript filePath
for class: org.apache.flex.collections.ArrayList
     [java] 	at
org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:176)
     [java] 	at
org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:210)
     [java] 	at
org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:210)
     [java] 	at
org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:210)
     [java] 	at
org.apache.flex.compiler.internal.graph.GoogDepsWriter.buildDB(GoogDepsWriter.java:128)
     [java] 	at
org.apache.flex.compiler.internal.graph.GoogDepsWriter.getListOfFiles(GoogDepsWriter.java:80)
     [java] 	at
org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.publish(MXMLFlexJSPublisher.java:330)
     [java] 	at
org.apache.flex.compiler.clients.MXMLJSC.compile(MXMLJSC.java:467)
     [java] 	at
org.apache.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:346)
     [java] 	at
org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:271)
     [java] 	at
org.apache.flex.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:230)
     [java] 	at
org.apache.flex.compiler.clients.MXMLJSC.main(MXMLJSC.java:176)
     [java] 
     [java] 




--
View this message in context: http://apache-flex-development.2333347.n4.nabble.com/flexjs-0-5-build-error-tp49725.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: flexjs 0.5,build error.

Posted by Alex Harui <ah...@adobe.com>.
I was having the same error.  I deleted the FlexJS SDK and installed a new
FlexJS Nightly Build using the Installer and it now works.  Maybe you
installed an older one.  The fix was only available about an hour ago.

-Alex

On 10/29/15, 10:17 PM, "lizhi" <sl...@qq.com> wrote:

>it is must a bug.i have install it 2.at my home,and at my comp.
>
>the same error
>
>[java] Could not find file for class:
>org.apache.flex.collections.ArrayList
>
>
>
>--
>View this message in context:
>http://apache-flex-development.2333347.n4.nabble.com/flexjs-0-5-build-erro
>r-tp49725p49729.html
>Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: flexjs 0.5,build error.

Posted by lizhi <sl...@qq.com>.
it is must a bug.i have install it 2.at my home,and at my comp.

the same error

[java] Could not find file for class: org.apache.flex.collections.ArrayList



--
View this message in context: http://apache-flex-development.2333347.n4.nabble.com/flexjs-0-5-build-error-tp49725p49729.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: flexjs 0.5,build error.

Posted by Alex Harui <ah...@adobe.com>.

On 10/29/15, 10:29 PM, "lizhi" <sl...@qq.com> wrote:

>and where the ArrayList (java jar)
>i find myself in the disk
>

It is Java code looking for a .js file that didn’t exist.  But it should
now with the latest builds.

-Alex


Re: flexjs 0.5,build error.

Posted by lizhi <sl...@qq.com>.
and where the ArrayList (java jar)
i find myself in the disk



--
View this message in context: http://apache-flex-development.2333347.n4.nabble.com/flexjs-0-5-build-error-tp49725p49730.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: flexjs 0.5,build error.

Posted by Alex Harui <ah...@adobe.com>.
I just checked in the fix for that.  Go to this URL in about 30 minutes
and see if build # 763 completed successfully.  If so, try installing the
FlexJS Nightly again.

-Alex

On 10/29/15, 5:29 PM, "lizhi" <sl...@qq.com> wrote:

>download 0.5 with the sdk installer.
>
>run ant main
>
>Buildfile: D:\sdk\flexjs5\examples\build.xml
>
>check-compile-env:
>
>check-playerglobal-home:
>     [echo] PLAYERGLOBAL_HOME is d:\sdk\flexjs5\frameworks\libs\player
>     [echo] playerglobal.version is 19.0
>     [echo] playerglobal.swc is
>d:\sdk\flexjs5\frameworks\libs\player/19.0/playerglobal.swc
>
>check-air-home:
>     [echo] AIR_HOME is d:\sdk\flexjs5
>
>check-falcon-home:
>     [echo] FALCON_HOME is d:\sdk\flexjs5
>
>check-falconjx-home:
>     [echo] FALCONJX_HOME is d:\sdk\flexjs5\js
>
>check-compile-env:
>     [echo] OS: Windows 10 / 10.0 / x86
>     [echo] VM: Java HotSpot(TM) Client VM / 25.60-b23
>     [echo] Java: 1.8.0_60
>     [echo] Ant: Apache Ant(TM) version 1.9.4 compiled on April 29 2014
>Ant
>Java Version: 1.8
>
>clean:
>
>clean:
>     [echo] playerglobal.version = 19.0
>   [delete] Deleting directory
>D:\sdk\flexjs5\examples\flexjs\CordovaCameraExample\bin
>   [delete] Deleting directory
>D:\sdk\flexjs5\examples\flexjs\CordovaCameraExample\bin-debug
>
>clean:
>
>clean:
>
>clean:
>
>clean:
>
>clean:
>     [echo] playerglobal.version = 19.0
>
>clean:
>
>clean:
>
>clean:
>     [echo] playerglobal.version = 19.0
>
>clean:
>
>clean:
>
>clean:
>[available] DEPRECATED - <available> used to override an existing
>property.
>[available]   Build file should not reuse the same property name for
>different values.
>
>clean:
>[available] DEPRECATED - <available> used to override an existing
>property.
>[available]   Build file should not reuse the same property name for
>different values.
>
>clean:
>
>thirdparty-downloads:
>
>prepare:
>
>compile:
>
>clean:
>     [echo] playerglobal.version = 19.0
>
>build_example.compileair:
>     [echo] Compiling CordovaCameraExample.swf
>     [echo] FLEX_HOME: D:\sdk\flexjs5
>    [mxmlc] 正在加载配置: D:\sdk\flexjs5\frameworks\air-config.xml
>    [mxmlc] 
>    [mxmlc] 在 1.508 秒内向
>D:\sdk\flexjs5\examples\flexjs\CordovaCameraExample\bin-debug\CordovaCamer
>aExample.swf
>写入了 80862 个字节
>     [copy] Copying 1 file to
>D:\sdk\flexjs5\examples\flexjs\CordovaCameraExample\bin-debug
>
>build_example.compilejsair:
>     [echo] Compiling CordovaCameraExample.js
>     [echo] FLEX_HOME: D:\sdk\flexjs5
>     [echo] FALCONJX_HOME: d:\sdk\flexjs5\js
>     [echo] GOOG_HOME: D:\sdk\flexjs5/js/lib/google/closure-library
>     [java] Compiling file:
>D:\sdk\flexjs5\examples\flexjs\CordovaCameraExample\bin\js-debug\CordovaCa
>meraExample.js
>     [java] Compiling file:
>D:\sdk\flexjs5\examples\flexjs\CordovaCameraExample\bin\js-debug\MyInitial
>View.js
>     [java] using SWC: D:\sdk\flexjs5\frameworks\libs\air\airglobal.swc
>     [java] using SWC: D:\sdk\flexjs5\frameworks\libs\Binding.swc
>     [java] using SWC: D:\sdk\flexjs5\frameworks\libs\Charts.swc
>     [java] using SWC: D:\sdk\flexjs5\frameworks\libs\Collections.swc
>     [java] using SWC: D:\sdk\flexjs5\frameworks\libs\Core.swc
>     [java] using SWC: D:\sdk\flexjs5\frameworks\libs\CreateJS.swc
>     [java] using SWC: D:\sdk\flexjs5\frameworks\libs\DragDrop.swc
>     [java] using SWC: D:\sdk\flexjs5\frameworks\libs\Effects.swc
>     [java] using SWC: D:\sdk\flexjs5\frameworks\libs\Flat.swc
>     [java] using SWC: D:\sdk\flexjs5\frameworks\libs\Formatters.swc
>     [java] using SWC: D:\sdk\flexjs5\frameworks\libs\GoogleMaps.swc
>     [java] using SWC: D:\sdk\flexjs5\frameworks\libs\Graphics.swc
>     [java] using SWC: D:\sdk\flexjs5\frameworks\libs\HTML.swc
>     [java] using SWC: D:\sdk\flexjs5\frameworks\libs\HTML5.swc
>     [java] using SWC: D:\sdk\flexjs5\frameworks\libs\JQuery.swc
>     [java] using SWC: D:\sdk\flexjs5\frameworks\libs\Mobile.swc
>     [java] using SWC: D:\sdk\flexjs5\frameworks\libs\Network.swc
>     [java] using SWC: D:\sdk\flexjs5\frameworks\libs\air\aircore.swc
>     [java] using SWC:
>D:\sdk\flexjs5\frameworks\libs\air\applicationupdater.swc
>     [java] using SWC:
>D:\sdk\flexjs5\frameworks\libs\air\applicationupdater_ui.swc
>     [java] using SWC:
>D:\sdk\flexjs5\frameworks\libs\air\crosspromotion.swc
>     [java] using SWC: D:\sdk\flexjs5\frameworks\libs\air\gamepad.swc
>     [java] using SWC:
>D:\sdk\flexjs5\frameworks\libs\air\servicemonitor.swc
>     [java] Could not find file for class:
>org.apache.flex.collections.ArrayList
>     [java] 找不到文件: org.apache.flex.collections.ArrayList
>     [java] 
>     [java] java.lang.RuntimeException: Unable to find JavaScript filePath
>for class: org.apache.flex.collections.ArrayList
>     [java] 	at
>org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWri
>ter.java:176)
>     [java] 	at
>org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWri
>ter.java:210)
>     [java] 	at
>org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWri
>ter.java:210)
>     [java] 	at
>org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWri
>ter.java:210)
>     [java] 	at
>org.apache.flex.compiler.internal.graph.GoogDepsWriter.buildDB(GoogDepsWri
>ter.java:128)
>     [java] 	at
>org.apache.flex.compiler.internal.graph.GoogDepsWriter.getListOfFiles(Goog
>DepsWriter.java:80)
>     [java] 	at
>org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.
>publish(MXMLFlexJSPublisher.java:330)
>     [java] 	at
>org.apache.flex.compiler.clients.MXMLJSC.compile(MXMLJSC.java:467)
>     [java] 	at
>org.apache.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:346)
>     [java] 	at
>org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:271)
>     [java] 	at
>org.apache.flex.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:230
>)
>     [java] 	at
>org.apache.flex.compiler.clients.MXMLJSC.main(MXMLJSC.java:176)
>     [java] 
>     [java] 
>
>
>
>
>--
>View this message in context:
>http://apache-flex-development.2333347.n4.nabble.com/flexjs-0-5-build-erro
>r-tp49725.html
>Sent from the Apache Flex Development mailing list archive at Nabble.com.