robotlegs / robotlegs-framework

An ActionScript 3 application framework for Flash and Flex
https://robotlegs.tenderapp.com/
MIT License
967 stars 261 forks source link

Can't build with ant #178

Open kamcknig opened 9 years ago

kamcknig commented 9 years ago

I'm trying to build the SWC with ant but ti's failing on the compc task with an error:

Error: Unsupported file type: C:\development\libraries\robotlegs-framework.git\src\manifest.xml

prankard commented 8 years ago

Hey Kamcknig, I've had a got at compiling this source the other day. (I see that this message is a few months late). And it ran correctly once I had set the paths correctly. I had to make sure my JAVA_HOME was a JDK version (not JRE) and pointed to a correct flex sdk.

My output was below, what is your full output log?

C:\Users\James\Documents\Testlab\Flash\robotlegs-framework>ant compile
Buildfile: C:\Users\James\Documents\Testlab\Flash\robotlegs-framework\build.xml

clean:
     [echo] [clean] Removing Build, Report and Doc directories
     [echo] [clean] Build, Report and Doc directories removed

init:
     [echo] [init] Creating Bin, Report and Doc directories
     [echo] [init] Bin, Report and Doc directories created

compile:
     [echo] [compile] Compiling release SWC
     [echo] [compile] Using Flex SDK at: C:\Users\James\AppData\Local\FlashDevel
op\Apps\flexairsdk\4.6.0+17.0.0
     [java] Loading configuration file C:\Users\James\AppData\Local\FlashDevelop
\Apps\flexairsdk\4.6.0+17.0.0\frameworks\flex-config.xml
     [java] Warning: The swc 'C:\Users\James\AppData\Local\FlashDevelop\Apps\fle
xairsdk\4.6.0+17.0.0\frameworks\libs\framework.swc' has style defaults and is in
 the library-path, which means dependencies will be linked in without the styles
.  This can cause applications, which use the output swc, to have missing skins.
  The swc should be put in the external-library-path.
     [java]
     [java] C:\Users\James\Documents\Testlab\Flash\robotlegs-framework\bin\robot
legs-framework-v2.2.1.swc (130254 bytes)
     [echo] [compile] Release SWC robotlegs-framework-v2.2.1.swc created success
fully

BUILD SUCCESSFUL
Total time: 2 seconds