This is an automated email from the ASF dual-hosted git repository. dklco pushed a commit to branch graphql-support in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-app-cms.git
commit 8b2bc5f2307bb05db6aff6886bf391103a9d96f5 Author: Dan Klco <[email protected]> AuthorDate: Sat Dec 5 21:48:12 2020 -0500 Removing references to the version properties file --- .../src/main/java/org/apache/sling/cms/feature/Main.java | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/feature/src/main/java/org/apache/sling/cms/feature/Main.java b/feature/src/main/java/org/apache/sling/cms/feature/Main.java index 3a90f4e..a4462c0 100644 --- a/feature/src/main/java/org/apache/sling/cms/feature/Main.java +++ b/feature/src/main/java/org/apache/sling/cms/feature/Main.java @@ -16,26 +16,15 @@ */ package org.apache.sling.cms.feature; -import java.io.InputStream; import java.io.IOException; import java.net.URL; import java.util.Arrays; import java.util.ArrayList; import java.util.List; -import java.util.Properties; public class Main { public static void main(String[] args) throws IOException { - System.out.println("Bootstraping Sling CMS Feature Model"); - URL propertiesUrl = Main.class.getClassLoader().getResource("slingcms.properties"); - Properties properties = new Properties(); - try(InputStream is = propertiesUrl.openStream()){ - properties.load(is); - } - - - String version = properties.getProperty("version"); - System.out.println("Version "+version); + System.out.println("Bootstrapping Sling CMS Feature Model"); URL farUrl = Main.class.getClassLoader().getResource("lib/slingcms.far"); List<String> arguments = new ArrayList<>();
