You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Sword Dragon (JIRA)" <ji...@apache.org> on 2013/10/08 05:42:41 UTC

[jira] [Comment Edited] (FLEX-33785) Setting static-link-runtime-shared-libraries to false causes an error

    [ https://issues.apache.org/jira/browse/FLEX-33785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13788879#comment-13788879 ] 

Sword Dragon edited comment on FLEX-33785 at 10/8/13 3:41 AM:
--------------------------------------------------------------

I have also found the answer in a comment of flex-config.xml why osmf.swf is needed on dynamic but not on static linking:

	<!-- 
	    Even though there is no OSMF rsl leave this in so that in a FlashBuilder
	    Flex Library project, FlashBuilder will allow "Link Type" to be external.
    -->


So osmf.swf seems to be only useful if using the Flash Builder but not on direct compiling with Flex. It is currently just a decision what should get a higher priority: Flash Builder or Flex. Ideally there would be a solution to use this entry only if the Flash Builder is being used. But I'm fine with it as is now.


was (Author: sworddragon):
I have also found the answer in a comment of flex-config.xml why osmf.swf is needed on dynamic but not on static linking:

	<!-- 
	    Even though there is no OSMF rsl leave this in so that in a FlashBuilder
	    Flex Library project, FlashBuilder will allow "Link Type" to be external.
    -->


So osmf.swf seems to be only useful if using the Flash Builder but not on direct compiling with Flex. It is currently just a decision what should get a higher priority: Flash Builder or Flex. Ideally there would be a solution to use this entry only if the Flash Builder is being used. But I'm fine with as it is now.

> Setting static-link-runtime-shared-libraries to false causes an error
> ---------------------------------------------------------------------
>
>                 Key: FLEX-33785
>                 URL: https://issues.apache.org/jira/browse/FLEX-33785
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: MXML Compiler
>    Affects Versions: Apache Flex 4.10.0
>         Environment: Linux 3.11 x86_64
>            Reporter: Sword Dragon
>            Assignee: Justin Mclean
>            Priority: Minor
>
> Setting static-link-runtime-shared-libraries to false and trying to compile an application will result in the following output:
> Loading configuration file /opt/flex/frameworks/flex-config.xml
> Apache Flex Compiler (mxmlc)
> Version 4.10.0 build 0
> Copyright 2013 The Apache Software Foundation.
> /opt/flex/frameworks/flex-config.xml(411): Error: unable to open 'libs/osmf.swc'
> 	</runtime-shared-library-path>



--
This message was sent by Atlassian JIRA
(v6.1#6144)