Guys, Please help in finding the problem with this.
Flex builder builds the project without any errors. I checked for all setting
in flex builder project and replicated the same in my ant task. But my ant task
throws this error.
Error: Unable to locate specified base class 'mx.controls.DataGrid' for
component class 'com.bgs.components.extended.DataGridBase'.
DataGridBase is my custom component extending DataGrid.
DataGridBase.mxml has
<?xml version="1.0" encoding="utf-8"?>
<mx

ataGrid
xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:local="*"
creationComplete="initializeDataGrid();"
itemEditBegin="setEditorRestrictions(event);"
>
// my custom script
</mx

ataGrid>
my ant task is
<target name="FlexComponentLibrary">
<echo>ActionScript classes: [${flex.classes}]</echo>
<delete file="${OUTPUT_FOLDER}/FlexComponentLibrary.swc"/>
<compc include-classes="${flex.classes}"
output="${OUTPUT_FOLDER}/FlexComponentLibrary.swc"
strict="true"
warnings="true"
accessible="true"
include-lookup-only="false"
>
<load-config filename="${FLEX_HOME}/frameworks/dumpLib.xml"/>
<source-path path-element="${SOURCE_FOLDER}" />
<library-path dir="${FLEX_HOME}/frameworks/libs"
includes="automation.swc,automation_agent.swc,auto mation_dmv.swc,automation_fl
ashflexkit.swc,datavisualization.swc,flex.swc,fram ework.swc,qtp.swc,rpc.swc,util
ities.swc" append="true"/>
<library-path dir="${FLEX_HOME}/frameworks/locale/{locale}"
append="true"/>
<library-path dir="libs"
includes="granite.swc,granite-hibernate.swc,gravity.swc" append="true"/>
<external-library-path dir="${FLEX_HOME}/frameworks/libs/player"
includes="playerglobal.swc"/>
<library-path dir="../FlexLibrary/bin" includes="FlexLibrary.swc"
append="true"/>
</compc>
</target>
I am unable to find out if flex builder while building internally adds or does
something to take out this error.