Welcome Guest!
 cfeclipse
 Previous Message All Messages Next Message 
CFCompile  Robert Blackburn
 Nov 30, 2006 17:20 PST 

Hi Everyone,
I had an idea last night I wanted to run by everyone to see if y'all
thought it might be worth trying.

One of the advantages of plug-ins like Flex or the standard Java
editor is that they can compile the code and report any compiler
failures. CFML is obviously different because it is compiled by the
server on the fly.

But CF server does come with the cfcompile.bat file - which can be
used to compile a file. Someone has probably already thought of this,
but it would be handy if you could (optionally) configure CFEclipse to
point to the cfcompile location ('C:\CFusionMX7\bin' by default in the
developer edition). Then anytime a CF file is saved CFEclipse runs it
through the compiler, and reports any errors.

For example if I misspelled an attribute I get this error:
coldfusion.tagext.validation.IllegalAttributeValueException: Attribute
validation error for tag CFFUNCTION.

Unfortunately this is not very verbose and does not indicate which
line in the file the error happened on. This would of course just be
in addition too the error detection that is already available in
CFEclipse, but I think it would be a nice addition.

If y'all think this would be a good addition I don't mind trying to
put it together and contributing it.

--
Rob Blackburn
http://www.rbdev.net
	
 Previous Message All Messages Next Message 
  Check It Out!

  Topica Channels
 Best of Topica
 Art & Design
 Books, Movies & TV
 Developers
 Food & Drink
 Health & Fitness
 Internet
 Music
 News & Information
 Personal Finance
 Personal Technology
 Small Business
 Software
 Sports
 Travel & Leisure
 Women & Family

  Start Your Own List!
Email lists are great for debating issues or publishing your views.
Start a List Today!

© 2001 Topica Inc. TFMB
Concerned about privacy? Topica is TrustE certified.
See our Privacy Policy.