All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.chronon.apminstall.Main Maven / Gradle / Ivy

package com.chronon.apminstall;

import com.chronon.apminstall.installer.Installer;

import java.io.File;

public class Main
{
    public static void main(String[] args) throws Exception
    {
        CmdLine.CmdLineData data = new CmdLine().parseCmdLineArgs(args);


        File appSvrDir;
        if (!data.appServer.isEmpty())
        {
            appSvrDir = new File(data.appServer);
        } else
        {
            appSvrDir = JarFileProperties.getJarLocation().getParentFile().getParentFile();
        }

        Installer.install(appSvrDir, data.license, data.name);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy