http://coldfusion.com logo
#box-products
Title
# box-products
b

birdy1980

06/15/2022, 8:59 AM
Say we want to run our own lucee version... what would be a good approach? Could it be done with bitbucket repo where we publish our own lucee.jar? Or do we need to publish a valid engine packege with a box.json and engine.war ?
z

zackster

06/15/2022, 9:07 AM
i think you need to run your own mini forgebox instance, the ortus team will chime in with the exact details https://www.slideshare.net/ortussolutions/itb2019-forgebox-enterprise-private-software-directory-javier-quintero this is how we automatically generate forgebox builds as part of the Lucee CI process https://github.com/Ortus-Lucee/forgebox-cfengine-publisher out of interest, which of the outstanding issues is motivating using your own custom build?
b

birdy1980

06/15/2022, 9:20 AM
out of interest, which of the outstanding issues is motivating using your own custom build?
These aresome of the issues which prevent a transfer of our codebase from adobe cf to lucee cf LDEV-3652 LDEV-2862 LDEV-3406 LDEV-3410
z

zackster

06/15/2022, 9:47 AM
if you are going to do a custom build, how about first filing PRs including test cases? @pothys-mitrahsoft is looking into fixing the test case for https://luceeserver.atlassian.net/browse/LDEV-2862
👍 1
b

birdy1980

06/15/2022, 10:23 AM
I see I need to make a PR against the 6.0 branch. How does it work when we want/need a fix in version 5.3.9 ?
LDEV-2862 already seems to have a test case. Is that correct?
z

zackster

06/15/2022, 10:36 AM
yeah and it's being updated
Keep in mind, regarding the JSON stuff, Lucee does handle/preserve types differently to ACF, I think ACF recently improved their serialization, however, some of these are probably WONTFIX
any breaking changes we decide to implement would only go into 6.0
with the QoQ test cases and in general Lucee/CFML checks if the value can be cast to rather than converting to the specified type, same goes with arguments
b

birdy1980

06/15/2022, 10:48 AM
how can I run just 1 unittest ?
for 5.3 just add a return (path contains 2862) here https://github.com/lucee/Lucee/blob/5.3/ant/run-testcases.xml#L169
b

bdw429s

06/16/2022, 2:41 AM
@birdy1980 you don't need a custom forgebox... Just publish your own package on Forgebox with your own cf engine (the docs cover this). So you'd just start with a custom slug like Server start cfengine=my-custom-lucee@1.2.3
b

birdy1980

06/16/2022, 6:36 AM
Thanks @bdw429s I'll look into it 🙂
b

bdw429s

06/16/2022, 3:06 PM
Ok, the package is just the war and box.json in a zip file
3 Views