On 3/12/15 3:46 AM, Chris Blackwell wrote:
> Hi Den,
>
> I think separating the lucee-context and lucee-inst (not required in
> 5.0?) would be a fine idea. If the intention is to move the admin to an
> extension then having a separate artifact might be useful.
Good point! It would also make the core build faster, as right now it
has to assemble a temporary war, start it, and then call the lucee
archive generation script to create the lucee-context.lar file.
> I'm not sure how those version numbers should roll, if they change
> infrequently then theres no point keeping them in lockstep with lucee core.
Using the same version number as "core" would actually be confusing,
we'd want to start at 1.0.0, and go from there (using semver). They
would just be dependencies for core, same as the other dependencies, so
we'd build say lucee-admin 1.0.1, and then bump the dependency number in
core to "1.0.1", for example.
> Are these changes in bitbucket yet ?
Yep, they're in there, but in a different repo for now as there's still
some flux, and keep in mind that I'm blowing the history away regularly
(push --all --force), to keep them in sync with the blessed repo.
https://bitbucket.org/valliant/lucee-small
Something like "./lucee-releng core" should build the core artifacts, or
"./lucee-releng war" to build a war, etc.. I'm thinking about renaming
the "lucee-releng" to "run-build" or maybe just "releng", which is short
for "release engineering", but run-build is probably the most obvious.
There are also some options like passing "java.home=/path/to/jre" to set
the java used to compile, which might be handy to know about. :)
I'll add a build/README.md or BUILDING.md file, and mirror the content
to here:
https://bitbucket.org/lucee/lucee/wiki/Build_from_source to
help us discuss what makes the most sense given what's available.
It should be noted that these scripts are designed to be runnable on
every supported OS-- the idea is that at some point we'll have a
dedicated build server with VMs of the various operating systems, all
running CI.
And even setting up CI is scripted -- there are no "pets" here, we're
pure beef -- which helps a lot for "cloud" stuff, and provisioning in
general. (I freaking love automation. Side note: My brother is getting
me into building robots, so look out world! We be get'n physical now. =])
-Den