Skip to content

Commit

Permalink
LDEV-4468 fix windows service controls / start groups
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed May 31, 2023
1 parent c94144c commit da57a8e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
23 changes: 14 additions & 9 deletions lucee/lucee.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<project>
<shortName>lucee</shortName>
<fullName>Lucee</fullName>
<version>5.3.10.120</version>
<version>6.0.0.416-SNAPSHOT</version>
<licenseFile>license.txt</licenseFile>
<leftImage>lucee-side.png</leftImage>
<logoImage>lucee-logo.png</logoImage>
Expand Down Expand Up @@ -46,7 +46,7 @@
</distributionFileList>
<ruleList>
<fileExists negate="1">
<path>${customLuceejar}</path>
<path>${customLuceejar}</path>
</fileExists>
</ruleList>
</folder>
Expand Down Expand Up @@ -133,7 +133,7 @@
<origin>${customLuceejar}</origin>
<ruleList>
<fileExists>
<path>${customLuceejar}</path>
<path>${customLuceejar}</path>
</fileExists>
</ruleList>
</copyFile>
Expand Down Expand Up @@ -748,6 +748,7 @@ Please review ${installer_installation_log}.</text>
<variable>hspw</variable>
<ruleList>
<!-- lucee 6 uses json rather than xml -->

<fileExists>
<path>${installdir}/tomcat/lucee-server/context/lucee-server.xml</path>
</fileExists>
Expand All @@ -760,6 +761,7 @@ Please review ${installer_installation_log}.</text>
<value>${hspw}</value>
<ruleList>
<!-- lucee 6 uses json rather than xml -->

<fileExists>
<path>${installdir}/tomcat/lucee-server/context/lucee-server.xml</path>
</fileExists>
Expand All @@ -774,13 +776,16 @@ Please review ${installer_installation_log}.</text>
</portTest>
</ruleList>
</xmlFileSet>

<!-- lucee 6 uses json rather than xml, install builder doesn't support json, so lets drop a password.txt -->

<writeFile>
<path>${installdir}/tomcat/lucee-server/context/password.txt</path>
<text>${luceepass}</text>
<ruleList>
<fileExists negate="1">
<!-- other approach, check for .CFConfig.json -->

<path>${installdir}/tomcat/lucee-server/context/lucee-server.xml</path>
</fileExists>
</ruleList>
Expand All @@ -795,7 +800,7 @@ Please review ${installer_installation_log}.</text>
<runAsAdmin>0</runAsAdmin>
<runInTerminal>0</runInTerminal>
<windowsExec>${installdir}\tomcat\bin\luceew.exe</windowsExec>
<windowsExecArgs></windowsExecArgs>
<windowsExecArgs>//ES//${servicename}</windowsExecArgs>
<windowsIcon>${installdir}\lucee.ico</windowsIcon>
<windowsPath>${installdir}</windowsPath>
</startMenuShortcut>
Expand Down Expand Up @@ -823,7 +828,7 @@ Please review ${installer_installation_log}.</text>
<runAsAdmin>0</runAsAdmin>
<runInTerminal>0</runInTerminal>
<windowsExec>${installdir}\tomcat\bin\luceew.exe</windowsExec>
<windowsExecArgs>//MS//Lucee</windowsExecArgs>
<windowsExecArgs>//MS//${servicename}</windowsExecArgs>
<windowsIcon>${installdir}\lucee.ico</windowsIcon>
<windowsPath>${installdir}</windowsPath>
</startMenuShortcut>
Expand Down Expand Up @@ -1055,7 +1060,7 @@ Please review ${installer_installation_log}.</text>
</platformTest>
</ruleList>
</setInstallerVariable>
<setInstallerVariable>
<setInstallerVariable>
<name>servicename</name>
<value>lucee</value>
<ruleList>
Expand Down Expand Up @@ -1258,7 +1263,7 @@ Please review ${installer_installation_log}.</text>
<saveRelativePaths>1</saveRelativePaths>
<singleInstanceCheck>1</singleInstanceCheck>
<slideShowTiming>20</slideShowTiming>
<startMenuGroupName>Lucee</startMenuGroupName>
<startMenuGroupName>Lucee - ${servicename}</startMenuGroupName>
<uninstallationLogFile>${system_temp_directory}/${project.shortName}-uninstall.log</uninstallationLogFile>
<vendor>Lucee Association Switzerland</vendor>
<windows64bitMode>1</windows64bitMode>
Expand Down Expand Up @@ -1673,8 +1678,8 @@ While upgrading previous installations of Lucee by reinstalling might work in so
<value>${installiis}</value>
</isTrue>
</ruleList>
</booleanParameter>
<fileParameter>
</booleanParameter>
<fileParameter>
<name>customLuceejar</name>
<title>${msg(params.customLuceeVersionTitle)}</title>
<description>${msg(params.customLuceeVersionDesc)}</description>
Expand Down
3 changes: 1 addition & 2 deletions lucee/tomcat9/tomcat-lucee-conf/webapps/ROOT/index.cfm
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,7 @@
Lucee 6 introduces a number of key changes
<ul>
<li>Server Configuration now uses json rather than xml</li>
<li>A new single mode, rather than having a server and web contexts</li>
<li>and lots more, Zac just needs to felsh this out</li>
<li>A new single mode, rather than having both a server and web context(s)</li>
</ul>
</cfcase>
<cfdefaultcase>
Expand Down

0 comments on commit da57a8e

Please sign in to comment.