Finding errors in a Coldfusion source file at compile time
My application is built using Coldfusion, Flex and MySQL as backend. I am using FlexBuilder 3 for editing/compiling the Flex source(MXML and Actionscript) files. For the Coldfusion(CF) source files(cfm and cfc files), I am using Coldfusion Builder to edit the source files since it is an IDE for Coldfusion so using that I can see the CF syntax highlighted and text which is commented. After, I complete editing the Coldfusion source files in Coldfusion Builder I close them in CF Builder. Then, the application is compiled using the Flex Builder, but I cannot see any syntax errors if they exist in the Coldfusion source files and I learn of the errors at run time that there is a tag nesting error.
After, I edit the Coldfusion source files I close them in CF Builder so that Flexbuilder can compile the project and there is no issue of CF source file being locked due to being open in CF builder.
1. What can I do to ensure I see the CF errors at compile time?
2. Is there a better/another method than what I am doing to work on a project which has Flex/CF source files?
Any advice would be appreciated.
Thanks
While you are 'compiling' your application since it has a FLEX front end that is compiled. This actually does nothing with the ColdFusion files, or at least I can't imagine what it would be doing with those files.
CFML is just-in-time compiled at run time. And I do not believe using it in a Flex builder application would change this.
What I would do in this situation is develop the back-end and front-end separately. Build the CFML, test it with simple test cases run through direct browser requests of the CFML or some test harness CFML that executes your back-end logic and runs it through it paces. Once that is built and tested. Then attach the FLEX front end to it and test that.
Similar Messages
-
Flash builder ,Toggle break point ,get error:Error getting list of source files
In Flash builder ,debug a Web Application, when try to toggle a break point , flash builder prompts:
Error getting list of source files
flash.tools.debugger.InProgressException
at flash.tools.debugger.concrete.DSwfInfo.swdLoaded(DSwfInfo.java:156)
at flash.tools.debugger.concrete.DSwfInfo.getSourceList(DSwfInfo.java:131)
at flash.tools.debugger.threadsafe.ThreadSafeSwfInfo.getSourceList(ThreadSafeSwfInfo.java:78 )
at com.adobe.flexbuilder.debug.breakpoints.FlexLineBreakpoint.findSourceFiles(FlexLineBreakp oint.java:512)
at com.adobe.flexbuilder.debug.breakpoints.FlexLineBreakpoint.instantiate(FlexLineBreakpoint .java:577)
at com.adobe.flexbuilder.debug.model.FlexDebugTarget.instantiateBreakpoint(FlexDebugTarget.j ava:525)
at com.adobe.flexbuilder.debug.model.FlexDebugTarget$1.run(FlexDebugTarget.java:568)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)who can answer this?
-
Getting error "IntelliSense: cannot open source file "Environ.h"
Hi,
I have a VC++ project which adds tool bar to arobat reader. But when i build this project using VS 2010 it's giving a error "IntelliSense: cannot open source file "Environ.h" and some other header files.
Please suggest me to resolve this issue.
Thanks
ShivaHi,
Thanks for yourreply, can you tell me which version or VS it supports.
Thanks
Shiva -
Error with Archiving Faulty Source File in Sender FTP adapter
Hi All,
I have configured a Sender FTP adapter with Processing Mode as Archive.
I am able to read the files from FTP server and archive all the successfuly processed file in the PI aplication server directory XXX/success.
We need all the error files also to be archived on PI application server in directory XXXXX/Fail so I have checked the option Archive faulty Source Files and provided the application directory XXXXX/Fail .
I have unchecked the option Archive Files on FTP server.
But the problem is when FTP adapter is getting any error files it is not able to archive it to application directory XXXXX/Fail .
In RWB it is showing the error
Unable to archive faulty input file /data/abc.txt to /XXXX/fail/abc.txt
Cause: com.sap.aii.adapter.file.ftp.FTPEx: 550 rename: No such file or directory
This directory is existing and works fine when I give this directory name in Archive directory of processing mode.
Sender FTP adapter is trying to archive the file in FTP server which I dont want and giving us this error.
If I give any Directory which is present in FTP server my error files are getting archived on FTP server but not in the archived folder.
I have already unchecked the option Archive Files on FTP server.
Please help......
I am on PI 7.11
Regards
Henery HHi Henery,
Check the below thread, this should help you to fix the issue.
FTP adapter: exc. 550 : No such file or directory
Thanks, -
Recovery Disk Error : cannot read from source file or disk HOW TO FIX ISSUE
I have had my satellite L655-S5096 for some time now.. I had to switch out hard-drives the other day and installed windows 7 home on it from my own disk. I tried to download all the drivers needed, but the graphics and wifi drivers never worked, so I pulled out the old toshiba disks to start from new with this harddrive.. It gets to asking me for the second disc, then the second disc gives me the the "cannot read from source file or disk PREINST8.SWM" This is from the "out of the box" setting, which is recommended. I do not know how to fix this issue besides reinstalling windows 7 from my disc and trying to get the drivers to work again.. however I shouldn't have to since I have the Toshiba recovery disks.. do I need new disks?
Yes, I also had the hard drive drivers and all of that installed.. my toshiba reads the HDD just fine.
~DrewSatellite L655-S5096
Downloads here.
the second disc gives me the the "cannot read from source file or disk PREINST8.SWM"
My best guess is that the disc is not readable. Try copying it to another. Sometimes that works.
Otherwise, order new discs from Toshiba.
-Jerry -
Finding Errors in /var/adm/messages file
Hi,
I am new to UNIX admin, i am going to write a script in such a way that it has to send a mail to root if any errors in /var/adm/messages file.
Can any one please send useful links or sample script file?
Thanks
Rameshhttp://www.sunfreeware.com/indexsparc9.html
look for logsurfer+-1.7-sol9-sparc-local.gz package (there's one for solaris8 and Solaris10, too). Also, you can search on http://www.sun.com/bigadmin/home/index.html
for these types of scripts.
John -
How do I correct this error that occurs when viewing oublic information documents on the Iowa DNR's web site?
Corrected file header
* Modal Dialog Box
* copyright 8th July 2006 by Stephen Chapman
* http://javascript.about.com/
* permission to use this Javascript on your web page is granted
* provided that all of the code in this script (including these
* comments) is used without any alteration
**/ -
Why am I getting this error? Error while decompressing the source file
The file plays fine in Windows Media Player
>plays fine in Windows Media Player
Play -VS- Edit http://forums.adobe.com/thread/1066154 -
Can you help me out in letting me know what this means and how I can fix this? I found it in my tools menu under error console. It was listed as a warning, but then there was a option to highlight and evaluate the original warning message that was listed as
Warning: Expected color but found 'null'. Error in parsing value for 'background-color'. Declaration dropped.
Source File: http://www.msn.com/
When I cut and pasted message in the code evaluate box and pressed enter the warring message became an error then stated:
Error: missing ; before statement
Source File: javascript:%20Warning:%20Expected%20color%20but%20found%20'null'.%20%20Error%20in%20parsing%20value%20for%20'background-color'.%20%20Declaration%20dropped.%20Source%20File:%20http://www.msn.com/%20Line:%200
Line: 1, Column: 10
Source Code:
Warning: Expected color but found 'null'. Error in parsing value for 'background-color'. Declaration dropped. Source File: http://www.msn.com/ Line: 0
I am writing to ask for guidance on what to do and how to fix this.
I current have Firefox as my default browser. I have IE 9 and Windows 7 home ed on my HP lap top that has AOL preloaded into it as the mail provider. I am a beginner user and when I got the computer my cousin set up Mozilla and Firefox as a search browser and I like it.
I also have norton securityI think, the problem is with the order (in configuration file) of path to search headers:
/opt/oracle/product/10g/10.2.0/precomp/admin/pcscfg.cfg
sys_include=(/usr/include,/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0/include)
include
include=(/usr/include)
include=(/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0/include)
In the filesys:
./usr/include/sys:
-r--r--r-- 1 bin bin 17786 Aug 13 2007 types.h
./opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0/include/sys:
-rw-r--r-- 1 root system 18288 Mar 22 2008 types.h
mode_t came from:
#include <sys/types.h>
sys/types.h:
* POSIX Extensions
typedef unsigned int uint_t;
typedef unsigned long ulong_t;
* POSIX and XOPEN Declarations
#if defined(_LP64) || defined(_I32LPx)
typedef uint_t mode_t; /* file attribute type */
#else
typedef ulong_t mode_t; /* (historical version) */
#endif -
Hello All, can anybody help?
The Problem
We are running SharePoint 2013 and document sets that have an excel file and a PowerPoint presentation both in the document set folder and we have mapped this to a unc path
\\SP.companyname.com\@SSL\DavWWWRoot\Documents
Once a link(graph) is added from excel 2010 (Ctrl C) then go into PowerPoint 2010 Paste > paste special > paste link (As Microsoft Excel Chart Object) click ok the graph goes into the PowerPoint presentation.
The graph/Table is added but in Power point 2010. Perfect.
The problem is when we close excel and try and click on the graph(link) we get the following error “The Server application, source file, or item can’t be found, or returned an unknown error. You may need to reinstall the server
application”
If we right click then we get
The Linked file was unavailable and can’t be updated
Has anybody else experienced this issue?
We are running SharePoint 2013 and document sets that have the excel file and PowerPoint in and we have mapped this to a unc path
\\SP.companyname.com\@SSL\DavWWWRoot\Documents
I think that Office 2010 does not link or cannot link to a url which it see the unc path as?? It works in Office 2013 but we have Office 2010 as standard across the firm also I have tried SP1 and SP2 for Office 2010 but still
no joy
Is anybody else experiencing this issue? is there at least a work around?
Many thanks in Advance
JakeHi,
Usually this issue is caused by the Protected Mode in Adobe software, since it's not a Microsoft product, the information I can provide is quite limited. I suggest you contact the support of Adobe first, ask if they can provide any suggestion.
Regards,
Melon Chen
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs. -
i cant run the programme as my c++ is having the error where all the source files cannot be opened. How can i fixed it?
Hi cindy93,
Thanks for posting in MSDN forum.
To understand what happens on your side, Could you show us the complete error message? Does the source file create by yourself or some header files? Please more information.
Have you tried to include the Absolute path to your source file? Something like that.
#include "D:\..\..\source file name"
Best regards,
Shu Hu
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Error while decompressing source file
Why does this come up? last week I could drag items into the queue and choose the format today it gives me the error message. Help if you can I am running CS6
i think we should file a bug report through here with adobe premiere pro cs 5 as program.. anyway this is what i wrote:
******BUG******
Concise problem statement:
Steps to reproduce bug:
1. Open Adobe Media Encoder CS5
2. Add/Import an ".mpg" video file from Sony Camera DSC-W50 (used high quality format setting in camera) to Adobe Media Encoder CS5
3. Click open in the explorer window that appears to select video
Results: "Error while decompressing the source file"
Expected results: Open the file and start qeue to process -
How to enable the Archive faulty source file in File adapter
Dear XI expert,
I want to enable the Archive Faultly source file, when the exchange step detects any error then move the source file to the ERROR folder.
I've already applied patch XI ADAPTER FRAMEWORK CORE 7.00 SP10 but haven't seen anythings about this function.
Best regards,
KobsakHi,
Check out this link for info on how to archive the file.
http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
Regards,
Vikram -
Problem compiling source file in package
Hi, I have 5 source files which I have just packaged together and put in the same sub-directory, the problem is that when I try to compile the file with the main method I get the error message:"cannot read" then the name of the source file. I am compiling from the command line and setting the classpath as I compile with the statement:
c:\j2sdk1.4.1\bin>javac -classpath c:\directory\package directory source file.java
I'm not sure what I am doing wrong and the source files all compiled fine before I added the package statement to the files. Please any help would really be appreciated.It sounds like the java file your are trying to compile is not in the directory you are compiling from.
Is this basically what you are doing?:
Say the package name is mypackage.
Assume we are O.K. with keeping source and class files together.
Create a directory named 'mypackage' somewhere...C:\mypackage\.
Put all the .java files in it (these .java files indicate that they are a member of the 'mypackage' package).
At a command prompt, cd to the directory containing the 'mypackage' directory...'cd C:\'
Compile the source files: C:\j2sdk1.4.1\bin\javac mypackage\*.java
run the main class: C:\j2sdk1.4.1\bin\java mypackage.TheMainClass
Basically, this says keep the files where you want them and point to javac, instead of moving everything under java/bin. btw it will save a lot of typing if you add java/bin to your PATH.
Hope this helps. -
Do we have to separate java source files and class files after compiled..
Hi,
I really confussed with this:
I have compiled java source files into a package and tried to use but the classes can not be found. Should I separate class and source files after compiled with packages names. I hope you understand what i mean.
Thank you
So JagYou can choose to separate the source files or not. It sounds like your problem has to do with Classpath and packages.
If the file c:\base\compute\engine\mysourcefile.java starts with the statement "package engine;" then the fully qualified name of the class is is engine.mysourcefile. If the file c:\base\compute\client\mysourcefile.java starts with the statement "package client;" then its fully qualified name is client.mysourcefile.
In your source files, whenever you refer to a class from another class, the compiler needs the fully qualified class name. You can either import the class or use the fully qualified name. In order for the compiler to find the class, the c:\base\compute directory must be in the Classpath (assuming the package definitions from above).
Finally, to launch an application given the above, the command would be "java client.mysourcefile" assuming the main method is in client.mysourcefile.
Maybe you are looking for
-
Sort in Report not working correctly
I have a report with many sorts selected as an option within the reports attributes. However, some of the columns does not seem to be sorting at all when Selected (Others do as expected) For example one column is a VARCHAR2 examples of values within
-
Office document workflow.
Dear all, The requirement is when an office document is created , workflow should trigger and the workitem should go to the approver who may edit and approve or reject. Is there any standard transaction for office document creat
-
Having issues with face time and messages to connect with people overseas
I seem to have issues with contacting two people who live overseas. I was recently visiting that country and while there had no problems contacting them. Also while en route in /Seoul airport was still able to contact them but when arriving back in -
-
Where to download eclipse plugin for weblogic extension network gatekeeper ?
Hi, As mentioned in the below link Using the Eclipse Plug-in for Extension Toolkit I need to create wlng projects. Could you please tell me where can I download the weblogic network gatekeeper eclipse plugin? Thanks, Siva prakash.
-
I have the season pass to Doctor Who season 7 part 2 and just downloaded Hide, but the audio is VERY messed up. How can this be fixed?