Adding
<jvmarg value="-Droyalelib=${ROYALE_HOME}/frameworks" />
And removing
<arg
value="-library-path+=${ROYALE_HOME}/frameworks/libs/Core.swc" />
<arg
value="-library-path+=${ROYALE_HOME}/frameworks/projects/Basic/target/Basic.swc"
/>
Fixed it for now...
________________________________
From: Yishay Weiss <[email protected]>
Sent: Tuesday, July 8, 2025 9:34 AM
To: Apache Royale Development <[email protected]>
Subject: Re: Any Ideas What This compc Error is About?
T1.as looks like this:
package
{
import org.apache.royale.core.UIBase;
public class T1 extends UIBase
{
}
}
________________________________
From: Yishay Weiss <[email protected]>
Sent: Tuesday, July 8, 2025 9:29 AM
To: Apache Royale Development <[email protected]>
Subject: Any Ideas What This compc Error is About?
I'm getting this [1] error when running this [2] ant task
[1] compileframework:
[java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
[java] args:
[java] -external-library-path
[java] C:\dev\player/11.1/playerglobal.swc
[java]
-library-path+=C:\dev\full_royale_sdk\royale-asjs/frameworks/libs/Core.swc
[java]
-library-path+=C:\dev\full_royale_sdk\royale-asjs/frameworks/projects/Basic/target/Basic.swc
[java] -targets=SWF
[java] -output
[java] libs/ApacheFlexSpellingFramework.swc
[java] -source-path
[java] SpellingFramework/src2
[java] -include-classes
[java] T1
[java] -dump-config
[java] sq_dump
[java] COMPC
[java]
[java] 1.1542501 seconds
[java] Error: interface method dispatchEvent in interface IEventDispatcher
is implemented with an incompatible signature in class T1
[java]
[java]
[java] interface method dispatchEvent in interface IEventDispatcher is
implemented with an incompatible signature in class T1
[java]
[java]
[2]
<target name="compileframework" depends="init">
<java jar="${COMPC.JAR}" fork="true" failonerror="true">
<jvmarg value="-Xmx384m" />
<jvmarg value="-Dsun.io.useCanonCaches=false" />
<arg value="-external-library-path"/>
<arg
value="${PLAYERGLOBAL_HOME}/${playerglobal.version}/playerglobal.swc"/>
<arg
value="-library-path+=${ROYALE_HOME}/frameworks/libs/Core.swc" />
<arg
value="-library-path+=${ROYALE_HOME}/frameworks/projects/Basic/target/Basic.swc"
/>
<arg value="-targets=SWF" />
<arg value="-output"/>
<arg value="${OUTPUT_DIR}/ApacheFlexSpellingFramework.swc"/>
<arg value="-source-path"/>
<arg value="SpellingFramework/src2"/>
<arg value="-include-classes"/>
<arg value="T1"/>
<arg value="-dump-config"/>
<arg value="sq_dump"/>
</java>
</target>