History | Log In     View a printable version of the current page.  
Issue Details (XML)

Key: SDK-15765
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: C C
Assignee: Gaurav Jain
Reporter: Norio Takemura
Votes: 1
Watchers: 4
Operations

If you were logged in you would be able to see more operations.
Flex SDK

Setting fork="true" in Ant Tasks leads to warning

Created: 06/09/08 01:10 AM   Updated: 04/20/09 05:06 PM
Component/s: Ant Tasks
Security Level: Public (All JIRA Users )

File Attachments: 1. Zip Archive TestLib.zip (2 kb)

Issue Links:
Duplicate
 
This issue is duplicated by:
SDK-15984 <mxmlc fork="true" ... /> gives error... None Closed

Severity: Conflicts with Docs
Reproducibility: Every Time
Discoverability: Medium
Found in Version: SDK Flex 3 (Released)
Milestone: SDK Flex 3.2.0
Affected OS(s): All OS Platforms - All
Steps to Reproduce:
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):
Language Found: English
Bugbase Id: none
Triaged: Yes
Regression: No
QA Owner: Kristen Sindac
Resolved by: Jono
Participants: Gaurav Jain, Jono, Kristen Sindac, Lauren Park, Norio Takemura, Oleg Polyakov and Vito Cutten
JDK: Sun 1.5.x


 All   Comments      Sort Order:
Oleg Polyakov - [08/05/08 07:20 PM ]
Any idea when this should be fixed? I keep getting warnings when I do the build.

If I don't include the argument, I am getting "Out of memory exception".

Lauren Park - [08/25/08 05:00 PM ]
PFR

Jono - [09/04/08 12:38 PM ]
UTR in trunk (yes, I know this bug is against flex 3) -- I suspect the following line is to blame:
super.createArg().setLine(stringBuffer.toString());

That said -- it's just a warning and doesn't affect the compilation. If you switch to JDK 1.5 and Ant 1.7 it should go away. There's no engineering reason to fix this.

Jono - [09/04/08 04:31 PM ]
Nevermind, I have a fix. Two bugs with one fix.

Lauren Park - [01/07/09 05:17 PM ]
re-assigned for verification and closure.

Gaurav Jain - [01/12/09 10:32 AM ]
confirmed fixed..

Vito Cutten - [04/20/09 05:06 PM ]
@Oleg, I think your problem could have been where you have flex installed and where your workspace is located. Please see http://bugs.adobe.com/jira/browse/SDK-20666