How to correctly create a ColdFusion Builder project? - coldfusionbuilder

I am trying to run ColdFusion existing project in my local system, I am getting the error message below. Am I missing anything?
Selected file is not in the document root of the server. If the
project is not in the document root, create a linked folder to the
document root (selecting Project Properties > ColdFusion Project)

Try to do it:
https://forums.adobe.com/thread/896469?tstart=0
The bottom line: In CFBuilder, go to the Servers view and right click on the local server running you are running against. When the initial screen comes up, check to make sure all of that is correct, then click NEXT. On the next view ("Local Server Settings") there is a path for the Document Root. Make sure that's correct and click Finish.
The background: I had to relocate my Apache server to a new directory with a different name. Even though I changed all of the associations in the Projects and the Workspace and the httpd.conf file for Apache, the localhost settings in CF Builder were still pointing to the old Document Root. Once I corrected that, everything worked like a champ.

Related

JDeveloper stuck on Generating the business service

I am using JDeveloper 12.2.1.2 on Windows to develop applications for OSB.
I had previously used the database adapter in another project within the same application. Now when I drag a DB adapter into the composite, the wizard prompts me for all values, then gets stuck on "Generating the business service..." message without actually adding it. The menu works. I can perform other functions.
I tried closing JDeveloper and restarting, then adding again. Stuck at same point.
Found the problem.
I had created a folder named "Database" under "Resources". In the first step of the wizard, I selected this folder as the location to create the business service in.
I then noticed that the files were getting created in "Resources". Apparently, JDeveloper messes up the location and then gets stuck because it can't find the files it creates in the wrong folder.
The solution is to not make any changes to the default folder location.

How to connect NetBeans 8 with Tomcat 8 in Mac OS X?

I found other Questions and Answers dealing with getting the NetBeans IDE to talk to the Apache Tomcat servlet container. But they seem to be out of date or involve extraneous steps. I remember the process as being less complicated on my Mac. But I cannot remember the exact steps.
Indeed, getting Tomcat to talk to NetBeans is fairly simple though not obvious.
Java EE edition of NetBeans
If downloading NetBeans, grab an edition of NetBeans IDE already bundled with Tomcat. You may need to customize the installation to get Tomcat, as described in this Question.
But that version of Tomcat is likely to be out of date. So let‘s look at hooking up a fresh copy of Tomcat with NetBeans IDE.
File Permissions
First be sure your copy of Tomcat can run. The permissions by default usually do not allow execution, at least in my experience on a Mac. So reset the permissions. If you are a Unix whiz, you can do so in the command-line. The rest of us use the BatChmod app.
I turn on all the checkboxes except Clear xattrs.
Verify that Tomcat can run by executing the startup.sh file in Tomcat’s bin folder. Point your web browser to http://localhost:8080/ to see a Tomcat page. Then run shutdown.sh to quit Tomcat.
Tip: You may delete all the files ending in .bat. Those are "batch" files used only on Microsoft Windows. Mac OS X uses the Unix files ending in .sh instead.
Define a Server in NetBeans
In the Services pane, context-click on the Servers item. From the context menu, choose Add server.
Big NetBeans Tip: When in doubt, context-click. While the Mac convention is to provide a main menu item for every item with context-menu being a mere convenience, NetBeans depends heavily on context-menus.
In the dialog that appears, choose Apache Tomcat or TomEE. Type a name to be displayed in NetBeans list of "Servers". I suggest typing "Tomcat" plus the version number.
Click Next for the next panel of this Add Server Instance wizard.
Tomcat Location
Click the Server Location > Browse button, and choose where your Tomcat folder. I keep mine in my "home" folder.
Deployment Location
Turn on the Use Private Configuration Folder checkbox.
We need to choose a folder where we want Tomcat (specifically, Tomcat’s Catalina module) to do its work, keep its temporary files, keep its logs, and place the installed copy of your web app when you run from within NetBeans. You must create this folder. The folder’s location can be anywhere. For its bundled version of Tomcat, NetBeans uses a folder nested in ~/Library/Application Support. But I tend to create a folder in my home folder with a nested folder for each version of Tomcat, ~/Apache-Tomcat-Netbeans/8.0.27/ for example. Unix & Java tend to get cranky about spaces in file paths, so I use hyphens rather than spaces in those folder names.
Click the Cataline Base > Browse button to display a file picker. Use the Create New Folder icon button in the upper right corner to create the folder hierarchy you want to use for your web app’s deployment when run from NetBeans (as discussed in previous paragraph).
Tomcat Manager User
Lastly in that panel, make up a user name and password to be used as a Tomcat "manager" to startup and shutdown Tomcat. Be sure to check the Create user if it does not exist checkbox.
The wizard panel should look something like this screen shot.
Click the Finish button. And voilá, you have a new Tomcat server defined within NetBeans.
The last step is to tell your project to use that server.
In your project’s Properties dialog, set Build > Run > Server (popup menu) to your newly defined server.

