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

Key: SDK-15764
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: B B
Assignee: Gaurav Jain
Reporter: Norio Takemura
Votes: 2
Watchers: 5
Operations

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

Ant Tasks fail when setting fork="true" and there are spaces in the path name

Created: 06/09/08 12:42 AM   Updated: 01/12/09 10:28 AM
Component/s: Ant Tasks
Security Level: Public (All JIRA Users )

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


Severity: Incorrectly Functioning
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:
Ant Tasks fail when setting fork="true" and there are spaces in the path name

 Steps to reproduce:
1-a. Import bug files to where there are spaces in the path name.
1-b. Import bug files to where there are no space in the path name, but as to load-config tag in the build.xml file it already contains spaces.
2. Run build.xml

 Actual Results:
a.(There are spaces in the Project path name.)
----------------------------------------
Buildfile: C:\Documents and Settings\Administrator\My Documents\Flex Builder 3\TestLib\build.xml
build:
    [compc] The args attribute is deprecated. Please use nested arg elements.
    [compc] Adobe Compc (Flex Component Compiler)
    [compc] command line: Error: default arguments may not be interspersed with other options
    [compc] Version 3.0.0 build 477
    [compc] Copyright (c) 2004-2007 Adobe Systems, Inc. All rights reserved.
    [compc] Use 'compc -help' for information about using the command line.

BUILD FAILED
C:\Documents and Settings\Administrator\My Documents\Flex Builder 3\TestLib\build.xml:9: compc task failed.

Total time: 2 seconds
----------------------------------------

b.(There are spaces in the load-config path name.)
----------------------------------------
Buildfile: C:\FlexBuilder\TestLib\build.xml
build:
    [compc] The args attribute is deprecated. Please use nested arg elements.
    [compc] Adobe Compc (Flex Component Compiler)
    [compc] Version 3.0.0 build 477
    [compc] Copyright (c) 2004-2007 Adobe Systems, Inc. All rights reserved.
    [compc] command line: Error: unable to open 'C:/Program'
    [compc] Use 'compc -help' for information about using the command line.

BUILD FAILED
C:\FlexBuilder\TestLib\build.xml:9: compc task failed.

Total time: 953 milliseconds
----------------------------------------

 Expected Results:
Build succeeds with no error

 Workaround:
Don't use any spaces in the path name (or setting fork="false")
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 and Norio Takemura
JDK: Sun 1.5.x


 All   Comments      Sort Order:
Jono - [09/04/08 04:32 PM ]
I have a fix.

Lauren Park - [01/07/09 06:13 PM ]
re-assigned.

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