Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

use lucee light? #1

Open
zspitzer opened this issue Oct 19, 2022 · 1 comment
Open

use lucee light? #1

zspitzer opened this issue Oct 19, 2022 · 1 comment

Comments

@zspitzer
Copy link
Contributor

awesome project!

I noticed you have included the fat jar (i.e with all the extensions bundled), i I don't know if you need all the extensions for this to work, if not you could try using lucee light?

@softwareCobbler
Copy link
Owner

softwareCobbler commented Oct 19, 2022

They are part of the project, but it's a compile-time only dependency, so it's not included in the final output. The resulting jar shouldn't have any references to lucee.jar or etc. It'll just use whatever the runtime ends up having.

The only reason it's a compile time dependency is to support uttering the name PageContextImpl:

// called when we push a cf frame onto debug stack, need to know about frame name
final PageContextImpl pageContextImpl = (PageContextImpl)pageContext;
final Collection.Key key = pageContextImpl.getActiveUDFCalledName();

I think all other lucee types referenced come from the lucee loader package, which also requires a compile time dependency (but maybe not on the entire jar, just the loader jar if that's a thing?)

I've been dogfooding it at work against a copy of lucee light, seems to work ("on my machine", heh...)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants