A lighter Lucee light, Lucee zero (no admin or docs)

Description

Lucee light still bundles lucee docs and lucee admin

which takes longer to deploy and is roughly 10% of the file size (23.4mb)

people also use lucee light as a base to build, but they also deploy them as lamdas (ping )

so do we make a new dist called, zero, cloud, lambda?

this would also make all our lucee extension CI faster, saving the planet

Attachments

2
  • 02 Jul 2023, 10:56 am
  • 14 Jun 2023, 08:40 pm

Activity

Show:

Pothys - MitrahSoft 4 January 2024 at 08:10

I've checked this ticket with Lucee-light and Lucee-zero jar files. Lucee zero is doesn't have an admin and docs bundles. lucee-zero makes Lucee initial startup a lot faster, as there is less to deploy. It works fine.If the source does not exist, it will not throw exceptions. So I closed this ticket.

Michael Offner 9 October 2023 at 10:48

https://github.com/lucee/Lucee/commit/cabbf38d7d8721ba11a918ff34d8da353ccab0c4

improved EL method so it does not throw an exception in case there is no source, but is still throws (and logs) an error in case copy goes wrong.

Zac Spitzer 2 October 2023 at 11:41

Ideally we could make that error conditional on the distribution (i.e only log error if not Lucee zero),

but we don’t have the metadata currently to do that, I guess we could only try to deploy these when the relevant extension is present which created the mapping (lucee-admin or lucee-docs) which would make production deploys faster with light

Michael Offner 2 October 2023 at 08:46

where are we on this?

Zac Spitzer 9 July 2023 at 08:31

needs some additional checks to avoid

2023-07-09 08:13:08.592 lucee.runtime.config.ConfigFactory File [/resource/context/lucee-doc.lar] does not exist. java.io.IOException: File [/resource/context/lucee-doc.lar] does not exist. at lucee.runtime.config.ConfigFactory.createFileFromResource(ConfigFactory.java:970) at lucee.runtime.config.ConfigFactory.createFileFromResourceEL(ConfigFactory.java:988) at lucee.runtime.config.ConfigWebFactory.createContextFiles(ConfigWebFactory.java:1435) at lucee.runtime.config.ConfigWebFactory.newInstanceSingle(ConfigWebFactory.java:339) at lucee.runtime.engine.CFMLEngineImpl.loadJSPFactory(CFMLEngineImpl.java:941)
Fixed

Details

Assignee

Reporter

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Sprint

Fix versions

Priority

Created 14 June 2023 at 20:40
Updated 4 January 2024 at 08:11
Resolved 4 January 2024 at 08:11