Mxmlc will generate a subclass of the main class and add hooks that the
index.html will call to start up the app.  It will only output JS files it
finds via class dependency analysis.

Compc does not generate any subclasses or index.html.  It just compiles
the AS files you asked it to.

So yes, the output will be different.

-Alex

On 9/14/16, 9:05 AM, "lizhi" <s...@qq.com> wrote:

>yes ihave gen the js file.but it is have diffrent of mxmlc ,so maybe the
>mxmlc have some option,can i show you the 2file?help me why diffrent
>
>发自我的iPhone
>
>------------------ Original ------------------
>From: Alex Harui [via Apache Flex Development]
><ml-node+s2333347n55145...@n4.nabble.com>
>Date: 周三,9月 14,2016 23:12
>To: lizhi <s...@qq.com>
>Subject: Re: flexjs ,pack full folder in a js.
>
>
>
> COMPC is for building libraries.  It does not generate an entry point.
>MXMLC is for building applications.
>
>So, IMO, you would use COMPC to compile all of your library code and GCC
>to generate a single file, then you will have to build your own
>index.html 
>and main.js that calls into that single file.  You can try using MXMLC to
>generate the index.html and single file, but it will want to output
>goog.requires.  I suppose you can manually edit the results.  You are not
>using the kind of workflow we support, so you will have to manually
>perform some of the steps.
>
>-Alex 
>
> 
> 
> 
>  If you reply to this email, your message will be added to the
>discussion below:
> 
>http://apache-flex-development.2333347.n4.nabble.com/flexjs-pack-full-fold
>er-in-a-js-tp55085p55145.html
>  To unsubscribe from flexjs ,pack full folder in a js., click here.
> NAML
>
>
>
>--
>View this message in context:
>http://apache-flex-development.2333347.n4.nabble.com/flexjs-pack-full-fold
>er-in-a-js-tp55085p55147.html
>Sent from the Apache Flex Development mailing list archive at Nabble.com.

Reply via email to