What is the best server to use with CFeclipse? Each time I try to run my program it states no server found... How may I go about resolving this issue? Please do not be vague.
Thanks
Coldfusion + server issue
Page 1 of 13 Replies - 615 Views - Last Post: 27 June 2011 - 01:07 PM
Topic Sponsor:
Replies To: Coldfusion + server issue
#2
Re: Coldfusion + server issue
Posted 27 June 2011 - 12:22 PM
Nevermind guys/ladies i fixed it.
#3
Re: Coldfusion + server issue
Posted 27 June 2011 - 12:37 PM
SirSaula,
We try our best here at DiC not to be vague. The "Server" feature of CFEclipse is actually a feature of Eclipse and not designed for ColdFusion. If you are using a framework that gives you custom URLs then it is a bit difficult to setup a preview url for your site. What I mean is a framework like FW/1 or ModelGlue where the URLs are something like http://domain.com/in...}.${view-file}. If you aren't using a framework and all pages are at static urls (like http://domain.com/${...y}/${view-file}, then that is easy, just right click on your project, hover over "CFEclipse" and select "Edit URL".
Now let me go into more detail in how to setup a framework URL like I talked about above. I will use FW/1 as an example. When you create a site on FW/1 the directory architecture will resemble the following:
* index.cfm
* Application.cfc
* org/
* * corfield/
* * * framework.cfc
* views/
* * main/
* * * default.cfm
* services/
* layouts/
* controllers/
It is a pretty standard MVC architecture. Now to get the main/default.cfm view in the views directory I would go to http://localhost:808...n=main.default. In order to do that I would do the following in CFEclipse:
Set the root URL to http://localhost:8080/
Change the URL for the view directory to be the following:
Before you hound me down if I am wrong I will say that I have not tested to see if this works 100%. You can read more about a similar question on the Google Group for CFEclipse
We try our best here at DiC not to be vague. The "Server" feature of CFEclipse is actually a feature of Eclipse and not designed for ColdFusion. If you are using a framework that gives you custom URLs then it is a bit difficult to setup a preview url for your site. What I mean is a framework like FW/1 or ModelGlue where the URLs are something like http://domain.com/in...}.${view-file}. If you aren't using a framework and all pages are at static urls (like http://domain.com/${...y}/${view-file}, then that is easy, just right click on your project, hover over "CFEclipse" and select "Edit URL".
Now let me go into more detail in how to setup a framework URL like I talked about above. I will use FW/1 as an example. When you create a site on FW/1 the directory architecture will resemble the following:
* index.cfm
* Application.cfc
* org/
* * corfield/
* * * framework.cfc
* views/
* * main/
* * * default.cfm
* services/
* layouts/
* controllers/
It is a pretty standard MVC architecture. Now to get the main/default.cfm view in the views directory I would go to http://localhost:808...n=main.default. In order to do that I would do the following in CFEclipse:
Set the root URL to http://localhost:8080/
Change the URL for the view directory to be the following:
http://localhost:8080/index.cfm?action=$${CURRENTFOLDER}.$${CURRENTFILENOEXT}
Before you hound me down if I am wrong I will say that I have not tested to see if this works 100%. You can read more about a similar question on the Google Group for CFEclipse
#4
Re: Coldfusion + server issue
Posted 27 June 2011 - 01:07 PM
SirSaula, no offense but I had a look at your previous posts in other forums and your instruction to not be vague in replying to you is not only mildly insulting but downright ironic.
I'm glad you managed to find a solution to your problem. I'm happy to see xheartonfire43x's post as that's new to me. However, in the future, consider that you're asking other users to take time out of their day to consider your problem and perhaps provide some guidance to help you resolve it. DIC is not a "gimme t3h cod3z" service nor are we paid to participate here any more than you are. It's a public service some of us do.
Try and keep that in mind when asking your own vague questions followed by demands for explicitness in our responses.
I'm glad you managed to find a solution to your problem. I'm happy to see xheartonfire43x's post as that's new to me. However, in the future, consider that you're asking other users to take time out of their day to consider your problem and perhaps provide some guidance to help you resolve it. DIC is not a "gimme t3h cod3z" service nor are we paid to participate here any more than you are. It's a public service some of us do.
Try and keep that in mind when asking your own vague questions followed by demands for explicitness in our responses.
This post has been edited by Craig328: 27 June 2011 - 01:07 PM
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote





|