Skip to content

Commit c7e5375

Browse files
committed
more boxlang compats
1 parent 2cdb4a6 commit c7e5375

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

server-boxlang@1.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,8 @@
2525
"file":".cfconfig.json"
2626
},
2727
"env":{
28-
}
28+
},
29+
"scripts" : {
30+
"onServerInitialInstall":"install bx-mail,bx-mysql,bx-derby,bx-compat"
31+
}
2932
}

tests/resources/BaseIntegrationTest.cfc

+7-2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ component
2424
// Never unload until the request dies
2525
this.unloadColdBox = false;
2626

27+
2728
/*********************************** LIFE CYCLE Methods ***********************************/
2829

2930
function beforeAll(){
@@ -65,19 +66,23 @@ component
6566
}
6667

6768
function isAdobe(){
68-
return !server.keyExists( "lucee" );
69+
return server.keyExists( "coldfusion" ) && server.coldfusion.productName.findNoCase( "ColdFusion" );
6970
}
7071

7172
function isLucee(){
7273
return server.keyExists( "lucee" );
7374
}
7475

76+
function isBoxLang(){
77+
return server.keyExists( "boxlang" );
78+
}
79+
7580
function isLucee6(){
7681
return server.keyExists( "lucee" ) && left( server.lucee.version, 1 ) == 6;
7782
}
7883

7984
function noWSDLSupport(){
80-
return isAdobe() || isLucee6();
85+
return isAdobe() || isLucee6() || isBoxLang();
8186
}
8287

8388
function shutdownColdBox(){

0 commit comments

Comments
 (0)