Welcome Guest!
 cfeclipse
 Previous Message All Messages Next Message 
Re: CFCompile  Mark Drew
 Dec 01, 2006 00:03 PST 

Robert,
I had a bit of a look at this, and I think we could add something
like this in an ant file and builder to see what we get back.

On OS X (the system I use) I dont have a compile.bat so it would be
good to look into this initially as an ANT builder that runs in the
background and then we can see if it is of use. I wished there was a
better way to remote compile without running the actual file.

Let me know how you get on

MD

On 1 Dec 2006, at 01:19, Robert Blackburn wrote:

 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.