Cedric,

Do you mean all three files?

Kevin

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Cedric Villat
Sent: 06 August 2006 00:04
To: [email protected]
Subject: RE: [Reactor for CF] Newbie can't get it going


No, I choose to have Reactor put my files in something like:

C:\Inetpub\wwwroot\ggcc12\model\Reactor\

Just personal preference of course.

Cedric

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Kevin Roche
Sent: Saturday, August 05, 2006 12:11 PM
To: [email protected]
Subject: RE: [Reactor for CF] Newbie can't get it going

Hi,

Can I clarify which files you are talking about here?

With my current default settings Reactor creates three files in most cases
for example generating a Gateway creates:

C:\Inetpub\wwwroot\ggcc12\data\Gateway\ggccnoteGatewaymssql.cfc
C:\Inetpub\wwwroot\ggcc12\data\Gateway\ggccnoteGateway.cfc
C:\Inetpub\wwwroot\Reactor\project\ggcc11\Gateway\ggccnoteGateway.cfc

Are you just talking about the ones in
C:\Inetpub\wwwroot\ggcc12\data\Gateway\

and saving them in: C:\Inetpub\wwwroot\ggcc12\model\Gateway\ ?

Kevin


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Cedric Villat
Sent: 05 August 2006 17:07
To: [email protected]
Subject: RE: [Reactor for CF] Newbie can't get it going


Marc,

I looked for the post and couldn't find it either. I believe the fix
involved editing a CF xml file. I'm fuzzy on the details because I did this
a long time ago on our server, but Sean would know more than I would.

In MG, Reactor generated files usually get put into the model/data/
directory, so I don't see why you wouldn't do that with fusefox.
Technically, Reactor is generating your models for you, so it seems like a
logical place to go :)

Cedric

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Marc Funaro
Sent: Saturday, August 05, 2006 5:10 AM
To: [email protected]
Subject: RE: [Reactor for CF] Newbie can't get it going

Hi Cedric,

You said Sean posted a fix for this about a week ago - I searched the
archives but couldn't find a fix.  Is the "fix" simply to upgrade as Sean
posted here, or is there an actual code fix I can apply to reactor?

