BigSource Zarkov updated to 0.8.5.1

Alexander Funke @ May 24 2010 5:55 pm

Today we released a new version of the BigSource Zarkov Eclipse Plugin. There are some major changes that had to be done in order to simplify the exchange of projects and to have as less as possible external configurations.
So here are the major changes:

No Preference Pane in Eclipse Settings

we have removed the Pane from the settings. The flex SDK has to be set within the Build.xml. Every Bigsource Task has the attribute “sdk”.

Example 1 with property file

build.properties

flex.home	 = /workspace/flashlibs/flex_sdk_3.3

swf.application.class	= source/src/com/company/project/Application.as
swf.application.target	= deploy/swf/application.swf

swf.default.fps = 31
swf.default.width = 800
swf.default.height = 600
swf.default.bgcolor = 0x000000

build.xml

<project name="Example 1" default="compile" basedir=".">

	<property file="build.properties" />

	<target name="compile">
		<bigsource.mxmlc basedir="${basedir}" sdk="${flex.home}">
			<default_frame_rate value="${swf.default.fps}" />
			<default_background_color value="${swf.default.bgcolor}" />
			<default_size width="${swf.default.width}" height="${swf.default.height}" />
			<source_path path="source/src" />
			<file_specs path="${swf.application.class}" />
			<output path="${swf.application.target}" />
		</bigsource.mxmlc>
	</target>

</project>
Example 2 with property in build.xml

build.xml

<project name="Example 2" default="compile" basedir=".">

	<property name="flex.home" value="/workspace/flashlibs/flex_sdk_3.3"/>

	<target name="compile">
		<bigsource.mxmlc basedir="${basedir}" sdk="${flex.home}">
			<default_frame_rate value="31" />
			<default_background_color value="0x000000" />
			<default_size width="800" height="600" />
			<source_path path="source/src" />
			<file_specs path="source/src/com/company/project/Application.as" />
			<output path="deploy/swf/application.swf" />
		</bigsource.mxmlc>
	</target>

</project>

The same applies to bigsource.flashplayer (attribute “player”), bigsource.browser (attribute “browser”), bigsource.haxe (attribute “haxe”) and bigsource.mtasc (attribute “mtasc”) with different attributes than “sdk”.

General Bugfixes

  • corrected path for adt_package under Windows
  • added airtarget to adt_package (target as compiler option) for packaging dmg, exe and deb files
  • added more precheckings

If you have questions or feature request, feel free to contact us.