I've added chat to our project in my development (Flash Builder 4) environment, but when I try to build the project using Jenkins to publish this to our server I'm getting the following error:
[exec] /var/lib/jenkins/jobs/xxxxx/workspace/xxxxx/Colony/DL/client/DSUtil/libs/SFS2X_API_AS3.swc(com.smartfoxserver.v2.bitswarm:AirUDPManager)
[exec]
[exec] Error: Type was not found or was not a compile-time constant: DatagramSocketDataEvent.
The build machine is using Flex 4.0 SDK.
Thanks,
- Michael
Compile Error: DatagramSocketDataEvent
-
- Posts: 8
- Joined: 05 Jan 2012, 18:15
- Location: Redwood Shores
-
- Posts: 8
- Joined: 05 Jan 2012, 18:15
- Location: Redwood Shores
Build Error
Sorry...
Jenkins (Hudson Ancestor) is a continuous integration build tool. Our implementation checks the project out from source control and uses ant to execute all of the build scripts. The portion of the build script in question looks something like this...
I have tried it both with and without the air config setting (this uses the air compiler instead of the flex compiler)
Thanks for getting back to me.
Jenkins (Hudson Ancestor) is a continuous integration build tool. Our implementation checks the project out from source control and uses ant to execute all of the build scripts. The portion of the build script in question looks something like this...
Code: Select all
<target name="compileUIHud"
description="Compiles the UserInterface_HUD"
depends="dscore">
<echo message="============================================"/>
<echo message="Building: UserInterface_HUD"/>
<echo message="============================================"/>
<exec executable="${FLEX_HOME}/${MXMLC}" failonerror="true">
<arg line="+configname=air"/>
<arg line="-compiler.include-libraries=${LIBS_DIR}/SFS2X_API_AS3.swc" />
<arg line="-compiler.incremental=true" />
<arg line="-debug=${debug}" />
<arg line="-source-path='${SOURCE_UI_HUD}'" />
<arg line="'${SOURCE_UI_HUD}/UserInterface_HUD.as'"/>
<arg line="-o=${OUTPUT_UI_HUD}"/>
<arg line="-use-network=true" />
<arg line="-static-link-runtime-shared-libraries=true"/>
</exec>
-->
</target>
I have tried it both with and without the air config setting (this uses the air compiler instead of the flex compiler)
Thanks for getting back to me.
-
- Posts: 8
- Joined: 05 Jan 2012, 18:15
- Location: Redwood Shores
[SOLVED] Compile Error: DatagramSocketDataEvent
I'm now including the SFS2X swc in a game library which uses compc compiler (not ActionScript project/app which uses mxmlc compiler) and it is working fine now. Go figure...
Return to “SFS2X ActionScript 3 API”
Who is online
Users browsing this forum: No registered users and 15 guests