Package restx

Examples of restx.AppSettings.targetClasses()


        public void run(RestxShell shell) throws Exception {
            AppSettings appSettings = shell.getFactory()
                    .getComponent(AppSettings.class);
            compileMode.compile(
                    shell,
                    Paths.get(appSettings.targetClasses()),
                    Paths.get(appSettings.targetDependency()),
                    Paths.get(appSettings.mainSources()),
                    Paths.get(appSettings.mainResources()),
                    null);
        }
View Full Code Here


            }



            String command = "java" +
                    " -cp \"" + appSettings.targetClasses() + ":" + appSettings.targetDependency() + "/*\"" +
                    " -Drestx.app.package=" + pack.get() +
                    " -Drestx.mode=prod"
                    ;

            File startSh = shell.currentLocation().resolve("start.sh").toFile();
View Full Code Here

        @Override
        public void run(RestxShell shell) throws Exception {
            AppSettings appSettings = shell.getFactory().getComponent(AppSettings.class);
            new RestxArchive(jarFile).pack(
                    shell.currentLocation(),
                    shell.currentLocation().resolve(appSettings.targetClasses()),
                    Arrays.asList("target", "tmp", "logs")
            );
        }
    }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.