Adobe Dreamweaver Forums



Last 10 THreads :         Importing Iweb to Dreamweaver (Last Post : tllearner - Replies : 2 - Views : 3 )           »          How to I get an FLV Skin to display on external sites? (Last Post : QADesign - Replies : 0 - Views : 1 )           »          Spry menu bar with a different image for each item? (Last Post : bongalook - Replies : 0 - Views : 1 )           »          Live View doesn't reflect changes to script (Last Post : phillip914 - Replies : 0 - Views : 1 )           »          Table cell - text formatting question (Last Post : JRStaf4ord - Replies : 7 - Views : 8 )           »          Library documents do not accept SWF objects (Last Post : Murray *ACE* - Replies : 2 - Views : 3 )           »          Snippet Pod Problems (Last Post : Pat@ffic - Replies : 0 - Views : 1 )           »          CFGRID, please help (Last Post : The ScareCrow - Replies : 1 - Views : 2 )           »          How can I make an image to stay at the bottom of abrowser? (Last Post : Greg Lafrance - Replies : 1 - Views : 2 )           »          Change custom Vector class to new Vector class in player10 (Last Post : flexstone - Replies : 0 - Views : 1 )           »         


User Info Statistics
Go Back   Adobe Dreamweaver Forums > Macromedia Software > Flex
 
Tags:



Reply
  #1 (permalink)  
Old 11-04-2008, 09:02 AM
Jack Brinks
 
Posts: n/a
Diggs:
Default Compiling Library project with compc ant tasks

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"?>
<mxataGrid
xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:local="*"
creationComplete="initializeDataGrid();"
itemEditBegin="setEditorRestrictions(event);"
>

// my custom script
</mxataGrid>


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.




Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 10:38 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Cheap Car Insurance - Compare Motor Insurance
Endsleigh Car Insurance Natwest Car Insurance
More Than Car Insurance Norwich Union Car Insurance
Prudential Car Insurance Zurich Car Insurance
Inactive Reminders By Mished.co.uk