You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2017/12/13 14:05:14 UTC

[isis] 02/03: ISIS-1782: now reads only from "isis.headless.module" as an override, and sets "isis.headless" system property only

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

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

commit a146a2a95761e3b46c4f4cd3af4401a124fde953
Author: Dan Haywood <da...@haywood-associates.co.uk>
AuthorDate: Wed Dec 13 12:38:11 2017 +0000

    ISIS-1782: now reads only from "isis.headless.module" as an override, and sets "isis.headless" system property only
    
    no longer isis.integTest.module nor isis.integTest system properties
---
 .../core/runtime/headless/HeadlessWithBootstrappingAbstract.java    | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/core/runtime/src/main/java/org/apache/isis/core/runtime/headless/HeadlessWithBootstrappingAbstract.java b/core/runtime/src/main/java/org/apache/isis/core/runtime/headless/HeadlessWithBootstrappingAbstract.java
index 25ea0ab..1f646e3 100644
--- a/core/runtime/src/main/java/org/apache/isis/core/runtime/headless/HeadlessWithBootstrappingAbstract.java
+++ b/core/runtime/src/main/java/org/apache/isis/core/runtime/headless/HeadlessWithBootstrappingAbstract.java
@@ -76,10 +76,7 @@ public abstract class HeadlessWithBootstrappingAbstract extends HeadlessAbstract
             setupLogging.set(true);
         }
 
-        String moduleFqcn = System.getProperty("isis.headless.module");
-        if(moduleFqcn == null) {
-            moduleFqcn = System.getProperty("isis.integTest.module"); // to deprecate
-        }
+        final String moduleFqcn = System.getProperty("isis.headless.module");
 
         final Module moduleToUse =
                 !Strings.isNullOrEmpty(moduleFqcn)
@@ -95,7 +92,6 @@ public abstract class HeadlessWithBootstrappingAbstract extends HeadlessAbstract
     protected void bootstrapAndSetupIfRequired() {
 
         System.setProperty("isis.headless", "true");
-        System.setProperty("isis.integTest", "true"); // to deprecate
 
         isisSystemBootstrapper.bootstrapIfRequired();
         isisSystemBootstrapper.injectServicesInto(this);

-- 
To stop receiving notification emails like this one, please contact
"commits@isis.apache.org" <co...@isis.apache.org>.