|
Mailing Lists
|
Home /
Groups /
onTap
svn directories
Isaac,Marlon Moyer 09/14/05 05:54 P Hey Marlon,S. Isaac Dealey 09/14/05 11:57 P This build has solved the .svn directory problem for me. As a sideMarlon Moyer 09/15/05 11:19 A I might have been a little eager to declare the problem fixed.....Marlon Moyer 09/15/05 12:05 P and the documentation just shows this:Marlon Moyer 09/15/05 12:13 P > This build has solved the .svn directory problem for me.S. Isaac Dealey 09/15/05 11:49 A That's the correct behavior at the beginning of that tutorial... YouS. Isaac Dealey 09/15/05 01:19 P Okay, got it working. My mod to request.tap.href.root (adding in theMarlon Moyer 09/15/05 02:02 P > Okay, got it working. My mod to request.tap.href.rootS. Isaac Dealey 09/15/05 05:16 P Isaac, I've got a problem with the onTap framework trying to read cfm files out of .svn directories. Is there a patch available since I figure you're using subversion now. This is the error: Could not find the included template tapi\.svn. The error occurred in C:\inetpub\wwwroot\onTap\_components\_customtags\tapi.cfm: line 33 31 : <cfset templatelist = listsort(arraytolist(fso.list()),"textnocase","asc")> 32 : <cfloop index="cfmod" list="#templatelist#"> 33 : <cfinclude template="tapi#request.tap.os.pathdelimiter##cfmod#"></cfloop> 34 : 35 : </cfif> -- Marlon "Now watch what you say or they'll be calling you a radical, liberal, fanatical, criminal. " Hey Marlon, I don't actually test the application in my working copy because the self-installing plugins would create a condition of having the working copy for several plugins inside the working copy for the core framework (not to mention having the pluginmanager in the same directory could cause all kinds of confusion or flat out problems with SVN). Intead I replicate it to a separate testing directory where I install the plugin manager and plugins and execute the application(s) from there... I just committed a couple revisions for the nightly build tho which fixed this problem with the tapi custom tag in my working copy locally. So you should be able to update your working copy from svn and be in good shape. ----- Excess quoted text cut - see Original Post for more ----- s. isaac dealey 954.522.6080 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.fusiontap.com http://coldfusion.sys-con.com/author/4806Dealey.htm This build has solved the .svn directory problem for me. As a side note, you might want to set up the _preapp.cfm file definition of request.tap.href.root to account for port numbers since a lot of developers are developing against cfmx, cfmx7, & bd. something like this maybe: <cfset request.tap.href.port = iif(cgi.serverport eq "80",de(""),de(":#cgi.server_port#"))> <cfset request.tap.href.root = REReplace(REReplace("#cgi.server_name#:#request.tap.href.port#/#request.tap.path.domain_relative#","/+","/","ALL"),"/$","")> ----- Excess quoted text cut - see Original Post for more ----- I might have been a little eager to declare the problem fixed..... Now, when I try the simple HelloWorld tutorial: http://localhost:8501/ontap/helloworld/index.cfm all I get to the screen is this: onTap Debugging Information onTap Framework Version 2.0 beta Build Number 20050914 9/14/05 Process Path Array 001 : 02 - C:\inetpub\wwwroot\onTap\_components\_application along with the rest of the cf debugging information. It's like it doesn't realize the _components/helloworld directory is there...I've tried it in both CFMX and CF7. ----- Excess quoted text cut - see Original Post for more ----- and the documentation just shows this: http:://localhost:8501/ontap/docs onTap Framework No content found for this page. View the Framework Documentation -------------------------------------------------------------------------------- onTap Debugging Information onTap Framework Version 2.0 beta Build Number 20050914 9/14/05 Process Path Array 001 : 02 - C:\inetpub\wwwroot\onTap\_components\_application 002 : 03 - C:\inetpub\wwwroot\onTap\_components\_htmlhead 003 : 01 - C:\inetpub\wwwroot\onTap\_components\filenotfound.cfm ----- Excess quoted text cut - see Original Post for more ----- ----- Excess quoted text cut - see Original Post for more ----- Good suggestion... I suspect it may need a little more thought put toward the use of SSL ... granted, I doubt anybody's going to be using SSL on a dev box where they're using the cf built-in-server port or the like... but if you're using #request.tapi.getURL()# and you specify a url that's explicitly not SSL (http rather than https -- it assumes unless you specify the protocol that the protocol will remain the same as the current request) then you might end up with "http://server:81" ... maybe if we just preclude both port 80 and port 81 that might work... s. isaac dealey 954.522.6080 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.fusiontap.com http://coldfusion.sys-con.com/author/4806Dealey.htm That's the correct behavior at the beginning of that tutorial... You create the web-accessible template, then view the page and it shows the framework's "file not found" page, then you add the process templates and refresh the page and it shows the Hello World content. If you're past step 1 of the tutorial and you're still getting the "No content found for this page" message, then you've probably placed the _components templates in the wrong location. Make sure the spelling is the same in the _components directory as it is in the root directory (check for typos) i.e. these two paths map to each other: /ontap/helloworld/index.cfm /ontap/_components/helloworld/index.cfm I'm able to get this working with the head revision in my testing environment here, so I don't think it's related to the .svn directory problem you were seeing before... ----- Excess quoted text cut - see Original Post for more ----- s. isaac dealey 954.522.6080 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.fusiontap.com http://coldfusion.sys-con.com/author/4806Dealey.htm Okay, got it working. My mod to request.tap.href.root (adding in the port number) didn't jibe well with request.tap.href.self. In essence it was figuring out request.tap.path.exe to be something along the lines of orld/index.cfm. I added request.tap.href.port into the request.tap.href.self assignment and all works well now....even the documentation comes up now. Well, at least I figured out a little more about how the framework works. :) ----- Excess quoted text cut - see Original Post for more ----- -- Marlon "Now watch what you say or they'll be calling you a radical, liberal, fanatical, criminal. " ----- Excess quoted text cut - see Original Post for more ----- :) When you're certain, forward the code and I'll see about slipping the revision into the core build (or some variation if I find it causes another problem in my testing). s. isaac dealey 954.522.6080 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.fusiontap.com http://coldfusion.sys-con.com/author/4806Dealey.htm
|
June 19, 2013
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||