Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -15,6 +15,11 @@ on how to do that, including how to develop and test locally and the versioning

_Note: 1.28.0 and later require Gradle 7_

### 2.6.4
*Released*: 6 May 2024
(Earliest compatible LabKey version: 24.5)
* Put startup properties in correct folder for embedded deployments

### 2.6.3
*Released*: 12 April 2024
(Earliest compatible LabKey version: 24.5)
Expand Down
4 changes: 3 additions & 1 deletion src/main/groovy/org/labkey/gradle/plugin/TeamCity.groovy
Original file line numberDiff line numberDiff line change
Expand Up@@ -146,7 +146,9 @@ class TeamCity extends Tomcat
doLast {
String properties = extension.getTeamCityProperty('labkey.startup.properties')

extension.writeStartupProperties('99_teamcity_startup.properties', properties)
if (!properties.isBlank()) {
extension.writeStartupProperties('99_teamcity_startup.properties', properties)
}
}
}

Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -118,7 +118,7 @@ class TeamCityExtension
File startupPropertiesDir() {
File startupDir
if (BuildUtils.useEmbeddedTomcat(project)) {
startupDir = new File(new File(ServerDeployExtension.getEmbeddedServerDeployDirectory(project)), 'server/startup')
startupDir = new File(new File(ServerDeployExtension.getEmbeddedServerDeployDirectory(project)), 'startup')
} else {
startupDir = new File(new File(ServerDeployExtension.getServerDeployDirectory(project)), 'startup')
}
Expand Down