Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Ant Builder now Functioning

  • Loading branch information...
commit ce075339da05859d6e0fdcfb552122572d0a81aa 1 parent 065e97b
@wargfn authored
View
31 FooFighter.as3proj
@@ -4,7 +4,7 @@
<output>
<movie disabled="False" />
<movie input="" />
- <movie path="bin/FooFighter.swf" />
+ <movie path="bin\FooFighter.swf" />
<movie fps="30" />
<movie width="800" />
<movie height="600" />
@@ -21,6 +21,7 @@
<option allowSourcePathOverlap="False" />
<option benchmark="False" />
<option es="False" />
+ <option locale="" />
<option loadConfig="" />
<option optimize="True" />
<option showActionScriptWarnings="True" />
@@ -32,9 +33,37 @@
<option useResourceBundleMetadata="True" />
<option warnings="True" />
<option verboseStackTraces="False" />
+ <option linkReport="" />
+ <option loadExterns="" />
+ <option staticLinkRSL="True" />
<option additional="" />
+ <option compilerConstants="" />
<option customSDK="" />
</build>
+ <!-- SWC Include Libraries -->
+ <includeLibraries>
+ <!-- example: <element path="..." /> -->
+ </includeLibraries>
+ <!-- SWC Libraries -->
+ <libraryPaths>
+ <!-- example: <element path="..." /> -->
+ </libraryPaths>
+ <!-- External Libraries -->
+ <externalLibraryPaths>
+ <!-- example: <element path="..." /> -->
+ </externalLibraryPaths>
+ <!-- Runtime Shared Libraries -->
+ <rslPaths>
+ <!-- example: <element path="..." /> -->
+ </rslPaths>
+ <!-- Intrinsic Libraries -->
+ <intrinsics>
+ <!-- example: <element path="..." /> -->
+ </intrinsics>
+ <!-- Assets to embed into the output SWF -->
+ <library>
+ <!-- example: <asset path="..." id="..." update="..." glyphs="..." mode="..." place="..." sharepoint="..." /> -->
+ </library>
<!-- Class files to compile (other referenced classes will automatically be included) -->
<compileTargets>
<compile path="src\Main.as" />
View
74 build.xml
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<project name="FlashTDDProject" basedir="." default="full-build">
+<project name="FooFighter" basedir="." default="full-build">
<!-- identify properties file -->
<property file="build.properties" />
@@ -10,42 +10,42 @@
<!-- Add the ant-contrib tasks -->
<taskdef resource="net/sf/antcontrib/antcontrib.properties" classpath="${lib.loc}/ant-contrib.jar" />
- <import file="${includes.loc}/logging.xml" />
+ <!--<import file="${includes.loc}/logging.xml" />-->
<import file="${includes.loc}/misc.xml" />
- <import file="${includes.loc}/test.xml" />
+ <!--<import file="${includes.loc}/test.xml" />-->
<import file="${includes.loc}/asdoc.xml" />
- <import file="${includes.loc}/compile-air.xml" />
- <import file="${includes.loc}/package-air.xml" />
+ <!--<import file="${includes.loc}/compile-air.xml" />-->
+ <!--<import file="${includes.loc}/package-air.xml" />-->
<import file="${includes.loc}/compile-swf.xml" />
<import file="${includes.loc}/compile-swc.xml" />
<import file="${includes.loc}/android.xml" />
<!--<import file="${includes.loc}/apparat.xml" />-->
- <target name="startlog" depends="logging.start"/>
+ <!--<target name="startlog" depends="logging.start"/>-->
- <target name="usage" depends="misc.usage" description="Prints usage message" />
+ <!--<target name="usage" depends="misc.usage" description="Prints usage message" />-->
- <target name="test" depends="startlog" description="Runs unit tests and displays the report">
- <log>start target test</log>
- <runtarget target="test.run"/>
- <log>end target test</log>
- </target>
+ <!--<target name="test" depends="startlog" description="Runs unit tests and displays the report">-->
+ <!--<log>start target test</log>-->
+ <!--<runtarget target="test.run"/>-->
+ <!--<log>end target test</log>-->
+ <!--</target>-->
<target name="asdoc" depends="asdoc.gen" description="generates ASDoc"/>
- <target name="compile" depends="startlog" description="Compiles the project as a swf">
- <log>start target compile</log>
+ <target name="compile" description="Compiles the project as a swf">
+ <!--<log>start target compile</log>-->
<!--check for compiler flag: normal compile vs apparat compile-->
- <if>
- <equals arg1="air" arg2="${compile.platform}" casesensitive="false" />
- <then>
- <runtarget target="compile-air.compile" />
- </then>
- <else>
+ <!--<if>-->
+ <!--<equals arg1="air" arg2="${compile.platform}" casesensitive="false" />-->
+ <!--<then>-->
+ <!--<runtarget target="compile-air.compile" />-->
+ <!--</then>-->
+ <!--<else>-->
<runtarget target="compile-swf.compile" />
- </else>
- </if>
- <log>end target compile</log>
+ <!--</else>-->
+ <!--</if>-->
+ <!--<log>end target compile</log>-->
</target>
<target name="run" description="Runs app">
@@ -56,8 +56,8 @@
</if>
</target>
- <target name="full-build" depends="test" description="Runs tests, compiles project, and optionally runs it.">
- <log message="autolaunching"/>
+ <target name="full-build" depends="compile" description="Runs tests, compiles project, and optionally runs it.">
+ <!--<log message="autolaunching"/>-->
<if>
<istrue value="${autolaunch.url}"/>
<then><runtarget target="run"/></then>
@@ -68,17 +68,23 @@
<target name="deploy-lib" description="Prepares swf lib and moves it to deploy directory" depends="compile-swc.deploy"/>
- <target name="package" depends="startlog" description="Packages up project as air app">
- <log>start target package-apk</log>
- <echo message="${compile.platform}"/>
- <echo message="${mobile}"/>
- <runtarget target="compile"/>
- <runtarget target="package-air.package" />
- <log>end target package-apk</log>
+ <!--<target name="package" depends="startlog" description="Packages up project as air app">-->
+ <!--<log>start target package-apk</log>-->
+ <!--<echo message="${compile.platform}"/>-->
+ <!--<echo message="${mobile}"/>-->
+ <!--<runtarget target="compile"/>-->
+ <!--<runtarget target="package-air.package" />-->
+ <!--<log>end target package-apk</log>-->
+ <!--</target>-->
+
+ <target name="package-apk" description="Packages up project for deployment to android">
+ <var name="mobile" value="true" />
+ <runtarget target="compile" />
+ <runtarget target="android.package-apk" />
</target>
- <target name="deploy-to-emulator" depends="package,android.deploy-to-emulator" />
+ <target name="deploy-to-emulator" depends="package-apk,android.deploy-to-emulator" />
- <target name="deploy-to-phone" depends="package,android.deploy-to-phone" />
+ <target name="deploy-to-phone" depends="package-apk,android.deploy-to-phone" />
</project>
View
0  build/android-resources/NeedSignedCertificate.txt
No changes.
View
0  build/bin-resources/images/AppIconImagesHere_36_48_72.txt
No changes.
View
34 obj/FooFighterConfig.old
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--This Adobe Flex compiler configuration file was generated by a tool.-->
+<!--Any modifications you make may be lost.-->
+<flex-config>
+ <target-player>10.0.0</target-player>
+ <compiler>
+ <define append="true">
+ <name>CONFIG::debug</name>
+ <value>true</value>
+ </define>
+ <define append="true">
+ <name>CONFIG::release</name>
+ <value>false</value>
+ </define>
+ <define append="true">
+ <name>CONFIG::timeStamp</name>
+ <value>'8/24/2010'</value>
+ </define>
+ <source-path append="true">
+ <path-element>C:\Users\Public\FlashWorkspace\FooFighter\src</path-element>
+ <path-element>C:\Users\Public\Android\flixel_v2.35</path-element>
+ <path-element>C:\Program Files (x86)\FlashDevelop\Library\AS3\classes</path-element>
+ </source-path>
+ </compiler>
+ <file-specs>
+ <path-element>C:\Users\Public\FlashWorkspace\FooFighter\src\Main.as</path-element>
+ </file-specs>
+ <default-background-color>#FFFFFF</default-background-color>
+ <default-frame-rate>30</default-frame-rate>
+ <default-size>
+ <width>800</width>
+ <height>600</height>
+ </default-size>
+</flex-config>
View
30 test/FooFighterTestApp.mxml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
+ xmlns:fu="http://www.adobe.com/2009/flexUnitUIRunner"
+ xmlns:flexunit="org.flexunit.flexui.*"
+ creationComplete="onCreationComplete()"
+ width="148" height="148" paddingTop="0"
+ backgroundColor="#320401" horizontalScrollPolicy="off" verticalScrollPolicy="off">
+ <mx:Script>
+ <![CDATA[
+ import org.flexunit.internals.TraceListener;
+ import org.flexunit.listeners.CIListener;
+ import org.flexunit.runner.FlexUnitCore;
+
+ private var core:FlexUnitCore;
+
+ [Bindable]
+ [Embed(source="../build/assets/logo.png")]
+ private var Logo:Class;
+
+ private function onCreationComplete():void
+ {
+ core = new FlexUnitCore();
+ core.addListener(new CIListener());
+ core.addListener(new TraceListener());
+ core.run(FlashTDDProjectTestSuite);
+ }
+ ]]>
+ </mx:Script>
+ <mx:Image source="{Logo}" horizontalCenter="0" verticalCenter="0"/>
+</mx:Application>
Please sign in to comment.
Something went wrong with that request. Please try again.