I figured this one out....
Looks like I was supposed to use
'library-path' instead of
'include-libraries'. I'm not sure the
difference between these two,
the documentation is almost the same for
each.
Anyway, changing 'include-libraries' to 'library-path' did the
trick.
cheers,
Thunder
--- In [EMAIL PROTECTED]ups.com,
"thunderstumpgesatwork"
<thunder.stumpges@...>
wrote:
>
>
> 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] ^
>