JDT to the rescue! It's not included with CF, but it works. I posted a
example
on... lemme see... http://groups.yahoo.com/group/java_coldfusion_hacks/
Dan Plesse has put up a ton of stuff that relates as well. Good guy. He's
the dude who asked me about the speech stuff - full of good ideas!
Looks good but is there a way of translating the .cfm to .java first?
Have you tried invoking coldfusion.tools.Compiler directly? That's
essentially all the cfcompile.bat file does. As someone mentioned, you won't
be able to do this from the file that you want to compile, but if you simply
want
Thanks for your input Steve. We are struggling with this because of the number
of processes that are not closed properly.
What I am trying to acheive is effectively the command '%JAVACMD% -cp
%J2EEJAR%;%WEBINF%\lib\cfmx_bootstrap.jar;%WEBINF%\lib\cfx.jar
put up a ton of stuff that relates as well. Good guy. He's
the dude who asked me about the speech stuff - full of good ideas!
:DeN
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 06, 2006 10:22 AM
To: CF-Talk
Subject: RE: cfcompile alternative
Does
Hi,
Does anyone have an alternative solution to calling cfcompile via a cfexecute
tag (i.e. by calling the compiler as an object)?
Our dynamic pages are compiled using this method and then deployed across
several servers. The problem we have is that the cfexecute tasks do not always
close so
Does anyone have an alternative solution to calling cfcompile
via a cfexecute tag (i.e. by calling the compiler as an object)?
Our dynamic pages are compiled using this method and then
deployed across several servers. The problem we have is that
the cfexecute tasks do not always close so
Subject: RE: cfcompile alternative
Does anyone have an alternative solution to calling cfcompile via a
cfexecute tag (i.e. by calling the compiler as an object)?
Since CFCOMPILE is a batch file, that launches a Java program, I suspect
that with a little fiddling you could do that directly from
Addendum - What these do is convert the CFML into Java code - the
equivalent of *JAVA* files.
-Original Message-
From: Steve Brownlee [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 06, 2006 3:43 PM
To: CF-Talk
Subject: RE: cfcompile alternative
I looked into this idea a while ago, Mike
8 matches
Mail list logo