The current implementation is a big improvement about the old extension type
First of all, you can install them without user interaction. On one side
this is a limitation on the other side it opens a lot of possibilities.
One idea is also that you can add dependencies in your
application.cfc/server.cfc so that Lucee install this dependency if
necessary on the fly.
So if you have a orm app you have something like this in your
application.cfc.
this.extensions=[{id:“tgj575;fhhb”,version:“1.2.3.4”}];
There are a lot of ideas floating around atm, so I would prefer not to rush
to fast into it.
This will for sure be a topic we raise on the “Lucee tech board”. So best
raise a ticket about it with as many details as possible, so it get not
forget…
Before I forget, Lucee extension are late binding, so you cannot add them
as part of the build process of Lucee, so whatever we do, the extension
will always be physically separated.
That is important also for the license, if we had a early binding with the
core, the extension get infected with lgpl.
MichaAm Dienstag, 21. April 2015 schrieb denstar :
On 4/20/15 6:54 AM, Chris Blackwell wrote:
…
If .lex files in WEB-INF/lucee/deploy get automatically deployed when
the lucee starts, that’s half the battle right there. What about
extending that to find any .lex files on the classpath. That way they
could just be dropped in WEB-INF/lib by maven and they’ll get found.
Not a bad idea. I think the .lex would prevent unintentional loading.
Some deployers are kind of aggressive about zips though.
The alternative is to use maven-dependency-plugin to copy the .lex files
to /WEB-INF/lucee/deploy in the package phase, but that requires a lot
more configuration than just declaring the dependency
We could have the archtype/parent do it, to mitigate the configuration
aspect – we’ve already got a few doing similar stuff – but that’s not
as flexible as the straight dependency.
-Den
–
You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+unsubscribe@googlegroups.com <javascript:;>.
To post to this group, send email to lucee@googlegroups.com <javascript:;>
.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/5535F66B.9080400%40gmail.com.
For more options, visit https://groups.google.com/d/optout.