You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2019/11/07 11:46:18 UTC

[isis] branch v2 updated: ISIS-2158: run demo-app in PRODUCTION mode by default

This is an automated email from the ASF dual-hosted git repository.

ahuber pushed a commit to branch v2
in repository https://gitbox.apache.org/repos/asf/isis.git


The following commit(s) were added to refs/heads/v2 by this push:
     new e0faf92  ISIS-2158: run demo-app in PRODUCTION mode by default
e0faf92 is described below

commit e0faf92583a30bbbe2d5181e9ab649262e968686
Author: Andi Huber <ah...@apache.org>
AuthorDate: Thu Nov 7 12:46:09 2019 +0100

    ISIS-2158: run demo-app in PRODUCTION mode by default
---
 examples/apps/demo/src/main/java/domainapp/application/DemoApp.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/examples/apps/demo/src/main/java/domainapp/application/DemoApp.java b/examples/apps/demo/src/main/java/domainapp/application/DemoApp.java
index 8946115..df5c5b6 100644
--- a/examples/apps/demo/src/main/java/domainapp/application/DemoApp.java
+++ b/examples/apps/demo/src/main/java/domainapp/application/DemoApp.java
@@ -18,7 +18,6 @@
  */
 package domainapp.application;
 
-import org.apache.isis.config.IsisPresets;
 import org.springframework.boot.SpringApplication;
 import org.springframework.boot.autoconfigure.SpringBootApplication;
 import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
@@ -40,7 +39,7 @@ public class DemoApp extends SpringBootServletInitializer {
      * entry point by searching for classes having a {@code main(...)}
      */
     public static void main(String[] args) {
-        IsisPresets.prototyping();
+        //IsisPresets.prototyping();
         //Presets.logging(IsisBeanScanInterceptorForSpring.class, "DEBUG");
         //Presets.logging(IsisBeanTypeRegistry.class, "DEBUG");
         SpringApplication.run(new Class[] { DemoApp.class }, args);