tpryan/Apptacular — Issue #46: generates wrong paths on windows 7 
Author: stewartyBoy
Created: 2011-11-03 11:29:00+00:00
State: open

Hi, I am running the latest version of apptacular, on CF builder 2 on windows 7. CF 9.0.

In both my application.cfc and config.xml it seems to be creating bad paths: (notice the dot after "C:)
This.ormsettings.eventHandler = "C:.ColdFusion9.wwwroot.test1323.cfc.eventHandler";

C:.ColdFusion9.wwwroot.test1323.test

This is the same on config.xml. Needless to say it wont run.

This what is generated in my application.cfc

component{

This.name = "whichCMS2";
This.ormenabled = true;
This.datasource = "whichCMS2";
This.customTagPaths = GetDirectoryFromPath(GetCurrentTemplatePath()) & "customtags";
This.ormsettings.eventHandler = "C:.ColdFusion9.wwwroot.test1323.cfc.eventHandler";
This.ormsettings.dbcreate = "update";
This.ormsettings.logSQL = true;

public boolean function onRequestStart() {

if (structKeyExists(url, "reset_app")){
ApplicationStop();
location(cgi.script_name, false);
}

return true;
}

public boolean function onApplicationStart() {
application.authorService = new C:.ColdFusion9.wwwroot.test1323.services.authorService();
application.franchiseService = new C:.ColdFusion9.wwwroot.test1323.services.franchiseService();
application.articletypeService = new C:.ColdFusion9.wwwroot.test1323.services.articletypeService();
application.articleService = new C:.ColdFusion9.wwwroot.test1323.services.articleService();
application.websiteService = new C:.ColdFusion9.wwwroot.test1323.services.websiteService();
return true;
}
}

CONFIG.XML

C:/ColdFusion9/wwwroot/test1323\

cfscript
true
createdOn
true
false
true
false
true
screen.css
C:/ColdFusion9/wwwroot/test1323\css
css
/C:/ColdFusion9/wwwroot/test1323/css
C:/ColdFusion9/wwwroot/test1323\customTags
customTags
mm/dd/yyyy
update
false
C:.ColdFusion9.wwwroot.test1323.cfc
C:/ColdFusion9/wwwroot/test1323\cfc
cfc
false
true
false
false
mxunit
C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\CFIDE\administrator\mxunit
false
false
C:.ColdFusion9.wwwroot.test1323
C:/ColdFusion9/wwwroot/test1323\
/C:/ColdFusion9/wwwroot/test1323/
http://www.cfadmin.com/C:/ColdFusion9/wwwroot/test1323
50
public
C:.ColdFusion9.wwwroot.test1323.services
count
destroy
C:/ColdFusion9/wwwroot/test1323\services
services
get
init
list
listPaged
searchCount
search
searchPaged
update
C:.ColdFusion9.wwwroot.test1323.test
C:/ColdFusion9/wwwroot/test1323\test
test
/C:/ColdFusion9/wwwroot/test1323/test
http://www.cfadmin.com/C:/ColdFusion9/wwwroot/test1323/test
h:mm tt
updatedOn
true