View packaging still in progress

This commit is contained in:
Claude Brisson
2023-06-12 06:42:38 +02:00
parent a8d4649404
commit 3ff885a7c1
9 changed files with 53 additions and 20 deletions

View File

@@ -73,6 +73,16 @@
</classpathDependencyExcludes>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>${jetty.version}</version>
<configuration>
<webApp>
<contextPath>/api/</contextPath>
</webApp>
</configuration>
</plugin>
</plugins>
</build>
<dependencyManagement>

View File

@@ -51,7 +51,7 @@ class WebappManager : ServletContextListener, ServletContextAttributeListener, H
/* ServletContextListener interface */
override fun contextInitialized(sce: ServletContextEvent) {
context = sce.servletContext
logger.info("---------- Starting Web Application ----------")
logger.info("---------- Starting Pairgoth Server ----------")
context.setAttribute("manager", this)
webappRoot = context.getRealPath("/")
try {