On a related question... I plan on using reactor with fusebox.  Should the
cfc's generated by reactor be considered part of the MODEL, and therefore go
into a MODEL folder as part of MVC?

    >   -----Original Message-----
    >   From: [EMAIL PROTECTED]
    >   [mailto:[EMAIL PROTECTED] On Behalf Of Cedric Villat
    >   Sent: Friday, August 04, 2006 11:01 PM
    >   To: [email protected]
    >   Subject: RE: [Reactor for CF] Newbie can't get it going
    >
    >   Marc,
    >
    >   Are you using CFMX 6.1 and on Windows? I believe there
    >   is a bug with ExpandPath and mappings. If so, check the
    >   archives as Sean posted a fix for this about a week ago.
    >
    >   Cedric
    >
    >   -----Original Message-----
    >   From: [EMAIL PROTECTED]
    >   [mailto:[EMAIL PROTECTED] On Behalf Of Marc Funaro
    >   Sent: Friday, August 04, 2006 2:59 PM
    >   To: [email protected]
    >   Subject: RE: [Reactor for CF] Newbie can't get it going
    >
    >   And just for kicks, I modified reactor's config.cfc,
    >   inserting the following at line 137:
    >
    >   <CFDUMP var="#expandPath(arguments.mapping)#"><CFABORT>
    >
    >   Which gave me this in the output:
    >
    >   D:\Advantex\Sites\ReactorSampleApp\www\ReactorSampleApp
    >
    >   So it appears to ignore my CFMapping, and still expects
    >   there to be a directory under my app's www directory.
    >   Is this the expected behavior?
    >
    >   M
    >
    >       >   -----Original Message-----
    >       >   From: [EMAIL PROTECTED]
    >       >   [mailto:[EMAIL PROTECTED] On Behalf
    >   Of Marc Funaro
    >       >   Sent: Friday, August 04, 2006 5:53 PM
    >       >   To: [email protected]
    >       >   Subject: [Reactor for CF] Newbie can't get it going
    >       >
    >       >   Hi Everyone,
    >       >
    >       >   I am working through the documentation (Crash Course),
    >       >   and have already hit a snag.
    >       >
    >       >   I have done the following:
    >       >
    >       >   downloaded Reactor from svn.reactorframework.org.
    >       >   Entire contents stored at C:\InetPub\wwwroot\reactor
    >       >
    >       >   Created ColdFusion mapping, /reactor, pointing to
    >       >   C:\InetPub\wwwroot\reactor\reactor.  Verified that in
    >       >   the root of CF Mapping "/reactor" is the file
    >       >   reactorFactory.cfc.
    >       >
    >       >   Created Database called ReactorSampleApp
    >       >
    >       >   Set up CF Datasource to ReactorSampleApp; proper
    >       >   username and password used.
    >       >   Connection verified.
    >       >
    >       >   Created directory, dns and IIS mapping for my
    >   sample site:
    >       >
    >       >   D:\Advantex\Sites\ReactorSampleApp.
    >       >
    >       >   In this directory, the following hierarchy:
    >       >
    >       >   ~\datafiles
    >       >   ~\datafiles\reactor (This is where I had anticipated
    >       >   reactor-generated files ending up.) ~\www
    >       >
    >       >   Created a ColdFusion mapping named ReactorSampleApp,
    >       >   pointing to:
    >       >   D:\Advantex\Sites\ReactorSampleApp
    >       >
    >       >   Added sample database table to database.
    >       >
    >       >   Added the following xml file:
    >       >
    >       >   D:\Advantex\Sites\ReactorSampleApp\www\reactor.xml
    >       >
    >       >   The contents of which are:
    >       >
    >       >   <reactor>
    >       >     <config>
    >       >          <project value="ReactorSampleApp" />
    >       >          <dsn value="ReactorSampleApp" />
    >       >          <type value="mssql" />
    >       >          <mapping
    >   value="/ReactorSampleApp/datafiles/reactor" />
    >       >          <mode value="development" />
    >       >     </config>
    >       >
    >       >     <objects/>
    >       >   </reactor>
    >       >
    >       >   Added the following CF file:
    >       >
    >       >   D:\Advantex\Sites\ReactorSampleApp\www\Application.cfm
    >       >
    >       >   The contents of which are:
    >       >
    >       >   <CFDUMP var="#expandPath('reactor.xml')#">
    >       >   <cfset Reactor = CreateObject("Component",
    >       >
    >   "reactor.reactorFactory").init(expandPath("reactor.xml")) />
    >       >
    >       >   Added the following CF File:
    >       >
    >       >   D:\Advantex\Sites\ReactorSampleApp\www\index.cfm
    >       >
    >       >   The contents of which are:
    >       >
    >       >   <h1>Hello World</h1>
    >       >
    >       >   Browsed to my new site, and no joy.  I get the
    >   cfdump output:
    >       >
    >       >   D:\Advantex\Sites\ReactorSampleApp\www\reactor.xml
    >       >
    >       >   Which is what I expected... Cool.
    >       >
    >       >   But when the Reactor object instantiation is
    >   requested, I get:
    >       >
    >       >   Error Occurred While Processing Request Invalid Mapping
    >       >   Setting The mapping argument must be a mapping to a
    >       >   directory which exists.
    >       >
    >       >   The error occurred in
    >       >   C:\Inetpub\wwwroot\reactor\reactor\config\config.cfc:
    >       >   line 141
    >       >   Called from
    >       >   C:\Inetpub\wwwroot\reactor\reactor\config\config.cfc:
    >       >   line 60 Called from
    >       >   C:\Inetpub\wwwroot\reactor\reactor\config\config.cfc:
    >       >   line 35 Called from
    >       >   C:\Inetpub\wwwroot\reactor\reactor\reactorFactory.cfc:
    >       >   line 10 Called from
    >       >
    >   D:\Advantex\Sites\ReactorSampleApp\www\Application.cfm: line 3
    >       >   139 :                   <cfthrow
    >   type="reactor.Invalidmapping"
    >       >   140 :                           message="Invalid
    >       >   Mapping Setting"
    >       >   141 :                           detail="The mapping
    >       >   argument must be a
    >       >   mapping to a directory which exists." />
    >       >   142 :           </cfif>
    >       >   143 :
    >       >
    >       >
    >       >
    >       >   For kicks, I tried adjusting my mapping block
    >   as follows:
    >       >
    >       >   <mapping value="/ReactorSampleApp" />
    >       >
    >       >   Which would just dump my reactor-generated files into
    >       >   the app's root directory (above www), which isn't clean
    >       >   but I could live with for now...
    >       >
    >       >   But still no joy, same error.
    >       >
    >       >   What am I doing wrong?
    >       >
    >       >   Did I do a Bad Thing in pulling reactor from SVN?
    >       >
    >       >   Thanks for any help you can provide,
    >       >
    >       >   Marc
    >
    >
    >
    >   -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    >   -- -- -- -- -- -- -- -- -- Reactor for ColdFusion
    >   Mailing List [email protected] Archives at:
    >   http://www.mail-archive.com/reactor%40doughughes.net/
    >   -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    >   -- -- -- -- -- -- -- -- --
    >



-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --



-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
- --




-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --



-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
- --




-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to