VasylKorzhyk / as3corelib

Automatically exported from code.google.com/p/as3corelib
0 stars 0 forks source link

build sript with recent Flex 3 SDK #77

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

When trying to compile the swc library without the Flex builder but plain
recent Flex 3 SDK and ant, the compilation process fails as the class File
is unknown. That's because by default the flex compiler uses
flex-config.xml and there are the Air libraries missing.

What is the expected output? What do you see instead?

D:\libraries\as3corelib\src\com\adobe\air\logging\FileTarget.as(53): col:
38 Error: Typ wurde nicht gefunden oder war keine
Kompilierungszeit-Konstante: File.

                public function FileTarget(logFile:File = null)
                                                   ^

What version of the product are you using? On what operating system?

current trunk release (11/05/2008), Flex 3 SDK 3.1.0.2710

Please provide any additional information below.

You have to use the correct configuration file. Add the command line
parameter -load-config to the build script. (Patch attached)

Original issue reported on code.google.com by Dan.Oste...@gmx.de on 5 Nov 2008 at 1:10

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by mikechambers on 6 Nov 2008 at 8:59