library-path causes the libraries to be available as a source for linking.
 
include-libraries includes ALL symbols from a library, and I believe does not work for compc in 2.0.1 beta, there was a bug.  It only works for mxmlc.
 
Its the difference between eating at a salad bar vs. having the salad bar shoved down your throat.  :-)
 
-rg


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of thunderstumpgesatwork
Sent: Thursday, October 19, 2006 7:55 AM
To: [email protected]
Subject: [flexcoders] Re: [Flex2] Ant + compc - include-libraries not being found during compile..?

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] ^
>

__._,_.___

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





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to