Setting fork="true" in Ant Tasks leads to the warning:
"The args attribute is deprecated. Please use nested arg elements."
Steps to reproduce:
1. Import bug files to where there are no space in the path name.
2. Modify load-config file path in build.xml file to where there are no space in the path name. (To get around
SDK-15764)
Actual Results:
----------------------------------------
Buildfile: C:\FlexBuilder\TestLib\build.xml
build:
[compc] The args attribute is deprecated. Please use nested arg elements.
[compc] Loading configuration file C:\FlexBuilder\sdks\3.0.0\frameworks\flex-config.xml
[compc] Initial setup: 406ms
[compc] Loaded 17 SWCs: 1203ms
[compc] Files: 273 Time: 2422ms
[compc] Exporting C:\FlexBuilder\TestLib\bin\out.swc... 562ms
[compc] C:\FlexBuilder\TestLib\bin\out.swc (318619 bytes)
[compc] Total time: 4593ms
[compc] Peak memory usage: 46 MB (Heap: 33, Non-Heap: 13)
BUILD SUCCESSFUL
Total time: 6 seconds
----------------------------------------
Expected Results:
No warning
The Flex document says:
"The mxmlc and compc Flex Ant tasks extend the java Ant task. As a result, you can use all the available attributes of the java Ant task in those Flex Ant tasks. This includes fork, maxmemory, and classpath."
http://livedocs.adobe.com/flex/3/html/anttasks_1.html
Workaround (if any):
If I don't include the argument, I am getting "Out of memory exception".