.svn directories

View: New views
9 Messages — Rating Filter:   Alert me  

.svn directories

by Marlon Moyer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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. "

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Purchase RoboHelp from House of Fusion, a Macromedia Authorized Affiliate and support the CF community.
http://www.houseoffusion.com/banners/view.cfm?bannerid=59

Message: http://www.houseoffusion.com/lists.cfm/link=i:42:1838
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/42
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:42
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.42
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Parent Message unknown Re: .svn directories

by S. Isaac Dealey :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.

> 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.pathdelimit
> er##cfmod#"></cfloop>
> 34 :
> 35 : </cfif>


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


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:42:1839
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/42
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:42
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.42
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Re: .svn directories

by Marlon Moyer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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"),"/$","")>


On 9/14/05, S. Isaac Dealey <info@...> wrote:

> 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.
>
> > 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.pathdelimit
> > er##cfmod#"></cfloop>
> > 34 :
> > 35 : </cfif>
>
>
> 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
>
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:42:1841
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/42
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:42
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.42
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Parent Message unknown Re: .svn directories

by S. Isaac Dealey :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> 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.p
> ort#/#request.tap.path.domain_relative#","/+","/","ALL"),"
> /$","")>


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




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Purchase Dreamweaver with Homesite Plus from House of Fusion, a Macromedia Authorized Affiliate and support the CF community.
http://www.houseoffusion.com/banners/view.cfm?bannerid=54

Message: http://www.houseoffusion.com/lists.cfm/link=i:42:1843
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/42
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:42
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.42
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Re: .svn directories

by Marlon Moyer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.


On 9/15/05, Marlon Moyer <marlon.moyer@...> wrote:

> 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"),"/$","")>
>
>
> On 9/14/05, S. Isaac Dealey <info@...> wrote:
> > 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.
> >
> > > 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.pathdelimit
> > > er##cfmod#"></cfloop>
> > > 34 :
> > > 35 : </cfif>
> >
> >
> > 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
> >
> >
> >

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:42:1844
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/42
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:42
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.42
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Re: .svn directories

by Marlon Moyer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

On 9/15/05, Marlon Moyer <marlon.moyer@...> wrote:

> 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.
>
>
> On 9/15/05, Marlon Moyer <marlon.moyer@...> wrote:
> > 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"),"/$","")>
> >
> >
> > On 9/14/05, S. Isaac Dealey <info@...> wrote:
> > > 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.
> > >
> > > > 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.pathdelimit
> > > > er##cfmod#"></cfloop>
> > > > 34 :
> > > > 35 : </cfif>
> > >
> > >
> > > 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
> > >
> > >
> > >

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:42:1845
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/42
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:42
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.42
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Parent Message unknown Re: .svn directories

by S. Isaac Dealey :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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...

> 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

> On 9/15/05, Marlon Moyer <marlon.moyer@...> wrote:
>> 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.
>>
>>
>> On 9/15/05, Marlon Moyer <marlon.moyer@...> wrote:
>> > 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.hre
>> > f.port#/#request.tap.path.domain_relative#","/+","/","A
>> > LL"),"/$","")>


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


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:42:1846
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/42
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:42
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.42
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Re: .svn directories

by Marlon Moyer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 9/15/05, S. Isaac Dealey <info@...> wrote:
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. :)



> 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
>


--
Marlon

"Now watch what you say or they'll be calling you a radical,
liberal, fanatical, criminal. "

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:42:1847
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/42
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:42
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.42
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Parent Message unknown Re: .svn directories

by S. Isaac Dealey :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> On 9/15/05, S. Isaac Dealey <info@...> wrote:
> 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. :)

:)

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




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:42:1852
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/42
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:42
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.42
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54