On 12/18/05, Gareth Edwards <[EMAIL PROTECTED]> wrote:
>  Is it possible to use the class loader on a class or package that
> references other classes in the coldfusion library (ie. itext) ?
>
>  Do you think it would be easier if I create a class that I can place the in
> the class path that contains code to load particular classes for me?

Well, don't forget that before you can load classes you have to
compile them - and to compile them you need to specify a classpath
that includes all the other classes / packages that you reference in
your code.

If you are using the same class loader that CFMX already uses, it
should have access to those (other) classes already (since they're
part of CFMX). If you're using a different class loader, you'll have
problems.

To be honest, discussing this in the abstract is near impossible - you
need to try it out and see what works and what doesn't work!
--
Sean A Corfield -- http://corfield.org/
Got frameworks?

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
[email protected] with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

An archive of the CFCDev list is available at 
www.mail-archive.com/[email protected]


Reply via email to