ToDoListSampleApp compiles for me.  Somehow js.swc got into the library
path.  For me, it should be in js/libs.

-Alex


On 9/20/15, 3:37 AM, "Christofer Dutz" <christofer.d...@c-ware.de> wrote:

>Well it seems that most of them are compiling, I'm however getting an
>error in the TodoListExample:
>
>build:
>     [java] command line
>     [java] configuration variable 'compiler.external-library-path' value
>contains unknown token 'JS.SWC'.
>     [java] 
>     [java] 
>     [java] Java Result: 5
>
>But till that is seems that the script did it's job.
>
>Chris
>
>________________________________________
>Von: omup...@gmail.com <omup...@gmail.com> im Auftrag von OmPrakash
>Muppirala <bigosma...@gmail.com>
>Gesendet: Sonntag, 20. September 2015 12:23
>An: dev@flex.apache.org
>Betreff: Re: Compiling FlexJS
>
>Are you even getting ant to compile the examples correctly?  For example,
>when I run ant in the examples/flexjs/ChartExample directory, this is the
>error I am getting:
>
>
>=========================================================
><snip>
>     [java] using SWC:
>c:\p\flexroot\git\flex-asjs\frameworks\libs\GoogleMaps.sw
>c
>     [java] using SWC:
>c:\p\flexroot\git\flex-asjs\frameworks\libs\Graphics.swc
>     [java] using SWC:
>c:\p\flexroot\git\flex-asjs\frameworks\libs\HTML.swc
>     [java] using SWC:
>c:\p\flexroot\git\flex-asjs\frameworks\libs\HTML5.swc
>     [java] using SWC:
>c:\p\flexroot\git\flex-asjs\frameworks\libs\JQuery.swc
>     [java] using SWC:
>c:\p\flexroot\git\flex-asjs\frameworks\libs\Mobile.swc
>     [java] using SWC:
>c:\p\flexroot\git\flex-asjs\frameworks\libs\Network.swc
>     [java] Could not find file for class:
>org.apache.flex.core.HTMLElementWrapp
>er
>     [java] java.lang.NullPointerException
>     [java]     at
>org.apache.flex.compiler.internal.graph.GoogDepsWriter.getFil
>ePath(GoogDepsWriter.java:504)
>     [java]     at
>org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDep
>s(GoogDepsWriter.java:168)
>     [java]     at
>org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDep
>s(GoogDepsWriter.java:188)
>     [java]     at
>org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDep
>s(GoogDepsWriter.java:188)
>     [java]     at
>org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDep
>s(GoogDepsWriter.java:188)
>     [java]     at
>org.apache.flex.compiler.internal.graph.GoogDepsWriter.buildD
>B(GoogDepsWriter.java:124)
>     [java]     at
>org.apache.flex.compiler.internal.graph.GoogDepsWriter.getLis
>tOfFiles(GoogDepsWriter.java:76)
>     [java]     at
>org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFle
>xJSPublisher.publish(MXMLFlexJSPublisher.java:274)
>     [java]     at
>org.apache.flex.compiler.clients.MXMLJSC.compile(MXMLJSC.java
>:462)
>     [java]     at
>org.apache.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.
>java:326)
>     [java]     at
>org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.j
>ava:254)
>     [java]     at
>org.apache.flex.compiler.clients.MXMLJSC.staticMainNoExit(MXM
>LJSC.java:215)
>     [java]     at
>org.apache.flex.compiler.clients.MXMLJSC.main(MXMLJSC.java:16
>5)
>     [java]
>     [java]
>     [java] Java Result: 3
>
>BUILD FAILED
>c:\p\flexroot\git\flex-asjs\examples\build_example.xml:177: condition
>satisfied
>
>Total time: 23 seconds
>
>
>=========================================================
>
>When I look inside the Core.swc file, the HTMLElementWrapper does appear
>to
>be in the correct place.
>
>Thanks,
>Om
>
>On Sun, Sep 20, 2015 at 3:16 AM, Christofer Dutz
><christofer.d...@c-ware.de>
>wrote:
>
>> Ok ... so that's some important news for me as I'm currently tryging to
>> compare the ant built versions against my maven built onse and am sort
>>of
>> struggling to get them working ;-)
>>
>> Chris
>>
>> -----Ursprüngliche Nachricht-----
>> Von: omup...@gmail.com [mailto:omup...@gmail.com] Im Auftrag von
>> OmPrakash Muppirala
>> Gesendet: Sonntag, 20. September 2015 12:11
>> An: dev@flex.apache.org
>> Betreff: Re: Compiling FlexJS
>>
>> In fact, none of the examples compiles when I try it with ant within the
>> examples directory.  Whereas, running it in FB with the installed SDK
>> compiles all the examples fine.
>>
>> Thanks,
>> Om
>>
>> On Sun, Sep 20, 2015 at 2:50 AM, OmPrakash Muppirala
>><bigosma...@gmail.com
>> >
>> wrote:
>>
>> > I am able to successfully run ant on my flex-asjs folder.  I get see
>> > that all the swcs under frameworks/libs are created, although they are
>> > of significantly lesser size than what I get with an SDK installed
>> > with the Installer.
>> >
>> > Am I doing something wrong?  I would be glad to provide more
>> > information if needed.
>> >
>> > Thanks,
>> > Om
>> >
>>

Reply via email to