You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by "Justin Mclean (JIRA)" <ji...@apache.org> on 2013/04/17 05:21:16 UTC

[jira] [Updated] (FLEX-14895) Applications will not compile on Mac OSX if they have spaces in their pathname, via the flex2.tools.oem.Application API

     [ https://issues.apache.org/jira/browse/FLEX-14895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Mclean updated FLEX-14895:
---------------------------------

    Labels: easytest  (was: )
    
> Applications will not compile on Mac OSX if they have spaces in their pathname, via the flex2.tools.oem.Application API
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: FLEX-14895
>                 URL: https://issues.apache.org/jira/browse/FLEX-14895
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Compiler API
>    Affects Versions: Adobe Flex SDK Previous
>         Environment: Affected OS(s): Mac
> Affected OS(s): Mac OS 10.5
> Browser: Safari
> Language Found: English
>            Reporter: Adobe JIRA
>              Labels: easytest
>
> Steps to reproduce:
> 1. On a Mac OSX system, place  application source files into a directory with spaces in the pathname
> e.g., 
> /Users/hqm/nightly/MyProject Server 4.2.x/Server/tomcat-5.0.24/temp/lzswf9/lzgen2824/LzApplication.as
> in this case, it is being linked with  a library file also in the same directory hierarchy:
> /Users/hqm/nightly/MyProject Server 4.2.x/Server/lps/lps/includes/lfc/LFC9.swc
> 2. invoke the compiler via the flex2.tools.oem.Application API, e.g.,
>       builder = new Application((File) files.get(0));
> ...
> ...
>     long exitval = builder.build(true);
> 3.
>  
>  Actual Results:
>  
> compiler return a 0 value, indicating failure, and no output .swf file is generated
>  
>  Expected Results:
>  
> an output application swf file in the specified location
>  
>  Workaround (if any):
> Put applications in directory path that has no spaces in any of the filename components.
>  If I change the directory name above from "MyProject Server 4.2.x" to one
>  with no spaces, for example, "MyProject", then the compile succeeds.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira