Compile cfm files

Hi,

Looking for a way to pre-compile all my application’s cfm files. I’ve tried
going to Archive & Resources → Mappings, created a virtual to the “/”, I
pointed the resource to my application’s file location and then I went into
the mapping, cleared stop on error and hit the compile button. I looks like
it does something but then i can’t for the life of me find where the
compiled files are. I looked under /webapps/ROOT/WEB-INF/lucee/cfcclasses
but they are not there. I even went to /var/www/WEB-INF/lucee/cfclasses and
they are not there either.

I’m running Lucee 4.5.2.018 final under Linux.

I would appreciate some help on this.

Thanks

Hey, a bit late, but when using the Compile function in Lucee admin all of the class files ended up in my Lucee working directory ‘.\Lucee\lucee-server\context\cfclasses’.

You can also use this function compile.cfm · GitHub which will give you some feedback on the process, just need to pass it a mapping (I haven’t checked to see if it’s the same as the Lucee admin method)

Cheers.

compile Lucee using cfadmin is worked, rename file compile to source, copy it to source folder and run it on browser is work on the top folder but if file on folder not work.It’s seems Lucee compile it again with wrong name like format folder.filename

I have the exact same problem and posted a question on this forum. If you ever find a solution I would be keen to hear it.

Anyone have any thoughts on this? I’d love to hear any other mild CFML obfuscation methods too, if anyone has any good ideas?