On 3/14/16, 8:13 AM, "Christofer Dutz" <christofer.d...@c-ware.de> wrote:

>Hi Alex,
>
>I'm actually currently looking at the unmodified ANT build in develop.
>Here I can see that the extern JavaScript stuff in GCL is checked in. The
>build.xml in line contains this block:
>
>    <target name="externc.GCL.swc" >
>        <java jar="${basedir}/compiler.jx/lib/externc.jar" fork="true"
>            failonerror="false">
>            <arg value="+flexlib=externs/frameworks" />
>            <arg value="-debug" />
>            <arg 
>value="-load-config=${basedir}/externs/GCL/GCL-compile-config.xml" />
>        </java>
>        <java 
>jar="${basedir}/compiler/generated/dist/sdk/lib/falcon-compc.jar"
>fork="true"
>            failonerror="true">
>            <arg value="+flexlib=externs/frameworks" />
>            <arg value="-debug" />
>            <arg 
>value="-load-config=${basedir}/externs/GCL/compile-config.xml" />
>            <arg value="-output=${basedir}/externs/GCL/out/bin/GCL.swc" />
>        </java>
>    </target>
> 
>Which makes EXTERNC generate the code to out/as ... there the code simply
>hangs around doing nothing as it it not referenced in GCLs
>compile-config.xml ... so I guess the complete EXTERNC block should be
>removed as well as the extern directory containing the JacaScript should
>be deleted as it doesn't produce the code that is used and it's just
>confusing to have it there.

Ah, I didn't notice that.  Yes, I think you can remove the call to externC.

-Alex

Reply via email to