Troy,

You can fix this with a mapping in the ColdFusion Administrator.  That way,
your package still remains /catalog/model/.., regardless fo where you
physically place it, provided you create the mapping for /catalog.

-Rob




Troy Simpson <[EMAIL PROTECTED]>@cfczone.org on 02/23/2004
02:15:37 PM

Please respond to [EMAIL PROTECTED]

Sent by:    [EMAIL PROTECTED]



To:    [EMAIL PROTECTED]
cc:


Subject:    [CFCDev] Package Design


All,

During development, I saved my components in the URL
/catalog/model/*.cfc like this:

/catalog/model/description.cfc

And I referenced my components like this in my code:

catalog.model.description

Now I am moving my application onto a testing machine and they have
changed the URL to this:

/InsideWood/cataloging/model/description.cfc

And now my application has broke with the error "Could not find the
ColdFusion Component catalog.model.description"

So to keep this from happening again with my next application:  What
should I do?  How should I organized my components?  How should I
package my components?

Thanks,
Troy


--
Troy Simpson
   Applications Analyst/Programmer, OCPDBA, MCSE, SCSA
North Carolina State University Libraries
Campus Box 7111 | Raleigh | North Carolina
ph.919.515.3855 | fax.919.513.3330
E-mail: [EMAIL PROTECTED]

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev'
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

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




----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

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

Reply via email to