flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik de Bruin <e...@ixsoftware.nl>
Subject Re: [jira] [Commented] (FLEX-33482) FalconJX generates incorrect paths in deps.js
Date Tue, 09 Apr 2013 17:11:15 GMT
Can you please copy your exact command line arguments to here (or in a
comment on the JIRA ticket)? I remember that the relative paths only
resolve when the inputs exactly match and all resources are correctly
"positioned" with regard to the files being published...


On Tue, Apr 9, 2013 at 11:48 AM, Tigran Najaryan (JIRA) <jira@apache.org> wrote:
>     [ https://issues.apache.org/jira/browse/FLEX-33482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13626803#comment-13626803
> Tigran Najaryan commented on FLEX-33482:
> ----------------------------------------
> Yes, everything is on drive D:
>> FalconJX generates incorrect paths in deps.js
>> ---------------------------------------------
>>                 Key: FLEX-33482
>>                 URL: https://issues.apache.org/jira/browse/FLEX-33482
>>             Project: Apache Flex
>>          Issue Type: Bug
>>          Components: .Unspecified - Compiler
>>         Environment: Windows
>>            Reporter: Tigran Najaryan
>> Steps to reproduce:
>> 1. Compile FlexJSTest_again example using FalconJX on Windows.
>> 2. Check deps.js in FlexJSTest_again/bin/js-debug/library/closure/goog/
>> deps.js contains invalid paths like '../../../../D:\WORK\Projects\ApacheFlex\repo\falcon\compiler.jx\bin/D:\WORK\Projects\ApacheFlex\repo\asjs\examples\FlexJSTest_again\bin\js-debug\org\apache\flex\net\HTTPHeader.js'
>> Due to incorrect paths in deps.js when trying to open js-debug /index.html in Firefox
I get a bunch of JavaScript errors, the first being "SyntaxError: malformed Unicode character
escape sequence" at deps.js line 4.
>> More details:
>> The bug comes from com.google.javascript.jscomp.deps.PathUtil.isAbsolute() function.
It is implemented by simply checking that the path starts by a forward slash which of course
is incorrect under Windows.
>> com.google.javascript.jscomp.deps.PathUtil.isAbsolute() is used by com.google.javascript.jscomp.deps.DepsGenerator.computeDependencyCalls()
which is called by MXMLFlexJSPublisher to generate deps.js.
> --
> 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

Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl

View raw message