Skip to content

build sript with recent Flex 3 SDK #74

@darronschall

Description

@darronschall

Originally filed by Dan.Oste...@gmx.de on 2008-11-05T13:10:56

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)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions