Skip to content

Commit

Permalink
update tomcat to 10 for Lucee 6.2 and above
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeloffner committed Aug 12, 2024
1 parent 23d8e2a commit 06e0c79
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion apps/updateserver/services/legacy/MavenRepo.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,8 @@ component {

// unpack the servers
if(!isNull(url.test)) throw temp;
zip action="unzip" file="#getDirectoryFromPath(getCurrenttemplatePath())&("build/servers/tomcat.zip")#" destination="#temp#tomcat";
local.minorVersion=mid(server.lucee.version,1,find(".",server.lucee.version,find(".",minorVersion)+1)-1);
zip action="unzip" file="#getDirectoryFromPath(getCurrenttemplatePath())&("build/servers/tomcat-"&(local.minorVersion >= '6.2'?'jakarta':'javax')&".zip")#" destination="#temp#tomcat";

// let's zip it
zip action="zip" file=zipTmp overwrite=true {
Expand Down
3 changes: 2 additions & 1 deletion apps/updateserver/services/legacy/S3.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,8 @@ component {
//if (!directoryExists(webDir)) directoryCreate(webDir);

// unpack the servers
zip action="unzip" file=#curr&("build/servers/tomcat.zip")# destination=tmpTom;
local.minorVersion=mid(server.lucee.version,1,find(".",server.lucee.version,find(".",minorVersion)+1)-1);
zip action="unzip" file=#curr&("build/servers/tomcat-"&("build/servers/tomcat-"&(local.minorVersion >= '6.2'?'jakarta':'javax')&".zip")# destination=tmpTom;

// let's zip it
zip action="zip" file=zipTmp overwrite=true {
Expand Down
Binary file not shown.
Binary file not shown.

0 comments on commit 06e0c79

Please sign in to comment.