flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Ent (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-33925) goog.require not being generated
Date Fri, 22 Nov 2013 14:19:35 GMT

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

Peter Ent commented on FLEX-33925:

I have a special project/experiment where I am taking the ActionScript source to DataGrid
and having FalconJX create the JavaScript version. I want to see if this is a viable way to
create or at least start, the JavaScript version of ActionScript components.

Compiler arguments (as displayed by Flash Builder):
    -source-path+=/Users/pent/Documents/Apache Flex/DataGridXcompile/src
    -output=/Users/pent/Documents/Apache Flex/DataGridXcompile/bin-release/DataGridXcompile.swf
    -library-path+=/Users/pent/Documents/Apache Flex/DataGridXcompile/libs
    /Users/pent/Documents/Apache Flex/DataGridXcompile/src/DataGridXcompile.mxml

> goog.require not being generated
> --------------------------------
>                 Key: FLEX-33925
>                 URL: https://issues.apache.org/jira/browse/FLEX-33925
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: FalconJX
>         Environment: Mac OS X
>            Reporter: Peter Ent
>            Assignee: Erik de Bruin
> Attempting to compile ActionScript component into JavaScript. The compiler is not generating
a goog.require() statement.
> Error:
> /Users/pent/Documents/Apache Flex/DataGridXcompile/bin/js-debug/org/apache/flex/html/staticControls/beads/DataGridView.js:84:
ERROR - variable IBeadModel is undeclared
>   var /** @type {org.apache.flex.core.IDataGridModel} */ sharedModel = org.apache.flex.utils.Language.as(this._strand.getBeadByType(IBeadModel),
> ActionScript source (see org/apache/flex/html/staticControls/bead/DataGridView.js):
> import org.apache.flex.core.IBeadModel;
> ...
> var sharedModel:IDataGridModel = _strand.getBeadByType(IBeadModel) as IDataGridModel;
> A goog.require() statement was generated for IDataGridModel but not IBeadModel.

This message was sent by Atlassian JIRA

View raw message