Skip to content

Commit

Permalink
Don't create server directory for embedded Tomcat
Browse files Browse the repository at this point in the history
  • Loading branch information
labkey-tchad committed Jan 24, 2024
1 parent 8916959 commit 4c2af94
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions server/embedded/src/org/labkey/embedded/LabKeyServer.java
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,10 @@ protected TomcatWebServer getTomcatWebServer(Tomcat tomcat)
{
if (!webAppLocationPresent)
{
final var currentPath = new File("").getAbsolutePath();
var destDirectory = currentPath + "/server";
final var destDirectory = new File("").getAbsolutePath();
webAppLocation = destDirectory + "/labkeywebapp";
boolean extracted = new File(webAppLocation).exists();
String jarFilePath = getExecutableJar(currentPath);
String jarFilePath = getExecutableJar(destDirectory);

if (!extracted)
{
Expand Down

0 comments on commit 4c2af94

Please sign in to comment.