On Thu, Feb 6, 2014 at 11:09 PM, Alex Harui <aha...@adobe.com> wrote:
> > > On 2/6/14 10:49 PM, "OmPrakash Muppirala" <bigosma...@gmail.com> wrote: > > >On Feb 6, 2014 10:42 PM, "Alex Harui" <aha...@adobe.com> wrote: > >> > >> Ack. Read the error incorrectly. It may not be BarChartLayout that is > >> incorrect. Do you know which .js file is actually complaining? > >> > > > >Yes, it is from XAxisBead.js > Hmm. Are you all synced up? I got an error cross-compiling FlexJSJX. I > just checked in a fix for that. Maybe that is the root of the problem? > > I did see those other errors. Dint think it was related. In any case, I got your latest fixes, but still have the same issue. > My copy of XAxisBead.js does have a goog.require for BarChartLayout. Does > yours? > Interesting. After I run ant in the flex-asjs folder, I see that flex-asjs\frameworks\js\FlexJS\libs\org\apache\flex\charts\beads\layouts\XAxisBead.js does have the require for BarChartlayout (among a lot of other requires) goog.provide('org.apache.flex.charts.beads.XAxisBead'); goog.require('org.apache.flex.charts.beads.ChartItemRendererFactory'); goog.require('org.apache.flex.core.FilledRectangle'); goog.require('org.apache.flex.html.staticControls.Label'); goog.require('org.apache.flex.events.Event'); *goog.require('org.apache.flex.charts.beads.layouts.BarChartLayout');* goog.require('org.apache.flex.html.staticControls.beads.models.ArraySelectionModel'); goog.require('org.apache.flex.core.UIBase'); goog.require('org.apache.flex.events.IEventDispatcher'); goog.require('org.apache.flex.core.IBeadLayout'); goog.require('org.apache.flex.core.IStrand'); goog.require('org.apache.flex.core.IBead'); goog.require('org.apache.flex.core.IDataProviderItemRendererMapper'); goog.require('org.apache.flex.charts.core.IChart'); goog.require('org.apache.flex.core.ISelectionModel'); goog.require('org.apache.flex.charts.core.IChartAxis'); Then, I copy the modified files into the SDK that I installed using the new Installer. But, when I compile the example app, the file: flex-asjs\examples\BarChartExample\bin\js-debug\org\apache\flex\charts\beads seems to have been modified with a whole bunch requires removed. There are only these three: goog.provide('org.apache.flex.charts.beads.XAxisBead'); goog.require('org.apache.flex.html.staticControls.Label'); goog.require('org.apache.flex.charts.core.IChartAxis'); Looks like something funky is happening in the FlexJS-FalconJX build. Thanks, Om > > -Alex > > > >