Hi guys. Can someone check my ant task? I copied and modified slightly
several different tasks I found around here, and I'm getting errors
about finding base classes (Cairngorm's FrontController,
ServiceLocator, and the FDS's IManaged)

I am pretty sure the libs (swc's) are being found, because if I
misspell any of them it complains that it can't find it.

This project compiles fine in FlexBuilder, but I can't get the ant
task to work.

What do I have wrong?

Also, I have tried compiling with the '-include-sources' option to
include the whole source directory and kept getting "circular
inheritance" errors, so thats why I'm trying the -include-classes
option instead. 

thanks in advance,
Thunder

___________________

<java jar="${compcjar}"
   fork="true"
   failonerror="true"
   maxmemory="128m"
   dir="${flexsdk}\frameworks">
   <arg value="-load-config=${flexsdk}/frameworks/flex-config.xml"/>
   <arg value="-include-libraries+=${cairngorm.lib}/cairngorm.swc" />
   <arg value="-include-libraries+=${flex.libs}/charts.swc" />
   <arg value="-include-libraries+=${flex.libs}/flex.swc" />
   <arg value="-include-libraries+=${flex.libs}/rpc.swc" />
   <arg value="-include-libraries+=${flex.libs}/utilities.swc" />
   <arg value="-include-libraries+=${fds.libs}/fds.swc" />

   <arg value="-external-library-path+=${flex.libs}/playerglobal.swc,\
      ${flex.libs}/framework.swc"/>

   <arg value="-source-path=${af.src}" />
                        
   <arg value="-include-classes=af.components.DashboardApplication" />
<!--<arg value="-include-sources=${af.src}/af" /> -->

   <arg value="-output=${out}\af.swc" />
</java>

_________________

here's the errors:

[java]
C:\Work\p4_root\Flex\src\af\commands\control\RFFrontController.as(6):
col: 41 Error: The definition of base class FrontController was not found.
[java] public class RFFrontController extends FrontController
[java] ^
[java] C:\Work\p4_root\Flex\src\af\remoting\RPCServiceLocator.as(5):
col: 41 Error: The definition of base class ServiceLocator was not found.
[java] public class RPCServiceLocator extends ServiceLocator
[java] ^
[java]
C:\Work\p4_root\Flex\src\com\af\config\presentation\ConfigObjVO.as(11):
col: 44 Error: Interface IManaged was not found.
[java] [RemoteClass(alias="com.af.config.presentation.ConfigObj")]
[java] ^





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to