When you say this:
The application puts the transfer object into the application scope.
The unit tests are in a subfolder with a separate Application.cfc (so
it shouldn't be sharing the Application scope). The transfer object
for the MXUnit tests are in the local scope.  If I try to run a unit
test and the transfer object hadn't been "initialized" by the main
application, I get an error that it can't find the Decorator as
defined in the XML file.

What do you mean by 'transfer object' - you mean an object generated by
Transfer? or the TransferFactory? or what?

Mark

On Sat, Sep 12, 2009 at 12:01 PM, Scott Brady <[email protected]> wrote:

>
> On Fri, Sep 11, 2009 at 6:00 PM, Mark Mandel <[email protected]>
> wrote:
> > It sounds like you are doing something weird in your folder set up?
> >
> > How are your folders arranged?
>
> We have various applications that are each separate web sites.  So,
> while c:\web_roots is the overall web root, each applicatiion's root
> is a subfolder of c:\web_roots.
>
> So, in this particular case, we have c:\web_roots\transfer as the
> transfer root, and we would have c:\web_roots\application1 as the "web
> root" of this particular web site.  We don't really want separate
> instances of MXUnit in each separate web site, so we also have mxunit
> under c:\web_roots (which we then call via http://localhost/mxunit
> ).So, we have a CF mapping called "transfer" that points to
> c:\web_roots\transfer.
>
> If it matters, this is ColdFusion 9 running on Apache on Windows.
>
> Scott
>
> >
>


-- 
E: [email protected]
T: http://www.twitter.com/neurotic
W: www.compoundtheory.com

--~--~---------~--~----~------------~-------~--~----~
Before posting questions to the group please read:
http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer

You received this message because you are subscribed to the Google Groups 
"transfer-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/transfer-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to