build.win.properties file still defines flex2sdk.* variables, when the
build.xml file is referencing flexsdk.*, causing the build to fail.
Ant also reports success for the build.
What steps will reproduce the problem?
1. build project on windows, referencing build.win.properties in build.xml.
Build fails even though variables have been correctly fails, and ant
reports a successfull build.
What is the expected output? What do you see instead?
- Project is expected to build and report failure if library compilation
fails.
Ant's output is:
lib:
[exec] Loading configuration file C:\Program Files\Adobe\Flex Builder
3 Plug-in\sdks\3.2.0\frameworks\flex-config.xml
[exec] Adobe Compc (Flex Component Compiler)
[exec] Version 3.2.0 build 3958
[exec] Copyright (c) 2004-2007 Adobe Systems, Inc. All rights
reserved.
[exec] command line: Error: configuration variable 'compiler.external-
library-path' value contains unknown token 'flexsdk.lib.dir'
[exec] Use 'compc -help' for information about using the command line.
[exec] Result: 1
Suggested fix:
- replace all occurences of flex2sdk by flexsdk in build.win.properties
- set failifexecutionfails and failonerror attributes to true on exec tag
in lib target to report a failure when build fails.
Original issue reported on code.google.com by olarivain@gmail.com on 17 Jun 2009 at 9:35
Original issue reported on code.google.com by
olarivain@gmail.com
on 17 Jun 2009 at 9:35