Create File Structure

Hello I've got a little problem while trying to create a new Project.
My aim is to get a total folder for sourc files, headers, external dependencies and ressource files auto generated.
Visual Studio does not create this folder for me.
I tried to activate and deactivate the plug in for controlling source code folders but it doesnt help.
At the beginning, when i ve created my first couple of projects it automaticallyy generated this folder. But now I do get nothing but my Project file without a source or a header folder
Thank You for every Help
When you are creating a new project there is a check box right above the OK button that says "Create a directory for this solution". Make sure this box is checked.

Files not uploading via Aptana 3

I'm new to Aptana 3. I recently switched from using an FTP (Filezilla) and text editor just to speed the file editing process up a bit.
I'm dealing mainly with Wordpress sites on a shared Godaddy hosting account, and am having some trouble uploading the files I have edited via Aptana to my live site.
i.e. I've edited several lines in my "main.css" file. I save it in my "Project Explorer" window in Aptana, have my FTP connection all set up and working, and click the "Upload" icon. I refresh my browser and nothing has changed, and I can see the website is still pulling in the old css. I've also tried "synchronizing" my files and hitting the "Publish" button, but that doesn't work either?
I've also tried just editing the file in a new Remote Connection tab, but no joy either.
I've hunted all over for simple walkthrough for deployment or file sync guides for Aptana, and watched a few video tutorials but nothing has worked so far.
Hold Control+F5 for a few seconds in your browser. You probably are just running a cached version of the CSS in your browser. That should prune it.
I had the same problem. What I found I had to do was an initial synchronization, I know you mention that you did this but it may be that it didn't fully sync as its not always clear what is going on with the Aptana sync.
What I did:
Make sure your Project has a connection in it and that it points to the server location that you want to sync with
Select the Remote tab and right-click on a file within the chosen connection, choose File Transfer...
This will open the sync window and it will initiate a compare, this is where confusion set in for me, if the folder structure is not identical it will propose to create and delete lots of files. I found I was deselecting items to be safe but meant that it did not correctly sync. Make sure you are syncing from the same root level and then let it do a full sync, this seems to register or record a link between the local and remote files.
Run the sync. when it is complete you will now be able to upload individual files successfully from the Project tab using the upload icon (before a successful sync this will not work - even though it looks like it is doing an upload).
Hope this helps.

How can you change the default deployment properties?

Our BizTalk Server got renamed, but when we create a new project it still keeps defaulting to the previous server. I have been looking but I can't find anywhere to set these default values and update it.
edit:
Since it might be more clear if I add an image, I did.
Basically now when a new project is created the Server in the below screen is BizTalkDev_1. Can we change this to always be localhost when we create a new project? A hidden ini file somewhere?
When you go to visual studio project. Right click the project ...go to the property...and in the deployment part you can change the server name ...

Resources